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, 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 CompositeActionImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef, String id)
id
- the action idpublic void addAction(Action action)
ActionList
addAction
in interface ActionList<Action>
action
- ActionActionList.addAction(org.alfresco.service.cmr.action.Action)
public void addAction(int index, Action action)
ActionList
addAction
in interface ActionList<Action>
index
- intaction
- ActionActionList.addAction(int,
org.alfresco.service.cmr.action.Action)
public Action getAction(int index)
ActionList
getAction
in interface ActionList<Action>
index
- intActionList.getAction(int)
public List<Action> getActions()
ActionList
getActions
in interface ActionList<Action>
ActionList.getActions()
public boolean hasActions()
ActionList
hasActions
in interface ActionList<Action>
ActionList.hasActions()
public int indexOfAction(Action action)
ActionList
indexOfAction
in interface ActionList<Action>
action
- ActionActionList.indexOfAction(org.alfresco.service.cmr.action.Action)
public void removeAction(Action action)
ActionList
removeAction
in interface ActionList<Action>
action
- ActionActionList.removeAction(org.alfresco.service.cmr.action.Action)
public void removeAllActions()
ActionList
removeAllActions
in interface ActionList<Action>
ActionList.removeAllActions()
public void setAction(int index, Action action)
ActionList
setAction
in interface ActionList<Action>
index
- intaction
- ActionActionList.setAction(int,
org.alfresco.service.cmr.action.Action)
Copyright © 2005–2017 Alfresco Software. All rights reserved.