public interface SearchUICriterion extends SearchCriterion
SearchModel
Modifier and Type | Method and Description |
---|---|
String |
getChangeClassName()
Get the JS class name to execute on 'change' event
|
Object |
getDefaultValue()
Retrieves the default value.
If the criterion is hidden, this represents a fixed value for the criterion. |
I18nizableText |
getDescription()
Retrieves the description.
|
I18nizableText |
getFacetLabel(String value,
Locale currentLocale)
Get the label of a facet value.
|
String |
getFieldId()
Get the field identifier.
|
I18nizableText |
getGroup()
Get the group of the search criterion
|
String |
getInitClassName()
Get the JS class name to execute on 'init' event
|
I18nizableText |
getLabel()
Retrieves the label.
|
String |
getSubmitClassName()
Get the JS class name to execute on 'submit' event
|
Validator |
getValidator()
Retrieves the validator.
|
String |
getWidget()
Retrieves the widget to use for rendering.
|
Map<String,I18nizableText> |
getWidgetParameters()
Get the widget's parameters
|
boolean |
isHidden()
Determines if the criterion is hidden
|
getId, getOperator, getQuery, getQuery, getSearchField, isFacetable, isFacetable, isSortable, isSortable
getContentTypeId, getEnumerator, getType, isMultiple
I18nizableText getLabel()
I18nizableText getDescription()
String getFieldId()
I18nizableText getGroup()
null
if the search criterion does not belong to any group, the name of the group otherwiseString getInitClassName()
String getSubmitClassName()
String getChangeClassName()
boolean isHidden()
true
if the criterion is hiddenString getWidget()
null
if none is defined.Map<String,I18nizableText> getWidgetParameters()
Validator getValidator()
null
if none is defined.Object getDefaultValue()
null
if none is defined.I18nizableText getFacetLabel(String value, Locale currentLocale)
value
- the facet value.currentLocale
- the current locale