|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.webed.impl.basic.ActionGroup
public class ActionGroup
INTERNAL: Basic implementation of ActionGroupIF interface, for storing a set of action objects belonging to a common group.
Constructor Summary | |
---|---|
ActionGroup(java.lang.String actionName)
Default constructor. |
Method Summary | |
---|---|
void |
addAction(ActionInGroup action)
INTERNAL: Add an action to this action group. |
boolean |
equals(java.lang.Object obj)
|
ActionInGroup |
getAction(java.lang.String name)
INTERNAL: Gets the action by the given name. |
java.util.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. |
java.util.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. |
java.util.Map |
getForwardPages()
INTERNAL: Gets all forward pages assigned to this action group. |
ActionForwardPageIF |
getLockedForwardPage()
INTERNAL: Gets the forward page to use when locking fails. |
java.lang.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 |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ActionGroup(java.lang.String actionName)
Method Detail |
---|
public java.lang.String getName()
ActionGroupIF
getName
in interface ActionGroupIF
public void addAction(ActionInGroup action)
ActionGroupIF
addAction
in interface ActionGroupIF
public java.util.List getActions()
ActionGroupIF
getActions
in interface ActionGroupIF
public ActionInGroup getAction(java.lang.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 java.util.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 java.util.Map getForwardPages()
ActionGroupIF
getForwardPages
in interface ActionGroupIF
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |