Class ActionsImpl
- java.lang.Object
-
- org.silverpeas.core.workflow.engine.model.ActionsImpl
-
- All Implemented Interfaces:
Serializable,Actions
public class ActionsImpl extends Object implements Serializable, Actions
Class implementing the representation of the <actions> element of a Process Model.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActionsImpl()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAction(Action action)Add an action to the collectionActioncreateAction()Create an ActionActiongetAction(String name)Get the action definition with given nameAction[]getActions()Get the actions defined for this process modelIterator<Action>iterateAction()Iterate through the Action objectsvoidremoveAction(String strActionName)Remove an action from the collection
-
-
-
Method Detail
-
addAction
public void addAction(Action action)
Description copied from interface:ActionsAdd an action to the collection
-
createAction
public Action createAction()
Description copied from interface:ActionsCreate an Action- Specified by:
createActionin interfaceActions- Returns:
- an object implementing Action
-
getAction
public Action getAction(String name) throws WorkflowException
Description copied from interface:ActionsGet the action definition with given name- Specified by:
getActionin interfaceActions- Parameters:
name- action name- Returns:
- wanted action definition
- Throws:
WorkflowException- if an error occurs while getting the action with the specified name.
-
getActions
public Action[] getActions()
Description copied from interface:ActionsGet the actions defined for this process model- Specified by:
getActionsin interfaceActions- Returns:
- actions defined for this process model
-
iterateAction
public Iterator<Action> iterateAction()
Description copied from interface:ActionsIterate through the Action objects- Specified by:
iterateActionin interfaceActions- Returns:
- an iterator
-
removeAction
public void removeAction(String strActionName) throws WorkflowException
Description copied from interface:ActionsRemove an action from the collection- Specified by:
removeActionin interfaceActions- Parameters:
strActionName- the name of the action to be removed.- Throws:
WorkflowException- when the action cannot be found
-
-