Annotation Type PubServerMethodParameter
-
@Target(PARAMETER) @Retention(RUNTIME) public @interface PubServerMethodParameterDeclares a parameter for a Publishing Server method.Arguments of annotated with PubServerMethodParameter will be visible in ison for project configuration.
Expects the method itself is annotated as PubServerMethod.An example:
@PubServerMethodParameter( name = "texts", defaultValue="
", description="text list as result from selected querymethod in dataprovider" ) List texts
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description PubServerMethodParameter.ConjunctionconjunctionConjunction (Logical criteria) between search parametersjava.lang.StringdefaultValuejava.lang.Stringdescriptionjava.lang.String[]listOfValuesList of values applicable for this parameterjava.lang.StringnamePubServerMethodParameter.SourcesourceSource for this parameter.ValuevalueValue for this parameter.
-
-
-
-
listOfValues
java.lang.String[] listOfValues
List of values applicable for this parameter
List of values applicable for this parameter.
IflistOfValues()is non empty, client applications are supposed to use one of the values of this array (e.g. by showing a popup instead of text input field for parameter values).
IfdefaultValue()is also set (i.e. non empty), this value should be preselected.- Returns:
- list of values applicable for this parameter.
- Default:
- {""}
-
-
-
source
PubServerMethodParameter.Source source
Source for this parameter.
Source for this parameter. Source is a hint for client application, whether this parameter is configurable for users or is calculated by the application.
- Returns:
- source for this parameter
- Default:
- com.priint.pubserver.plugin.annotation.PubServerMethodParameter.Source.USER
-
-
-
value
Value value
Value for this parameter.
Value for this parameter. Value is a hint for client application, it contains list of default ValueItem. Client applications are supposed to use one of the values
- Returns:
- Value for this parameter
- Default:
- @com.priint.pubserver.plugin.annotation.Value(type=com.priint.pubserver.plugin.annotation.Value.Type.UNDEFINED)
-
-
-
conjunction
PubServerMethodParameter.Conjunction conjunction
Conjunction (Logical criteria) between search parameters
It is for the find statements to build "search relationship" between search parameters.
- Default:
- com.priint.pubserver.plugin.annotation.PubServerMethodParameter.Conjunction.OR
-
-