Class ParameterSelect

java.lang.Object
de.espirit.firstspirit.webedit.plugin.report.ParameterSelect
All Implemented Interfaces:
Parameter<String>, Parameter<String>, Serializable

@Deprecated @GwtCompatible public class ParameterSelect extends Object implements Parameter<String>
Deprecated.
since 5.1.5 - use ParameterSelect instead
Selection parameter definition. On the client side, this parameter is represented by a listbox.
Since:
5.0.103
See Also:
  • Constructor Details

    • ParameterSelect

      public ParameterSelect(String name, List<ParameterSelect.SelectItem> items, @Nullable @Nullable String defaultValue)
      Deprecated.
      Creates a new String-typed selection parameter, using the given attributes.
      Parameters:
      name - Name of this parameter, should be unique within a WebeditReportPlugin.
      items - List of selectable items for the related listbox on client side.
      defaultValue - The default value of this parameter.
      Since:
      5.0.103
  • Method Details

    • getName

      public String getName()
      Deprecated.
      Privides the parameter's name.
      Specified by:
      getName in interface Parameter<String>
      Specified by:
      getName in interface Parameter<String>
      Returns:
      The parameter's name.
      Since:
      5.0.103
    • cast

      public String cast(Object object)
      Deprecated.
      Cast's the given object to the parameter's value type.
      Specified by:
      cast in interface Parameter<String>
      Parameters:
      object - The object to be cast.
      Returns:
      The cast object.
      Since:
      5.0.103
    • getDefaultValue

      public String getDefaultValue()
      Deprecated.
      Provides the parameter's default value.
      Specified by:
      getDefaultValue in interface Parameter<String>
      Specified by:
      getDefaultValue in interface Parameter<String>
      Returns:
      The default value.
      Since:
      5.0.103
    • getItems

      public List<ParameterSelect.SelectItem> getItems()
      Deprecated.
      Returns the list of selectable items for the related listbox on client side.
      Returns:
      Selectable items.
      Since:
      5.0.103