|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=SOURCE) @Target(value=TYPE) public @interface RooWebJson
Indicates a type that requires ROO controller support.
This annotation will cause ROO to produce code that would typically appear in MVC JSON-enabled controllers.
| Required Element Summary | |
|---|---|
Class<?> |
jsonObject
Every controller is responsible for a single JSON-enabled object. |
| Optional Element Summary | |
|---|---|
String |
createFromJsonArrayMethod
Creates a createFromJsonArray() method which finds all objects. |
String |
createFromJsonMethod
Creates a createFromJson() method which finds all objects. |
String |
deleteFromJsonMethod
Creates a deleteFromJson() method which finds all objects. |
boolean |
exposeFinders
Will scan the formBackingObjects for installed finder methods and expose them when configured. |
String |
listJsonMethod
Creates a listJson() method which finds all objects. |
String |
showJsonMethod
Creates a showJson() method which finds an object for a given id. |
String |
updateFromJsonArrayMethod
Creates a updateFromJsonArray() method which finds all objects. |
String |
updateFromJsonMethod
Creates a updateFromJson() method which finds all objects. |
| Element Detail |
|---|
public abstract Class<?> jsonObject
public abstract String createFromJsonArrayMethod
public abstract String createFromJsonMethod
public abstract String deleteFromJsonMethod
public abstract boolean exposeFinders
public abstract String listJsonMethod
public abstract String showJsonMethod
public abstract String updateFromJsonArrayMethod
public abstract String updateFromJsonMethod
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||