public class CompositeActionImpl extends ActionImpl implements CompositeAction
| Constructor and Description |
|---|
CompositeActionImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef,
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
|
List<Action> |
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, 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, 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,
String id)
id - the action idpublic void addAction(Action action)
ActionListaddAction in interface ActionList<Action>action - ActionActionList.addAction(org.alfresco.service.cmr.action.Action)public void addAction(int index,
Action action)
ActionListaddAction in interface ActionList<Action>index - intaction - ActionActionList.addAction(int,
org.alfresco.service.cmr.action.Action)public Action getAction(int index)
ActionListgetAction in interface ActionList<Action>index - intActionList.getAction(int)public List<Action> getActions()
ActionListgetActions in interface ActionList<Action>ActionList.getActions()public boolean hasActions()
ActionListhasActions in interface ActionList<Action>ActionList.hasActions()public int indexOfAction(Action action)
ActionListindexOfAction in interface ActionList<Action>action - ActionActionList.indexOfAction(org.alfresco.service.cmr.action.Action)public void removeAction(Action action)
ActionListremoveAction in interface ActionList<Action>action - ActionActionList.removeAction(org.alfresco.service.cmr.action.Action)public void removeAllActions()
ActionListremoveAllActions in interface ActionList<Action>ActionList.removeAllActions()public void setAction(int index,
Action action)
ActionListsetAction in interface ActionList<Action>index - intaction - ActionActionList.setAction(int,
org.alfresco.service.cmr.action.Action)Copyright © 2005–2018 Alfresco Software. All rights reserved.