Get filters
Your application can retrieve a list of fields that have been set up as
filters and their values by calling the getFilters
method.
Filters getFilters(TopicsServiceContext topicsServiceContext,
FieldContext fieldContext)
throws InvalidArgumentException, TopicsServiceException;
To retrieve a list of fields that have been set up as filters:
- Filters value object
The Filters object is returned from thegetFilters
method and is an ordered list of filter field names. - Filtering results
An end user might use this method, for example, when looking for topics with a drug name in a custom field. - Sorting results
An end user can sort the topic, topic template, or work team field values. - TopicsSortOrder value object
Set the fieldName field to the name of the topic, topic template, or work team to sort on.
Parent topic: Methods