|
|||||||||
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 idMethod Detail |
---|
public void addAction(Action action)
ActionList
addAction
in interface ActionList
action
- ActionList.addAction(org.alfresco.service.cmr.action.Action)
public void addAction(int index, Action action)
ActionList
addAction
in interface ActionList
index
- action
- ActionList.addAction(int,
org.alfresco.service.cmr.action.Action)
public Action getAction(int index)
ActionList
getAction
in interface ActionList
index
-
ActionList.getAction(int)
public java.util.List getActions()
ActionList
getActions
in interface ActionList
ActionList.getActions()
public boolean hasActions()
ActionList
hasActions
in interface ActionList
ActionList.hasActions()
public int indexOfAction(Action action)
ActionList
indexOfAction
in interface ActionList
action
-
ActionList.indexOfAction(org.alfresco.service.cmr.action.Action)
public void removeAction(Action action)
ActionList
removeAction
in interface ActionList
action
- ActionList.removeAction(org.alfresco.service.cmr.action.Action)
public void removeAllActions()
ActionList
removeAllActions
in interface ActionList
ActionList.removeAllActions()
public void setAction(int index, Action action)
ActionList
setAction
in interface ActionList
index
- 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 |