|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=FIELD) public @interface Param
To be used on an operation field to inject operation parameters from the current context. If the parameter to inject cannot be found in the operation parameters map (or it is set to null) then if required is true then an error is thrown otherwise the injection will not be done (and any default value set in the code will be preserved). The default is true - i.e. do not allow missing entries in operation parameter map.
OperationParameters
Required Element Summary | |
---|---|
java.lang.String |
name
The parameter key in the operation parameters map. |
Optional Element Summary | |
---|---|
int |
order
Optional attribute to set a parameter order, used for ordering them when presenting the UI form to fill. |
boolean |
required
If the parameter to inject cannot be found in the operation parameters map (or it is set to null) then if required is true then an error is thrown otherwise the injection will not be done (and any default value set in the code will be preserved). |
java.lang.String[] |
values
Optional attribute - useful to generate operation documentation. |
java.lang.String |
widget
Optional attribute - useful to generate operation documentation. |
Element Detail |
---|
public abstract java.lang.String name
public abstract boolean required
public abstract java.lang.String widget
public abstract java.lang.String[] values
public abstract int order
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |