Class RenditionDefinitionImpl

All Implemented Interfaces:
Serializable, Action, ParameterizedItem, RenditionDefinition
Direct Known Subclasses:
CompositeRenditionDefinitionImpl

@Deprecated public class RenditionDefinitionImpl extends ActionImpl implements RenditionDefinition
Deprecated.
The RenditionService is being replace by the simpler async RenditionService2.
Since:
3.3
Author:
Nick Smith, Neil McErlean
See Also:
  • Field Details

    • RENDITION_DEFINITION_NAME

      public static final String RENDITION_DEFINITION_NAME
      Deprecated.
      See Also:
    • renditionParent

      public NodeRef renditionParent
      Deprecated.
    • renditionAssociationType

      public QName renditionAssociationType
      Deprecated.
  • Constructor Details

    • RenditionDefinitionImpl

      public RenditionDefinitionImpl(String id, QName renditionName, String renderingEngineName)
      Deprecated.
      Parameters:
      id - the action id
      renditionName - a unique name for the rendering action.
      renderingEngineName - the name of the rendering action definition
    • RenditionDefinitionImpl

      public RenditionDefinitionImpl(Action action)
      Deprecated.
    • RenditionDefinitionImpl

      public RenditionDefinitionImpl(Action action, String renderingEngineName)
      Deprecated.
  • Method Details

    • getRenditionName

      public QName getRenditionName()
      Deprecated.
      Specified by:
      getRenditionName in interface RenditionDefinition
      Returns:
      the name which uniquely identifies this rendition definition.
    • getRenditionParent

      public NodeRef getRenditionParent()
      Deprecated.
      Description copied from interface: RenditionDefinition
      Returns the node to which the rendition is linked when it is first created. Typically this location is only temporary temporary as the rendition will be moved to a different location by the RenditionService shortly after its creation.
      Specified by:
      getRenditionParent in interface RenditionDefinition
      Returns:
      the renditionParent
    • setRenditionParent

      public void setRenditionParent(NodeRef renditionParent)
      Deprecated.
      Description copied from interface: RenditionDefinition
      Sets the node to which the rendition is linked when it is first created. Typically this location is only temporary temporary as the rendition will be moved to a different location by the RenditionService shortly after its creation.
      Specified by:
      setRenditionParent in interface RenditionDefinition
      Parameters:
      renditionParent - the renditionParent to set
    • getRenditionAssociationType

      public QName getRenditionAssociationType()
      Deprecated.
      Description copied from interface: RenditionDefinition
      Returns the association type used to link the rendition to its parent node after it has been newly created. Typically this association is only temporary as the rendition will be moved to a different location by the RenditionService shortly after its creation.
      Specified by:
      getRenditionAssociationType in interface RenditionDefinition
      Returns:
      the renditionAssociationType
    • setRenditionAssociationType

      public void setRenditionAssociationType(QName renditionAssociationType)
      Deprecated.
      Description copied from interface: RenditionDefinition
      Sets the association type used to link the rendition to its parent node after it has been newly created. Typically this association is only temporary as the rendition will be moved to a different location by the RenditionService shortly after its creation.
      Specified by:
      setRenditionAssociationType in interface RenditionDefinition
      Parameters:
      renditionAssociationType - the renditionAssociationType to set
    • setCallback

      public void setCallback(RenderCallback callback)
      Deprecated.
      Description copied from interface: RenditionDefinition
      This method sets a callback object for use in asynchronous renditions. It is this object that will be notified of the successful or unsuccessful completion of these renditions.
      Specified by:
      setCallback in interface RenditionDefinition
      Parameters:
      callback - a callback object, which may be null.
    • getCallback

      public RenderCallback getCallback()
      Deprecated.
      Description copied from interface: RenditionDefinition
      This method gets the registered callback object for use with asynchronous renditions.
      Specified by:
      getCallback in interface RenditionDefinition
      Returns:
      the callback object