|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Action
All actions may implement this interface, which exposes the execute()
method.
Field Summary | |
---|---|
static java.lang.String |
ERROR
The action execution was a failure. |
static java.lang.String |
INPUT
The action execution require more input in order to succeed. |
static java.lang.String |
LOGIN
The action could not execute, since the user most was not logged in. |
static java.lang.String |
NONE
The action execution was successful but do not show a view. |
static java.lang.String |
SUCCESS
The action execution was successful. |
Method Summary | |
---|---|
java.lang.String |
execute()
Where the logic of the action is executed. |
Field Detail |
---|
static final java.lang.String SUCCESS
static final java.lang.String NONE
static final java.lang.String ERROR
static final java.lang.String INPUT
static final java.lang.String LOGIN
Method Detail |
---|
java.lang.String execute() throws java.lang.Exception
java.lang.Exception
- thrown if a system level exception occurs.
Note: Application level exceptions should be handled by returning
an error value, such as Action.ERROR
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |