Package org.alfresco.repo.action
Class CompositeActionImpl
java.lang.Object
org.alfresco.repo.action.ParameterizedItemImpl
org.alfresco.repo.action.ActionImpl
org.alfresco.repo.action.CompositeActionImpl
- All Implemented Interfaces:
Serializable,Action,ActionList<Action>,CompositeAction,ParameterizedItem
Composite action implementation
- Author:
- Roy Wetherall
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd an action to the list at the index specifiedvoidAdd an action to the end of the listgetAction(int index) Get an action at a given indexGet list containing the actions in their current orderbooleanIndicates whether there are any actionsintindexOfAction(Action action) Gets the index of an actionvoidremoveAction(Action action) Remove an action from the listvoidRemove all actions from the listvoidReplace the action at the specfied index with the passed action.Methods inherited from class org.alfresco.repo.action.ActionImpl
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, toStringMethods inherited from class org.alfresco.repo.action.ParameterizedItemImpl
equals, getId, getParameterValue, getParameterValues, hashCode, setParameterValue, setParameterValuesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.alfresco.service.cmr.action.Action
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, setTrackStatusMethods inherited from interface org.alfresco.service.cmr.action.ParameterizedItem
getId, getParameterValue, getParameterValues, setParameterValue, setParameterValues
-
Constructor Details
-
CompositeActionImpl
Constructor- Parameters:
id- the action id
-
-
Method Details
-
addAction
Description copied from interface:ActionListAdd an action to the end of the list- Specified by:
addActionin interfaceActionList<Action>- Parameters:
action- Action- See Also:
-
addAction
Description copied from interface:ActionListAdd an action to the list at the index specified- Specified by:
addActionin interfaceActionList<Action>- Parameters:
index- intaction- Action- See Also:
-
getAction
Description copied from interface:ActionListGet an action at a given index- Specified by:
getActionin interfaceActionList<Action>- Parameters:
index- int- Returns:
- Action
- See Also:
-
getActions
Description copied from interface:ActionListGet list containing the actions in their current order- Specified by:
getActionsin interfaceActionList<Action>- Returns:
- the list of actions
- See Also:
-
hasActions
public boolean hasActions()Description copied from interface:ActionListIndicates whether there are any actions- Specified by:
hasActionsin interfaceActionList<Action>- Returns:
- boolean
- See Also:
-
indexOfAction
Description copied from interface:ActionListGets the index of an action- Specified by:
indexOfActionin interfaceActionList<Action>- Parameters:
action- Action- Returns:
- int
- See Also:
-
removeAction
Description copied from interface:ActionListRemove an action from the list- Specified by:
removeActionin interfaceActionList<Action>- Parameters:
action- Action- See Also:
-
removeAllActions
public void removeAllActions()Description copied from interface:ActionListRemove all actions from the list- Specified by:
removeAllActionsin interfaceActionList<Action>- See Also:
-
setAction
Description copied from interface:ActionListReplace the action at the specfied index with the passed action.- Specified by:
setActionin interfaceActionList<Action>- Parameters:
index- intaction- Action- See Also:
-