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()
ActionGroupIF
getName
in interface ActionGroupIF
public void addAction(ActionInGroup action)
ActionGroupIF
addAction
in interface ActionGroupIF
public List getActions()
ActionGroupIF
getActions
in interface ActionGroupIF
public ActionInGroup getAction(String name)
ActionGroupIF
getAction
in interface ActionGroupIF
public void setDefaultForwardPage(int responseType, ActionForwardPageIF forwardPage)
ActionGroupIF
setDefaultForwardPage
in interface ActionGroupIF
public ActionForwardPageIF getDefaultForwardPage(int responseType)
ActionGroupIF
getDefaultForwardPage
in interface ActionGroupIF
public Map getDefaultForwardPages()
ActionGroupIF
getDefaultForwardPages
in interface ActionGroupIF
ActionResponseIF
constants) as
key and the corresponding ActionForwardPageIF
object.public void setLockedForwardPage(ActionForwardPageIF forwardPage)
ActionGroupIF
setLockedForwardPage
in interface ActionGroupIF
public ActionForwardPageIF getLockedForwardPage()
ActionGroupIF
getLockedForwardPage
in interface ActionGroupIF
public void setForwardPage(ActionInGroup action, int responseType, ActionForwardPageIF forwardPage)
ActionGroupIF
setForwardPage
in interface ActionGroupIF
public ActionForwardPageIF getForwardPage(ActionInGroup action, boolean error)
ActionGroupIF
getForwardPage
in interface ActionGroupIF
error
- whether there was an error or not.public Map getForwardPages()
ActionGroupIF
getForwardPages
in interface ActionGroupIF