Class ActionRefs
- java.lang.Object
-
- org.silverpeas.core.workflow.engine.model.ActionRefs
-
- All Implemented Interfaces:
Serializable
,AllowedActions
public class ActionRefs extends Object implements Serializable, AllowedActions
Class implementing the representation of the <allowedActions> element of a Process Model.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActionRefs()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAllowedAction(AllowedAction allowedAction)
Add an allowedAction to the collectionAllowedAction
createAllowedAction()
Create an AllowedActionAllowedAction
getAllowedAction(String strActionName)
Get allowed action by action nameAction[]
getAllowedActions()
Get available actionsIterator<AllowedAction>
iterateAllowedAction()
Iterate through the AllowedAction objects
-
-
-
Method Detail
-
addAllowedAction
public void addAllowedAction(AllowedAction allowedAction)
Description copied from interface:AllowedActions
Add an allowedAction to the collection- Specified by:
addAllowedAction
in interfaceAllowedActions
- Parameters:
allowedAction
- to be added
-
createAllowedAction
public AllowedAction createAllowedAction()
Description copied from interface:AllowedActions
Create an AllowedAction- Specified by:
createAllowedAction
in interfaceAllowedActions
- Returns:
- an object implementing AllowedAction
-
iterateAllowedAction
public Iterator<AllowedAction> iterateAllowedAction()
Description copied from interface:AllowedActions
Iterate through the AllowedAction objects- Specified by:
iterateAllowedAction
in interfaceAllowedActions
- Returns:
- an iterator
-
getAllowedActions
public Action[] getAllowedActions()
Description copied from interface:AllowedActions
Get available actions- Specified by:
getAllowedActions
in interfaceAllowedActions
- Returns:
- allowed actions in an array
-
getAllowedAction
public AllowedAction getAllowedAction(String strActionName)
Description copied from interface:AllowedActions
Get allowed action by action name- Specified by:
getAllowedAction
in interfaceAllowedActions
- Parameters:
strActionName
- the name of the action to find- Returns:
- allowed action or
null
if action not found
-
-