|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value={FIELD,METHOD,PARAMETER}) @Documented public @interface RetrieveEntity
Retrieve the annotated property from the database if the id to retrieve is included in the current request. To use this, a RetrieveEntityInterceptor must be configured in the Dependency Injection framework.
Optional Element Summary | |
---|---|
java.lang.String[] |
except
the list of events in which this validation does NOT place, empty for none. |
java.lang.String |
idPropertyName
The property to search for. |
java.lang.String[] |
on
the list of events in which this validation takes place, empty for all. |
java.lang.String |
propertyPath
if provided, applies to the property path instead of the annotated property |
boolean |
readOnly
setReadOnly will be invoked right after fetching the object from the database. |
public abstract java.lang.String propertyPath
public abstract java.lang.String[] on
public abstract java.lang.String[] except
public abstract java.lang.String idPropertyName
public abstract boolean readOnly
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |