|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface Event
This annotation modifies the configuration associated to the annotated event method.
Optional Element Summary | |
---|---|
java.lang.String[] |
afterCreate
This method will be called before action.setContext(). |
java.lang.String[] |
beforeExecute
This method will be called after validation and before calling the action event method |
java.lang.String[] |
beforePopulate
This method will be called before population (injecting the request values into action properties), except any property annotated with EagerProperty . |
java.lang.String[] |
beforeValidate
This method will be called after population and before the validation of the action properties. |
boolean |
defaultEvent
True if this is the default event, default to false Default evvents are triggered when the 'event' value is missing |
java.lang.String[] |
doFinally
This method will be called after the request has been processed, even if there is any exception. |
java.lang.String[] |
onError
This method will be called if validation/conversion errors have happened. |
public abstract boolean defaultEvent
public abstract java.lang.String[] afterCreate
public abstract java.lang.String[] beforePopulate
EagerProperty
.
This handler is the intended place to retrieve data from any database,
using the configured eager properties as primary keys.
public abstract java.lang.String[] beforeValidate
public abstract java.lang.String[] onError
public abstract java.lang.String[] beforeExecute
public abstract java.lang.String[] doFinally
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |