Class AbstractRemoteContentTransformer

    • Constructor Detail

      • AbstractRemoteContentTransformer

        public AbstractRemoteContentTransformer()
        Deprecated.
    • Method Detail

      • setEnabled

        public void setEnabled​(boolean enabled)
        Deprecated.
      • setRemoteTransformerClient

        public void setRemoteTransformerClient​(RemoteTransformerClient remoteTransformerClient)
        Deprecated.
        Sets the optional remote transformer client which will be used in preference to a local command if available.
        Parameters:
        remoteTransformerClient - may be null;
      • getLogger

        protected abstract org.apache.commons.logging.Log getLogger()
        Deprecated.
      • afterPropertiesSet

        public void afterPropertiesSet()
        Deprecated.
      • isAvailable

        public boolean isAvailable()
        Deprecated.
      • setAvailable

        protected void setAvailable​(boolean available)
        Deprecated.
      • transformInternal

        public void transformInternal​(org.alfresco.service.cmr.repository.ContentReader reader,
                                      org.alfresco.service.cmr.repository.ContentWriter writer,
                                      TransformationOptions options)
                               throws java.lang.Exception
        Deprecated.
        Description copied from class: AbstractContentTransformer2
        Method to be implemented by subclasses wishing to make use of the common infrastructural code provided by this class.
        Specified by:
        transformInternal in class AbstractContentTransformer2
        Parameters:
        reader - the source of the content to transform
        writer - the target to which to write the transformed content
        options - a map of options to use when performing the transformation. The map will never be null.
        Throws:
        java.lang.Exception - exceptions will be handled by this class - subclasses can throw anything
      • transformLocal

        protected abstract void transformLocal​(org.alfresco.service.cmr.repository.ContentReader reader,
                                               org.alfresco.service.cmr.repository.ContentWriter writer,
                                               TransformationOptions options)
                                        throws java.lang.Exception
        Deprecated.
        Throws:
        java.lang.Exception
      • transformRemote

        protected abstract void transformRemote​(RemoteTransformerClient remoteTransformerClient,
                                                org.alfresco.service.cmr.repository.ContentReader reader,
                                                org.alfresco.service.cmr.repository.ContentWriter writer,
                                                TransformationOptions options,
                                                java.lang.String sourceMimetype,
                                                java.lang.String targetMimetype,
                                                java.lang.String sourceExtension,
                                                java.lang.String targetExtension,
                                                java.lang.String targetEncoding)
                                         throws java.lang.Exception
        Deprecated.
        Throws:
        java.lang.Exception