|
||||||||||
| 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 String |
ERROR
The action execution was a failure. |
static String |
INPUT
The action execution require more input in order to succeed. |
static String |
LOGIN
The action could not execute, since the user most was not logged in. |
static String |
NONE
The action execution was successful but do not show a view. |
static String |
SUCCESS
The action execution was successful. |
| Method Summary | |
|---|---|
String |
execute()
Where the logic of the action is executed. |
| Field Detail |
|---|
static final String SUCCESS
static final String NONE
static final String ERROR
static final String INPUT
static final String LOGIN
| Method Detail |
|---|
String execute()
throws Exception
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 | |||||||||