|
|||||||||
| 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(org.alfresco.service.cmr.repository.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.ParameterizedItem |
|---|
getId, getParameterValue, getParameterValues, setParameterValue, setParameterValues |
| Constructor Detail |
|---|
public CompositeActionImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef,
java.lang.String id)
id - the action id| Method Detail |
|---|
public void addAction(Action action)
ActionList
addAction in interface ActionListaction - ActionList.addAction(org.alfresco.service.cmr.action.Action)
public void addAction(int index,
Action action)
ActionList
addAction in interface ActionListindex - action - ActionList.addAction(int,
org.alfresco.service.cmr.action.Action)public Action getAction(int index)
ActionList
getAction in interface ActionListindex -
ActionList.getAction(int)public java.util.List getActions()
ActionList
getActions in interface ActionListActionList.getActions()public boolean hasActions()
ActionList
hasActions in interface ActionListActionList.hasActions()public int indexOfAction(Action action)
ActionList
indexOfAction in interface ActionListaction -
ActionList.indexOfAction(org.alfresco.service.cmr.action.Action)public void removeAction(Action action)
ActionList
removeAction in interface ActionListaction - ActionList.removeAction(org.alfresco.service.cmr.action.Action)public void removeAllActions()
ActionList
removeAllActions in interface ActionListActionList.removeAllActions()
public void setAction(int index,
Action action)
ActionList
setAction in interface ActionListindex - action - ActionList.setAction(int,
org.alfresco.service.cmr.action.Action)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||