Annotation Interface PubServerMethodParameter


@Target(PARAMETER) @Retention(RUNTIME) public @interface PubServerMethodParameter
Declares 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="<Entity.ResultList>", 
   description="text list as result from selected querymethod in dataprovider"
   ) List texts
 
  • 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[] listOfValues

      List of values applicable for this parameter

      List of values applicable for this parameter.
      If listOfValues() 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).
      If defaultValue() 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 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=UNDEFINED)
    • conjunction

      Conjunction (Logical criteria) between search parameters

      It is for the find statements to build "search relationship" between search parameters.

      Default:
      OR