public class CompositeRenditionDefinitionImpl extends RenditionDefinitionImpl implements CompositeRenditionDefinition
RENDITION_DEFINITION_NAME, renditionAssociationType, renditionParent
Constructor and Description |
---|
CompositeRenditionDefinitionImpl(CompositeAction compositeAction) |
CompositeRenditionDefinitionImpl(String id,
org.alfresco.service.namespace.QName renditionName) |
Modifier and Type | Method and Description |
---|---|
void |
addAction(int index,
RenditionDefinition action)
Add an action to the list at the index specified
|
void |
addAction(RenditionDefinition action)
Add an action to the end of the list
|
RenditionDefinition |
getAction(int index)
Get an action at a given index
|
List<RenditionDefinition> |
getActions()
Get list containing the actions in their current order
|
boolean |
hasActions()
Indicates whether there are any actions
|
int |
indexOfAction(RenditionDefinition action)
Gets the index of an action
|
void |
removeAction(RenditionDefinition action)
Remove an action from the list
|
void |
removeAllActions()
Remove all actions from the list
|
void |
setAction(int index,
RenditionDefinition action)
Replace the action at the specfied index with the passed action.
|
getCallback, getRenditionAssociationType, getRenditionName, getRenditionParent, setCallback, setRenditionAssociationType, setRenditionParent
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
getCallback, getRenditionAssociationType, getRenditionName, getRenditionParent, setCallback, setRenditionAssociationType, setRenditionParent
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 CompositeRenditionDefinitionImpl(String id, org.alfresco.service.namespace.QName renditionName)
id
- - the action idrenditionName
- - a unique name for the rendering actionpublic CompositeRenditionDefinitionImpl(CompositeAction compositeAction)
public void addAction(int index, RenditionDefinition action)
ActionList
addAction
in interface ActionList<RenditionDefinition>
index
- intaction
- RenditionDefinitionActionList.addAction(int,
org.alfresco.service.cmr.action.Action)
public void addAction(RenditionDefinition action)
ActionList
addAction
in interface ActionList<RenditionDefinition>
action
- RenditionDefinitionActionList.addAction(org.alfresco.service.cmr.action.Action)
public RenditionDefinition getAction(int index)
ActionList
getAction
in interface ActionList<RenditionDefinition>
index
- intActionList.getAction(int)
public List<RenditionDefinition> getActions()
ActionList
getActions
in interface ActionList<RenditionDefinition>
ActionList.getActions()
public boolean hasActions()
ActionList
hasActions
in interface ActionList<RenditionDefinition>
ActionList.hasActions()
public int indexOfAction(RenditionDefinition action)
ActionList
indexOfAction
in interface ActionList<RenditionDefinition>
action
- RenditionDefinitionActionList.indexOfAction(org.alfresco.service.cmr.action.Action)
public void removeAction(RenditionDefinition action)
ActionList
removeAction
in interface ActionList<RenditionDefinition>
action
- RenditionDefinitionActionList.removeAction(org.alfresco.service.cmr.action.Action)
public void removeAllActions()
ActionList
removeAllActions
in interface ActionList<RenditionDefinition>
ActionList.removeAllActions()
public void setAction(int index, RenditionDefinition action)
ActionList
setAction
in interface ActionList<RenditionDefinition>
index
- intaction
- RenditionDefinitionActionList.setAction(int,
org.alfresco.service.cmr.action.Action)
Copyright © 2005–2017 Alfresco Software. All rights reserved.