protected class DynamicWrappedSearchUIModel.WrappedSearchUICriterion extends AbstractSearchUICriterion
Modifier and Type | Field and Description |
---|---|
protected SearchUICriterion |
_wrappedCriterion
The wrapped search criteria.
|
_cTypeEP, _resolver, _userManager, _userPopulationDAO
Constructor and Description |
---|
WrappedSearchUICriterion(SearchUICriterion wrappedCriteria,
Enumerator enumerator)
Build a search criteria wrapper.
|
Modifier and Type | Method and Description |
---|---|
String |
getChangeClassName()
Get the JS class name to execute on 'change' event
|
String |
getContentTypeId()
Get the content type ID (only when the search criteria is of type CONTENT).
|
Object |
getDefaultValue()
Retrieves the default value.
|
I18nizableText |
getDescription()
Retrieves the description.
|
Enumerator |
getEnumerator()
Retrieves the enumerator.
|
String |
getFieldId()
Get the field identifier.
|
String |
getId()
Get the id.
|
String |
getInitClassName()
Get the JS class name to execute on 'init' event
|
I18nizableText |
getLabel()
Retrieves the label.
|
Query.Operator |
getOperator()
Get the criterion Operator.
|
Query |
getQuery(Object value,
Query.Operator customOperator,
Map<String,Object> allValues,
String language,
Map<String,Object> contextualParameters)
Get the
Query associated to the given value. |
String |
getSubmitClassName()
Get the JS class name to execute on 'submit' event
|
MetadataType |
getType()
Retrieves the type.
|
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 criteria is hidden
|
boolean |
isMultiple()
Determines if the column value is multiple
|
_configureI18nizableText, _initializeValidator, configure, configureId, configureLabelsAndGroup, configureUIProperties, configureValues, getFacetLabel, getGroup, getMetadataDefinition, getSearchField, service, setChangeClassName, setContentTypeId, setGroup, setHidden, setInitClassName, setMultiple, setSubmitClassName
getPluginName, setDefaultValue, setDescription, setEnumerator, setId, setLabel, setPluginName, setType, setValidator, setWidget, setWidgetParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getQuery, isFacetable, isFacetable, isSortable, isSortable
protected SearchUICriterion _wrappedCriterion
public WrappedSearchUICriterion(SearchUICriterion wrappedCriteria, Enumerator enumerator)
wrappedCriteria
- wrapped search criteria.enumerator
- the new enumerator.public Enumerator getEnumerator()
Parameter
getEnumerator
in interface Field
getEnumerator
in class Parameter<MetadataType>
null
if none is defined.public String getId()
Parameter
getId
in interface SearchCriterion
getId
in class Parameter<MetadataType>
public I18nizableText getLabel()
Parameter
getLabel
in interface SearchUICriterion
getLabel
in class Parameter<MetadataType>
public I18nizableText getDescription()
Parameter
getDescription
in interface SearchUICriterion
getDescription
in class Parameter<MetadataType>
public String getFieldId()
SearchUICriterion
public String getInitClassName()
AbstractSearchUICriterion
getInitClassName
in interface SearchUICriterion
getInitClassName
in class AbstractSearchUICriterion
public String getSubmitClassName()
AbstractSearchUICriterion
getSubmitClassName
in interface SearchUICriterion
getSubmitClassName
in class AbstractSearchUICriterion
public String getChangeClassName()
AbstractSearchUICriterion
getChangeClassName
in interface SearchUICriterion
getChangeClassName
in class AbstractSearchUICriterion
public boolean isHidden()
AbstractSearchUICriterion
isHidden
in interface SearchUICriterion
isHidden
in class AbstractSearchUICriterion
true
if the criteria is hiddenpublic MetadataType getType()
Parameter
getType
in interface Field
getType
in class Parameter<MetadataType>
public boolean isMultiple()
AbstractSearchUICriterion
isMultiple
in interface Field
isMultiple
in class AbstractSearchUICriterion
true
if the value is multiplepublic String getWidget()
Parameter
getWidget
in interface SearchUICriterion
getWidget
in class Parameter<MetadataType>
null
if none is defined.public Map<String,I18nizableText> getWidgetParameters()
Parameter
getWidgetParameters
in interface SearchUICriterion
getWidgetParameters
in class Parameter<MetadataType>
public Validator getValidator()
Parameter
getValidator
in interface SearchUICriterion
getValidator
in class Parameter<MetadataType>
null
if none is defined.public Object getDefaultValue()
Parameter
getDefaultValue
in interface SearchUICriterion
getDefaultValue
in class Parameter<MetadataType>
null
if none is defined.public String getContentTypeId()
AbstractSearchUICriterion
getContentTypeId
in interface Field
getContentTypeId
in class AbstractSearchUICriterion
public Query.Operator getOperator()
SearchCriterion
public Query getQuery(Object value, Query.Operator customOperator, Map<String,Object> allValues, String language, Map<String,Object> contextualParameters)
SearchCriterion
Query
associated to the given value.value
- The user-submitted value (or the default value if not set) for this criterion.customOperator
- In advanced search mode, the operator chosen by the user. null
to use the criterion-defined operator (simple search mode).allValues
- All the user-submitted values.language
- The current search language.contextualParameters
- the search contextual parameters.Query
associated to the given value.