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.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionall()All configured values for acustom string fieldorcustom number field.Returns the localized text for the given value that is configured in the CMS.labels()Returns a list with all values an the corresponding localized textsAll configured values for acustom string fieldorcustom number fieldthat match the given searchPattern.
-
Method Details
-
all
All configured values for a
custom string fieldorcustom 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
All configured values for a
custom string fieldorcustom number fieldthat 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
searchPatternin their localized text of the value.- Parameters:
searchPattern-- Returns:
- matching configured values
- API:
- This public API is available in Java.
-
label
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
List<ICustomFieldValues.ValueLabel<T>> 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.
-