public class ActionGroup extends Object implements ActionGroupIF
| Constructor and Description |
|---|
ActionGroup(String actionName)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(ActionInGroup action)
INTERNAL: Add an action to this action group.
|
boolean |
equals(Object obj) |
ActionInGroup |
getAction(String name)
INTERNAL: Gets the action by the given name.
|
List |
getActions()
INTERNAL: Returns all actions that are assigned to this action
group in the order in which they are to be executed.
|
ActionForwardPageIF |
getDefaultForwardPage(int responseType)
INTERNAL: Gets the forward page which should be used as default for
the given action response type.
|
Map |
getDefaultForwardPages()
INTERNAL: Gets all default forward pages assigned to this action
group.
|
ActionForwardPageIF |
getForwardPage(ActionInGroup action,
boolean error)
INTERNAL: Gets the forward page for the given action and response
type.
|
Map |
getForwardPages()
INTERNAL: Gets all forward pages assigned to this action group.
|
ActionForwardPageIF |
getLockedForwardPage()
INTERNAL: Gets the forward page to use when locking fails.
|
String |
getName()
INTERNAL: Gets the name of this action group.
|
int |
hashCode() |
void |
setDefaultForwardPage(int responseType,
ActionForwardPageIF forwardPage)
INTERNAL: Sets the default forward page for the given action
response type.
|
void |
setForwardPage(ActionInGroup action,
int responseType,
ActionForwardPageIF forwardPage)
INTERNAL: Sets forward page for the given pair of action and action
response type.
|
void |
setLockedForwardPage(ActionForwardPageIF forwardPage)
INTERNAL: Sets the forward page in the case a lock situation
|
String |
toString() |
public ActionGroup(String actionName)
public String getName()
ActionGroupIFgetName in interface ActionGroupIFpublic void addAction(ActionInGroup action)
ActionGroupIFaddAction in interface ActionGroupIFpublic List getActions()
ActionGroupIFgetActions in interface ActionGroupIFpublic ActionInGroup getAction(String name)
ActionGroupIFgetAction in interface ActionGroupIFpublic void setDefaultForwardPage(int responseType,
ActionForwardPageIF forwardPage)
ActionGroupIFsetDefaultForwardPage in interface ActionGroupIFpublic ActionForwardPageIF getDefaultForwardPage(int responseType)
ActionGroupIFgetDefaultForwardPage in interface ActionGroupIFpublic Map getDefaultForwardPages()
ActionGroupIFgetDefaultForwardPages in interface ActionGroupIFActionResponseIF constants) as
key and the corresponding ActionForwardPageIF object.public void setLockedForwardPage(ActionForwardPageIF forwardPage)
ActionGroupIFsetLockedForwardPage in interface ActionGroupIFpublic ActionForwardPageIF getLockedForwardPage()
ActionGroupIFgetLockedForwardPage in interface ActionGroupIFpublic void setForwardPage(ActionInGroup action, int responseType, ActionForwardPageIF forwardPage)
ActionGroupIFsetForwardPage in interface ActionGroupIFpublic ActionForwardPageIF getForwardPage(ActionInGroup action, boolean error)
ActionGroupIFgetForwardPage in interface ActionGroupIFerror - whether there was an error or not.public Map getForwardPages()
ActionGroupIFgetForwardPages in interface ActionGroupIF