Class LegacyTransformClient

  • All Implemented Interfaces:
    TransformClient, org.springframework.beans.factory.InitializingBean

    @Deprecated
    public class LegacyTransformClient
    extends java.lang.Object
    implements TransformClient, org.springframework.beans.factory.InitializingBean
    Deprecated.
    Requests rendition transforms take place using legacy transforms available on the local machine (based on 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.
    Author:
    adavis
    • Constructor Detail

      • LegacyTransformClient

        public LegacyTransformClient()
        Deprecated.
    • Method Detail

      • setTransactionService

        public void setTransactionService​(TransactionService transactionService)
        Deprecated.
      • setContentService

        public void setContentService​(ContentService contentService)
        Deprecated.
      • setRenditionService2

        public void setRenditionService2​(RenditionService2Impl renditionService2)
        Deprecated.
      • setExecutorService

        public void setExecutorService​(java.util.concurrent.ExecutorService executorService)
        Deprecated.
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception
        Deprecated.
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        java.lang.Exception
      • checkSupported

        public void checkSupported​(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
                                   RenditionDefinition2 renditionDefinition,
                                   java.lang.String sourceMimetype,
                                   long size,
                                   java.lang.String contentUrl)
        Deprecated.
        Description copied from interface: TransformClient
        Checks the transformation required for the rendition is supported.
        Specified by:
        checkSupported in interface TransformClient
        Parameters:
        sourceNodeRef - the source node
        renditionDefinition - which rendition to perform
        sourceMimetype - the mometype of the source
        size - the size in bytes of the source
        contentUrl - the url of the source (used in debug).
      • transform

        public void transform​(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
                              RenditionDefinition2 renditionDefinition,
                              java.lang.String user,
                              int sourceContentHashCode)
        Deprecated.
        Description copied from interface: TransformClient
        Requests an asynchronous transform and the subsequent linkage of that transform as a rendition.
        Specified by:
        transform in interface TransformClient
        Parameters:
        sourceNodeRef - the source node
        renditionDefinition - which rendition to perform
        user - that requested the transform.
        sourceContentHashCode - the hash code of the source node's content URL. Used to check the transform result