@Deprecated public class LegacyLocalTransformClient extends AbstractTransformClient implements TransformClient
AbstractContentTransformer2. The transform and consumption of the
resulting content is linked into a single operation that will take place at some point in the future on the local
machine.nodeService| Constructor and Description |
|---|
LegacyLocalTransformClient()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
|
void |
checkSupported(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
RenditionDefinition2 renditionDefinition,
String sourceMimetype,
long size,
String contentUrl)
Deprecated.
Checks the transformation required for the rendition is supported.
|
void |
setContentService(ContentService contentService)
Deprecated.
|
void |
setConverter(TransformationOptionsConverter converter)
Deprecated.
|
void |
setExecutorService(ExecutorService executorService)
Deprecated.
|
void |
setRenditionService2(RenditionService2Impl renditionService2)
Deprecated.
|
void |
setTransactionService(TransactionService transactionService)
Deprecated.
|
void |
transform(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
RenditionDefinition2 renditionDefinition,
String user,
int sourceContentUrlHashCode)
Deprecated.
Requests an asynchronous transform and the subsequent linkage of that transform as a rendition.
|
setNodeServicepublic void setTransactionService(TransactionService transactionService)
public void setContentService(ContentService contentService)
public void setRenditionService2(RenditionService2Impl renditionService2)
public void setConverter(TransformationOptionsConverter converter)
public void setExecutorService(ExecutorService executorService)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class AbstractTransformClientExceptionpublic void checkSupported(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
RenditionDefinition2 renditionDefinition,
String sourceMimetype,
long size,
String contentUrl)
TransformClientcheckSupported in interface TransformClientsourceNodeRef - the source noderenditionDefinition - which rendition to performsourceMimetype - the mometype of the sourcesize - the size in bytes of the sourcecontentUrl - the url of the source (used in debug).public void transform(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
RenditionDefinition2 renditionDefinition,
String user,
int sourceContentUrlHashCode)
TransformClienttransform in interface TransformClientsourceNodeRef - the source noderenditionDefinition - which rendition to performuser - that requested the transform.sourceContentUrlHashCode - the hash code of the source node's content URL. Used to check the transform resultCopyright © 2005–2018 Alfresco Software. All rights reserved.