Interface ICustomFieldValues<T>


public interface ICustomFieldValues<T>
Configured values for a custom string field or a custom number field Values can be configured in CMS at at /CustomFields/(Tasks|Cases|Starts)/%name%/Values/%Value%
Since:
12.0.4
API:
This is a public API.
  • Method Details

    • all

      Iterable<T> all()

      All configured values for a custom string field or custom number field.

      Values can be configured in CMS at at /CustomFields/(Tasks|Cases|Starts)/%name%/Values/%value%

      Returns:
      all configured values
      API:
      This public API is available in Java.
    • matching

      Iterable<T> matching(String searchPattern)

      All configured values for a custom string field or custom number field that match the given searchPattern.

      Values can be configured in CMS at at /CustomFields/(Tasks|Cases|Starts)/%name%/Values/%value%

      All values are return that contains (case insensitive) the searchPattern in their localized text of the value.

      Parameters:
      searchPattern -
      Returns:
      matching configured values
      API:
      This public API is available in Java.
    • label

      String label(T value)

      Returns the localized text for the given value that is configured in the CMS. If no localized text is found in the CMS. then the value itself is return as a String.

      Parameters:
      value -
      Returns:
      localized text for the given value
      API:
      This public API is available in Java.
    • labels

      Returns a list with all values an the corresponding localized texts

      Returns:
      list of value, localized text pairs
      API:
      This public API is available in Java.