Annotation Interface PubServerMethodParameter
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="<Entity.ResultList>", description="text list as result from selected querymethod in dataprovider" ) Listtexts
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumConjunction operators between search parametersstatic enumSources for parameter values. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionConjunction (Logical criteria) between search parametersString[]List of values applicable for this parameterSource for this parameter.Value for this parameter.
-
Element Details
-
name
String name- Returns:
- name of the argument as it will be visible in clients
- Default:
- ""
-
defaultValue
String defaultValue- Returns:
- default value of the argument as it will be visible in clients
- Default:
- ""
-
description
String description- Returns:
- description of the argument as it will be visible in clients
- Default:
- ""
-
listOfValues
String[] listOfValuesList 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
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:
- USER
-
value
Value valueValue 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=UNDEFINED)
-
conjunction
PubServerMethodParameter.Conjunction conjunctionConjunction (Logical criteria) between search parameters
It is for the find statements to build "search relationship" between search parameters.
- Default:
- OR
-