|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.action.ActionListImpl
public class ActionListImpl
| Constructor Summary | |
|---|---|
ActionListImpl()
|
|
| 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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionListImpl()
| Method Detail |
|---|
public boolean hasActions()
ActionList
hasActions in interface ActionListActionList.hasActions()public void addAction(Action action)
ActionList
addAction in interface ActionListaction - the actionActionList.addAction(org.alfresco.service.cmr.action.Action)
public void addAction(int index,
Action action)
ActionList
addAction in interface ActionListindex - the indexaction - the actionActionList.addAction(int,
org.alfresco.service.cmr.action.Action)
public void setAction(int index,
Action action)
ActionList
setAction in interface ActionListindex - the indexaction - the actionActionList.setAction(int,
org.alfresco.service.cmr.action.Action)public int indexOfAction(Action action)
ActionList
indexOfAction in interface ActionListaction - the action
ActionList.indexOfAction(org.alfresco.service.cmr.action.Action)public java.util.List getActions()
ActionList
getActions in interface ActionListActionList.getActions()public Action getAction(int index)
ActionList
getAction in interface ActionListindex - the index
ActionList.getAction(int)public void removeAction(Action action)
ActionList
removeAction in interface ActionListaction - the actionActionList.removeAction(org.alfresco.service.cmr.action.Action)public void removeAllActions()
ActionList
removeAllActions in interface ActionListActionList.removeAllActions()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||