|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Contract @Retention(value=RUNTIME) @Target(value=METHOD) @InhabitantAnnotation(value="default") public @interface Listing
List command annotation.
Follow the same pattern as Create or Delete annotations
to generate a command implementation to list elements.
Types of elements are listed are infered from the annotated method and
parent instance to get the list of elements from must be returned by
the resolver.
See Create for initialization information
| Required Element Summary | |
|---|---|
I18n |
i18n
Returns the i18n key that will be used to look up a localized string in the annotated type module. |
java.lang.String |
value
Name of the command that will be used to register this generic command implementation under. |
| Optional Element Summary | |
|---|---|
java.lang.Class<? extends CrudResolver> |
resolver
Returns the instance of the parent that should be used get the list of children. |
| Element Detail |
|---|
@Index public abstract java.lang.String value
public abstract I18n i18n
public abstract java.lang.Class<? extends CrudResolver> resolver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||