|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.action.ParameterizedItemImpl
org.alfresco.repo.action.ActionImpl
org.alfresco.repo.action.CompositeActionImpl
public class CompositeActionImpl
Composite action implementation
| Constructor Summary | |
|---|---|
CompositeActionImpl(NodeRef nodeRef,
java.lang.String id)
Constructor |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.alfresco.repo.action.ParameterizedItemImpl |
|---|
equals, getId, getParameterValue, getParameterValues, hashCode, setParameterValue, setParameterValues |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.alfresco.service.cmr.action.Action |
|---|
addActionCondition, addActionCondition, getActionCondition, getActionConditions, getActionDefinitionName, getCompensatingAction, getCreatedDate, getCreator, getDescription, getExecuteAsychronously, getModifiedDate, getModifier, getNodeRef, getTitle, hasActionConditions, indexOfActionCondition, removeActionCondition, removeAllActionConditions, setActionCondition, setCompensatingAction, setDescription, setExecuteAsynchronously, setTitle |
| Methods inherited from interface org.alfresco.service.cmr.action.ParameterizedItem |
|---|
getId, getParameterValue, getParameterValues, setParameterValue, setParameterValues |
| Constructor Detail |
|---|
public CompositeActionImpl(NodeRef nodeRef,
java.lang.String id)
id - the action id| Method Detail |
|---|
public boolean hasActions()
CompositeAction
hasActions in interface CompositeActionCompositeAction.hasActions()public void addAction(Action action)
CompositeAction
addAction in interface CompositeActionaction - the actionCompositeAction.addAction(org.alfresco.service.cmr.action.Action)
public void addAction(int index,
Action action)
CompositeAction
addAction in interface CompositeActionindex - the indexaction - the actionCompositeAction.addAction(int, org.alfresco.service.cmr.action.Action)
public void setAction(int index,
Action action)
CompositeAction
setAction in interface CompositeActionindex - the indexaction - the actionCompositeAction.setAction(int, org.alfresco.service.cmr.action.Action)public int indexOfAction(Action action)
CompositeAction
indexOfAction in interface CompositeActionaction - the action
CompositeAction.indexOfAction(org.alfresco.service.cmr.action.Action)public java.util.List getActions()
CompositeAction
getActions in interface CompositeActionCompositeAction.getActions()public Action getAction(int index)
CompositeAction
getAction in interface CompositeActionindex - the index
CompositeAction.getAction(int)public void removeAction(Action action)
CompositeAction
removeAction in interface CompositeActionaction - the actionCompositeAction.removeAction(org.alfresco.service.cmr.action.Action)public void removeAllActions()
CompositeAction
removeAllActions in interface CompositeActionCompositeAction.removeAllActions()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||