|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.talika.tarsis.command.action.AbstractAction org.talika.tarsis.command.action.DefaultAction
public class DefaultAction
Default implementation of Action
interface.
Defines all methods of action interface. The implementation of validate
and execute
are empty and do nothing.
Constructor Summary | |
---|---|
DefaultAction()
Constructs a new DefaultAction object. |
Method Summary | |
---|---|
java.lang.String |
execute(Request request,
Response response)
Called by Tarsis MVC Framework to handle request everytime command is invoked. |
void |
validate(Request request)
Called by Tarsis MVC Framework to validate request everytime command is invoked. |
Methods inherited from class org.talika.tarsis.command.action.AbstractAction |
---|
destroy, getContext, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultAction()
DefaultAction
object.
Method Detail |
---|
public void validate(Request request) throws ActionException
validate
in interface Action
validate
in class AbstractAction
request
- Request object representing client's request.
ActionException
- if an exception has occurred that interferes with the
action's normal operation.Action.validate(Request)
public java.lang.String execute(Request request, Response response) throws ActionException
null
.
execute
in interface Action
execute
in class AbstractAction
request
- Request object representing client's request.response
- Response object representing client's reponse.
null
for
default view.
ActionException
- if an exception has occurred that interferes with the
action's normal operation.Action.execute(Request, Response)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |