Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.service.cmr.action
Interface ActionList<A extends Action>
All Superinterfaces:
Serializable
All Known Subinterfaces:
CompositeAction

@org.alfresco.api.AlfrescoPublicApi
public interface ActionList<A extends Action>
extends Serializable
Author:
Nick Smith

Method Summary
void
addAction(A action)
          Add an action to the end of the list
void
addAction(int index, A action)
          Add an action to the list at the index specified
getAction(int index)
          Get an action at a given index
getActions()
          Get list containing the actions in their current order
boolean
hasActions()
          Indicates whether there are any actions
int
indexOfAction(A action)
          Gets the index of an action
void
removeAction(A action)
          Remove an action from the list
void
removeAllActions()
          Remove all actions from the list
void
setAction(int index, A action)
          Replace the action at the specfied index with the passed action.
Method Detail
hasActions
boolean hasActions()
Indicates whether there are any actions
Returns:
true if there are actions, false otherwise

addAction
void addAction(A action)
Add an action to the end of the list
Parameters:
action - the action

addAction
void addAction(int index,
               A action)
Add an action to the list at the index specified
Parameters:
index - the index
action - the action

setAction
void setAction(int index,
               A action)
Replace the action at the specfied index with the passed action.
Parameters:
index - the index
action - the action

indexOfAction
int indexOfAction(A action)
Gets the index of an action
Parameters:
action - the action
Returns:
the index

getActions
List<AgetActions()
Get list containing the actions in their current order
Returns:
the list of actions

getAction
A getAction(int index)
Get an action at a given index
Parameters:
index - the index
Returns:
the action

removeAction
void removeAction(A action)
Remove an action from the list
Parameters:
action - the action

removeAllActions
void removeAllActions()
Remove all actions from the list

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.