Enum Class FilterableType
- All Implemented Interfaces:
Serializable,Comparable<FilterableType>,Constable
Type of filters that can be used in the faceted search.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe categorical filter provides the full list of possible values for the field, rendered as a list of clickable items (that will filter for equality).The default filter provides a list of standard operators customized to the field type (e.g. -
Method Summary
Modifier and TypeMethodDescriptionstatic FilterableTypeReturns the enum constant of this class with the specified name.static FilterableType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
The default filter provides a list of standard operators customized to the field type (e.g. greater than/less than/equals for numbers, after/before/equals for dates, contains/equals for strings, etc...), with, if applicable, an autocomplete form if the field references a foreign key. -
CATEGORICAL
The categorical filter provides the full list of possible values for the field, rendered as a list of clickable items (that will filter for equality). This provides a better UX if the field can take a limited number of values and it's more convenient to have them all on screen rather than typing them.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-