|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--tomp.ext.Action
The abstract Action class Contains
Field Summary | |
protected static org.apache.log4j.Category |
ACTION
Logging Category for Action. |
protected Application |
application
|
protected Action |
previous
|
protected ActionResult |
result
|
Constructor Summary | |
protected |
Action(Action prev)
The Action class constructor For constructing an action that already has a previous action. |
protected |
Action(Application app)
The Action class constructor For constructing an action with no previous action. |
Method Summary | |
void |
event2tree(TreeSourceBuilder b)
|
void |
execute()
|
java.lang.Object |
get(java.lang.String s)
Get a named parameter or an instanceof Base object. |
Application |
getApplication()
|
abstract java.lang.Object |
getHere(java.lang.String s)
Try to get a named parameter here. |
Action |
getPreviousAction()
|
boolean |
hasParameter(java.lang.String s)
Has already the named parameter? |
java.lang.String |
id()
|
protected void |
init()
Simple initialization of the Action object. |
boolean |
isERROR()
Test the ActionResult |
boolean |
isOK()
Test the ActionResult |
abstract void |
put(java.lang.String s,
java.lang.Object o)
|
ActionResult |
result()
Get the ActionResult |
void |
setParameter(java.lang.String s,
java.lang.Object o)
Set the named parameter (simulated by putting a named object) |
void |
setResult(ActionResult result)
Set the ActionResult |
void |
trace()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static org.apache.log4j.Category ACTION
Logging Category for Action.
protected Application application
protected Action previous
protected ActionResult result
Constructor Detail |
protected Action(Application app)
protected Action(Action prev)
prev
- previous action (non-null)Method Detail |
protected void init()
public void event2tree(TreeSourceBuilder b) throws EXTException
EXTException
public void execute() throws EXTException
EXTException
public Action getPreviousAction()
public Application getApplication()
public java.lang.Object get(java.lang.String s)
public void trace()
public abstract void put(java.lang.String s, java.lang.Object o)
public abstract java.lang.Object getHere(java.lang.String s)
public java.lang.String id()
public void setResult(ActionResult result)
public ActionResult result()
public boolean isOK()
public boolean isERROR()
public void setParameter(java.lang.String s, java.lang.Object o)
public boolean hasParameter(java.lang.String s)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |