Package org.alfresco.repo.rendition
Class RenditionDefinitionImpl
- java.lang.Object
-
- org.alfresco.repo.action.ParameterizedItemImpl
-
- org.alfresco.repo.action.ActionImpl
-
- org.alfresco.repo.rendition.RenditionDefinitionImpl
-
- All Implemented Interfaces:
java.io.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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringRENDITION_DEFINITION_NAMEDeprecated.org.alfresco.service.namespace.QNamerenditionAssociationTypeDeprecated.org.alfresco.service.cmr.repository.NodeRefrenditionParentDeprecated.
-
Constructor Summary
Constructors Constructor Description RenditionDefinitionImpl(java.lang.String id, org.alfresco.service.namespace.QName renditionName, java.lang.String renderingEngineName)Deprecated.RenditionDefinitionImpl(Action action)Deprecated.RenditionDefinitionImpl(Action action, java.lang.String renderingEngineName)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RenderCallbackgetCallback()Deprecated.This method gets the registered callback object for use with asynchronous renditions.org.alfresco.service.namespace.QNamegetRenditionAssociationType()Deprecated.Returns the association type used to link the rendition to its parent node after it has been newly created.org.alfresco.service.namespace.QNamegetRenditionName()Deprecated.org.alfresco.service.cmr.repository.NodeRefgetRenditionParent()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(org.alfresco.service.namespace.QName renditionAssociationType)Deprecated.Sets the association type used to link the rendition to its parent node after it has been newly created.voidsetRenditionParent(org.alfresco.service.cmr.repository.NodeRef renditionParent)Deprecated.Sets the node to which the rendition is linked when it is first created.-
Methods inherited from class org.alfresco.repo.action.ActionImpl
addActionCondition, addActionCondition, addParameterValues, getActionChain, getActionCondition, getActionConditions, getActionDefinitionName, getCompensatingAction, getCreatedDate, getCreator, getDescription, getExecuteAsychronously, getExecutionEndDate, getExecutionFailureMessage, getExecutionInstance, getExecutionStartDate, getExecutionStatus, getModifiedDate, getModifier, getNodeRef, getRunAsUser, getTenantId, getTitle, getTrackStatus, hasActionConditions, indexOfActionCondition, removeActionCondition, removeAllActionConditions, setActionChain, setActionCondition, setCompensatingAction, setCreatedDate, setCreator, setDescription, setExecuteAsynchronously, setExecutionEndDate, setExecutionFailureMessage, setExecutionInstance, setExecutionStartDate, setExecutionStatus, setModifiedDate, setModifier, setNodeRef, setRunAsUser, setTenantId, setTitle, setTrackStatus, toString
-
Methods inherited from class org.alfresco.repo.action.ParameterizedItemImpl
equals, getId, getParameterValue, getParameterValues, hashCode, setParameterValue, setParameterValues
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
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, setTrackStatus
-
Methods inherited from interface org.alfresco.service.cmr.action.ParameterizedItem
getId, getParameterValue, getParameterValues, setParameterValue, setParameterValues
-
-
-
-
Field Detail
-
RENDITION_DEFINITION_NAME
public static final java.lang.String RENDITION_DEFINITION_NAME
Deprecated.- See Also:
- Constant Field Values
-
renditionParent
public org.alfresco.service.cmr.repository.NodeRef renditionParent
Deprecated.
-
renditionAssociationType
public org.alfresco.service.namespace.QName renditionAssociationType
Deprecated.
-
-
Constructor Detail
-
RenditionDefinitionImpl
public RenditionDefinitionImpl(java.lang.String id, org.alfresco.service.namespace.QName renditionName, java.lang.String renderingEngineName)Deprecated.- Parameters:
id- the action idrenditionName- 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, java.lang.String renderingEngineName)
Deprecated.
-
-
Method Detail
-
getRenditionName
public org.alfresco.service.namespace.QName getRenditionName()
Deprecated.- Specified by:
getRenditionNamein interfaceRenditionDefinition- Returns:
- the name which uniquely identifies this rendition definition.
-
getRenditionParent
public org.alfresco.service.cmr.repository.NodeRef getRenditionParent()
Deprecated.Description copied from interface:RenditionDefinitionReturns 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.- Specified by:
getRenditionParentin interfaceRenditionDefinition- Returns:
- the renditionParent
-
setRenditionParent
public void setRenditionParent(org.alfresco.service.cmr.repository.NodeRef renditionParent)
Deprecated.Description copied from interface:RenditionDefinitionSets 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.- Specified by:
setRenditionParentin interfaceRenditionDefinition- Parameters:
renditionParent- the renditionParent to set
-
getRenditionAssociationType
public org.alfresco.service.namespace.QName getRenditionAssociationType()
Deprecated.Description copied from interface:RenditionDefinitionReturns 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.- Specified by:
getRenditionAssociationTypein interfaceRenditionDefinition- Returns:
- the renditionAssociationType
-
setRenditionAssociationType
public void setRenditionAssociationType(org.alfresco.service.namespace.QName renditionAssociationType)
Deprecated.Description copied from interface:RenditionDefinitionSets 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.- Specified by:
setRenditionAssociationTypein interfaceRenditionDefinition- Parameters:
renditionAssociationType- the renditionAssociationType to set
-
setCallback
public void setCallback(RenderCallback callback)
Deprecated.Description copied from interface:RenditionDefinitionThis 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:
setCallbackin interfaceRenditionDefinition- Parameters:
callback- a callback object, which may be null.
-
getCallback
public RenderCallback getCallback()
Deprecated.Description copied from interface:RenditionDefinitionThis method gets the registered callback object for use with asynchronous renditions.- Specified by:
getCallbackin interfaceRenditionDefinition- Returns:
- the callback object
-
-