Class AlfrescoPdfRendererContentTransformerWorker

  • All Implemented Interfaces:
    ContentTransformerWorker, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

    @Deprecated
    public class AlfrescoPdfRendererContentTransformerWorker
    extends ContentTransformerHelper
    implements ContentTransformerWorker, org.springframework.beans.factory.InitializingBean
    Deprecated.
    The transformations code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.
    • Constructor Detail

      • AlfrescoPdfRendererContentTransformerWorker

        public AlfrescoPdfRendererContentTransformerWorker()
        Deprecated.
    • Method Detail

      • setExecuter

        public void setExecuter​(org.alfresco.util.exec.RuntimeExec executer)
        Deprecated.
        Set the runtime command executer that must be executed in order to run alfresco-pdf-renderer. Whether or not this is the full path to the command or just the command itself depends the environment setup.

        The command must contain the variables ${source} and ${target}, which will be replaced by the names of the file to be transformed and the name of the output file respectively.

            alfresco-pdf-renderer ${source} ${target}
         
        Parameters:
        executer - the system command executer
      • 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;
      • setCheckCommand

        public void setCheckCommand​(org.alfresco.util.exec.RuntimeExec checkCommand)
        Deprecated.
        Sets the command that must be executed in order to retrieve version information from the executable and thus test that the executable itself is present.
        Parameters:
        checkCommand - command executer to retrieve version information
      • afterPropertiesSet

        public void afterPropertiesSet()
        Deprecated.
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      • setAvailable

        protected void setAvailable​(boolean available)
        Deprecated.
        Make the transformer available
        Parameters:
        available - boolean