public class CompositeActionImpl extends ActionImpl implements CompositeAction
| Constructor and Description |
|---|
CompositeActionImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef,
java.lang.String id)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(Action action)
Add an action to the end of the list
|
void |
addAction(int index,
Action action)
Add an action to the list at the index specified
|
Action |
getAction(int index)
Get an action at a given index
|
java.util.List |
getActions()
Get list containing the actions in their current order
|
boolean |
hasActions()
Indicates whether there are any actions
|
int |
indexOfAction(Action action)
Gets the index of an action
|
void |
removeAction(Action action)
Remove an action from the list
|
void |
removeAllActions()
Remove all actions from the list
|
void |
setAction(int index,
Action action)
Replace the action at the specfied index with the passed action.
|
addActionCondition, addActionCondition, addParameterValues, getActionChain, getActionCondition, getActionConditions, getActionDefinitionName, getCompensatingAction, getCreatedDate, getCreator, getDescription, getExecuteAsychronously, getExecutionEndDate, getExecutionFailureMessage, getExecutionInstance, getExecutionStartDate, getExecutionStatus, getModifiedDate, getModifier, getNodeRef, getRunAsUser, getTitle, getTrackStatus, hasActionConditions, indexOfActionCondition, removeActionCondition, removeAllActionConditions, setActionChain, setActionCondition, setCompensatingAction, setCreatedDate, setCreator, setDescription, setExecuteAsynchronously, setExecutionEndDate, setExecutionFailureMessage, setExecutionInstance, setExecutionStartDate, setExecutionStatus, setModifiedDate, setModifier, setNodeRef, setRunAsUser, setTitle, setTrackStatus, toStringequals, getId, getParameterValue, getParameterValues, hashCode, setParameterValue, setParameterValuesclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddActionCondition, 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, setTrackStatusgetId, getParameterValue, getParameterValues, setParameterValue, setParameterValuespublic CompositeActionImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef,
java.lang.String id)
id - the action idpublic void addAction(Action action)
ActionListaddAction in interface ActionListaction - ActionList.addAction(org.alfresco.service.cmr.action.Action)public void addAction(int index,
Action action)
ActionListaddAction in interface ActionListindex - action - ActionList.addAction(int,
org.alfresco.service.cmr.action.Action)public Action getAction(int index)
ActionListgetAction in interface ActionListindex - ActionList.getAction(int)public java.util.List getActions()
ActionListgetActions in interface ActionListActionList.getActions()public boolean hasActions()
ActionListhasActions in interface ActionListActionList.hasActions()public int indexOfAction(Action action)
ActionListindexOfAction in interface ActionListaction - ActionList.indexOfAction(org.alfresco.service.cmr.action.Action)public void removeAction(Action action)
ActionListremoveAction in interface ActionListaction - ActionList.removeAction(org.alfresco.service.cmr.action.Action)public void removeAllActions()
ActionListremoveAllActions in interface ActionListActionList.removeAllActions()public void setAction(int index,
Action action)
ActionListsetAction in interface ActionListindex - action - ActionList.setAction(int,
org.alfresco.service.cmr.action.Action)Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.