Interface RenditionDefinition
- All Superinterfaces:
Action,ParameterizedItem,Serializable
- All Known Subinterfaces:
CompositeRenditionDefinition
- All Known Implementing Classes:
CompositeRenditionDefinitionImpl,RenditionDefinitionImpl
Deprecated.
The RenditionService is being replace by the simpler async RenditionService2.
This class is used to fully specify a type of rendition. It specifies which
rendering engine will be used as well as the parameters that will be given to
that engine.
Every RenditionDefinition has a
renditionName attribute which
uniquely identifies it.- Author:
- Nick Smith, Neil McErlean
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.This method gets the registered callback object for use with asynchronous renditions.Deprecated.Returns the association type used to link the rendition to its parent node after it has been newly created.Deprecated.Deprecated.Returns the node to which the rendition is linked when it is first created.voidsetCallback(RenderCallback callback) Deprecated.This method sets a callback object for use in asynchronous renditions.voidsetRenditionAssociationType(QName renditionAssociationType) Deprecated.Sets the association type used to link the rendition to its parent node after it has been newly created.voidsetRenditionParent(NodeRef renditionParent) Deprecated.Sets the node to which the rendition is linked when it is first created.Methods inherited from interface org.alfresco.service.cmr.action.Action
addActionCondition, addActionCondition, addParameterValues, getActionCondition, getActionConditions, getActionDefinitionName, getCompensatingAction, getCreatedDate, getCreator, getDescription, getExecuteAsychronously, getExecutionEndDate, getExecutionFailureMessage, getExecutionStartDate, getExecutionStatus, getModifiedDate, getModifier, getNodeRef, getTitle, getTrackStatus, hasActionConditions, indexOfActionCondition, removeActionCondition, removeAllActionConditions, setActionCondition, setCompensatingAction, setDescription, setExecuteAsynchronously, setTitle, setTrackStatusMethods inherited from interface org.alfresco.service.cmr.action.ParameterizedItem
getId, getParameterValue, getParameterValues, setParameterValue, setParameterValues
-
Method Details
-
getRenditionName
QName getRenditionName()Deprecated.- Returns:
- the name which uniquely identifies this rendition definition.
-
getRenditionParent
NodeRef getRenditionParent()Deprecated.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 theRenditionServiceshortly after its creation.- Returns:
- the renditionParent
-
setRenditionParent
Deprecated.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 theRenditionServiceshortly after its creation.- Parameters:
renditionParent- the renditionParent to set
-
getRenditionAssociationType
QName getRenditionAssociationType()Deprecated.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 theRenditionServiceshortly after its creation.- Returns:
- the renditionAssociationType
-
setRenditionAssociationType
Deprecated.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 theRenditionServiceshortly after its creation.- Parameters:
renditionAssociationType- the renditionAssociationType to set
-
setCallback
Deprecated.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.- Parameters:
callback- a callback object, which may be null.
-
getCallback
RenderCallback getCallback()Deprecated.This method gets the registered callback object for use with asynchronous renditions.- Returns:
- the callback object
-