Package org.alfresco.repo.rendition2
Class LegacyTransformClient
- java.lang.Object
-
- org.alfresco.repo.rendition2.LegacyTransformClient
-
- All Implemented Interfaces:
TransformClient,org.springframework.beans.factory.InitializingBean
@Deprecated public class LegacyTransformClient extends Object implements TransformClient, org.springframework.beans.factory.InitializingBean
Deprecated.Requests rendition transforms take place using legacy transforms available on the local machine (based onAbstractContentTransformer2. 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.- Author:
- adavis
-
-
Constructor Summary
Constructors Constructor Description LegacyTransformClient()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidafterPropertiesSet()Deprecated.voidcheckSupported(NodeRef sourceNodeRef, RenditionDefinition2 renditionDefinition, String sourceMimetype, long sourceSizeInBytes, String contentUrl)Deprecated.Checks the transformation required for the rendition is supported.voidsetContentService(ContentService contentService)Deprecated.voidsetConverter(TransformationOptionsConverter converter)Deprecated.voidsetExecutorService(ExecutorService executorService)Deprecated.voidsetLegacySynchronousTransformClient(LegacySynchronousTransformClient legacySynchronousTransformClient)Deprecated.voidsetRenditionService2(RenditionService2Impl renditionService2)Deprecated.voidsetTransactionService(TransactionService transactionService)Deprecated.voidtransform(NodeRef sourceNodeRef, RenditionDefinition2 renditionDefinition, String user, int sourceContentHashCode)Deprecated.Requests an asynchronous transform and the subsequent linkage of that transform as a rendition.
-
-
-
Method Detail
-
setTransactionService
public void setTransactionService(TransactionService transactionService)
Deprecated.
-
setContentService
public void setContentService(ContentService contentService)
Deprecated.
-
setRenditionService2
public void setRenditionService2(RenditionService2Impl renditionService2)
Deprecated.
-
setConverter
public void setConverter(TransformationOptionsConverter converter)
Deprecated.
-
setLegacySynchronousTransformClient
public void setLegacySynchronousTransformClient(LegacySynchronousTransformClient legacySynchronousTransformClient)
Deprecated.
-
setExecutorService
public void setExecutorService(ExecutorService executorService)
Deprecated.
-
afterPropertiesSet
public void afterPropertiesSet() throws ExceptionDeprecated.- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
checkSupported
public void checkSupported(NodeRef sourceNodeRef, RenditionDefinition2 renditionDefinition, String sourceMimetype, long sourceSizeInBytes, String contentUrl)
Deprecated.Description copied from interface:TransformClientChecks the transformation required for the rendition is supported.- Specified by:
checkSupportedin interfaceTransformClient- Parameters:
sourceNodeRef- the source noderenditionDefinition- which rendition to performsourceMimetype- the mometype of the sourcesourceSizeInBytes- the size in bytes of the sourcecontentUrl- the url of the source (used in debug).
-
transform
public void transform(NodeRef sourceNodeRef, RenditionDefinition2 renditionDefinition, String user, int sourceContentHashCode)
Deprecated.Description copied from interface:TransformClientRequests an asynchronous transform and the subsequent linkage of that transform as a rendition. The call to this method MUST be proceeded by a successful call toTransformClient.checkSupported(NodeRef, RenditionDefinition2, String, long, String)in the SAME Thread.- Specified by:
transformin interfaceTransformClient- Parameters:
sourceNodeRef- the source noderenditionDefinition- which rendition to performuser- that requested the transform.sourceContentHashCode- the hash code of the source node's content URL. Used to check the transform result
-
-