|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface Action
defines the action (see
Command.getAction()) which triggers
the annotated method of a Controller.
Methods annotated with @Action can have a return type of either
null, Result or any JAXB enabled Object. Allowed
method Parameters are Bundle, ServiceRequest and any class
annotated with @RequestBean or nay combination thereof.
Controller, Command| Required Element Summary | |
|---|---|
java.lang.String |
value
the name of the action. |
| Optional Element Summary | |
|---|---|
boolean |
generate
shall the CommandGenerator include this Action as a
generated Command; default false. |
Action.Security |
security
shall the generated Command use a secure connection (if
available); default Action.Security.KEEP. |
boolean |
stripSitemapID
shall the sitemap ID be stripped from the generated Command, if
generate() is true; default true. |
boolean |
stripSuffix
shall the suffix be stripped from the generated Command, if
generate() is true; default false. |
boolean |
uploadAllowed
shall multipart/form-data based uploads be allowed for the Action
; default false. |
| Element Detail |
|---|
public abstract java.lang.String value
Command.getAction()public abstract boolean generate
CommandGenerator include this Action as a
generated Command; default false.
public abstract Action.Security security
Command use a secure connection (if
available); default Action.Security.KEEP.
public abstract boolean stripSitemapID
Command, if
generate() is true; default true.
public abstract boolean stripSuffix
Command, if
generate() is true; default false.
public abstract boolean uploadAllowed
Action
; default false.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||