public class RenditionDefinitionImpl extends ActionImpl implements RenditionDefinition
Modifier and Type | Field and Description |
---|---|
static String |
RENDITION_DEFINITION_NAME |
org.alfresco.service.namespace.QName |
renditionAssociationType |
org.alfresco.service.cmr.repository.NodeRef |
renditionParent |
Constructor and Description |
---|
RenditionDefinitionImpl(Action action) |
RenditionDefinitionImpl(Action action,
String renderingEngineName) |
RenditionDefinitionImpl(String id,
org.alfresco.service.namespace.QName renditionName,
String renderingEngineName) |
Modifier and Type | Method and Description |
---|---|
RenderCallback |
getCallback()
This method gets the registered callback object for use with asynchronous
renditions.
|
org.alfresco.service.namespace.QName |
getRenditionAssociationType()
Returns the association type used to link the rendition to its parent
node after it has been newly created.
|
org.alfresco.service.namespace.QName |
getRenditionName() |
org.alfresco.service.cmr.repository.NodeRef |
getRenditionParent()
Returns the node to which the rendition is linked when it is first
created.
|
void |
setCallback(RenderCallback callback)
This method sets a callback object for use in asynchronous renditions.
|
void |
setRenditionAssociationType(org.alfresco.service.namespace.QName renditionAssociationType)
Sets the association type used to link the rendition to its parent node
after it has been newly created.
|
void |
setRenditionParent(org.alfresco.service.cmr.repository.NodeRef renditionParent)
Sets the node to which the rendition is linked when it is first created.
|
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
equals, getId, getParameterValue, getParameterValues, hashCode, setParameterValue, setParameterValues
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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
getId, getParameterValue, getParameterValues, setParameterValue, setParameterValues
public static final String RENDITION_DEFINITION_NAME
public org.alfresco.service.cmr.repository.NodeRef renditionParent
public org.alfresco.service.namespace.QName renditionAssociationType
public RenditionDefinitionImpl(String id, org.alfresco.service.namespace.QName renditionName, String renderingEngineName)
id
- the action idrenditionName
- a unique name for the rendering action.renderingEngineName
- the name of the rendering action definitionpublic RenditionDefinitionImpl(Action action)
public org.alfresco.service.namespace.QName getRenditionName()
getRenditionName
in interface RenditionDefinition
public org.alfresco.service.cmr.repository.NodeRef getRenditionParent()
RenditionDefinition
RenditionService
shortly after its creation.getRenditionParent
in interface RenditionDefinition
public void setRenditionParent(org.alfresco.service.cmr.repository.NodeRef renditionParent)
RenditionDefinition
RenditionService
shortly
after its creation.setRenditionParent
in interface RenditionDefinition
renditionParent
- the renditionParent to setpublic org.alfresco.service.namespace.QName getRenditionAssociationType()
RenditionDefinition
RenditionService
shortly after its creation.getRenditionAssociationType
in interface RenditionDefinition
public void setRenditionAssociationType(org.alfresco.service.namespace.QName renditionAssociationType)
RenditionDefinition
RenditionService
shortly after its creation.setRenditionAssociationType
in interface RenditionDefinition
renditionAssociationType
- the renditionAssociationType to setpublic void setCallback(RenderCallback callback)
RenditionDefinition
setCallback
in interface RenditionDefinition
callback
- a callback object, which may be null.public RenderCallback getCallback()
RenditionDefinition
getCallback
in interface RenditionDefinition
Copyright © 2005–2017 Alfresco Software. All rights reserved.