Base implementation of list filter helper. Filter helper is used to add
filters and their form elements to the
ListWidget .
This class handles configuration for new filter such as strictness (e.g equal
is not allowed for greater than filter) as well as allow to predefine custom
labels for fields that are not added to the standard list of list fields but
are used in filter form elements instead.
Adds custom label for specified field. This can override already defined
label of list field. Those labels are used by new filter form elements
that are automatically created for list filters.
Parameters: fieldId - field id. Parameters: labelId - label id (not yet resolved).
Adds custom comparator for the specified field. This just proxies the
call to TypeHelper#addCustomComparator(String, Comparator).
Parameters: fieldId - field id. Parameters: comp - custom comparator. See Also:TypeHelper.addCustomComparator(StringComparator)
Returns whether the basic configuration that specifies which items are
shown has changed since last call to this
BaseFilterHelper 's
BaseFilterHelper.checkChanged
method.
since: 1.1