public class PageSearchUICriterion extends AbstractCustomSearchUICriterion
SearchUICriterion searching a specific page and its sub-tree._cTypeEP, _resolver, _userManager, _userPopulationDAO| Constructor and Description |
|---|
PageSearchUICriterion() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Configuration configuration) |
String |
getFieldId()
Get the field identifier.
|
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. |
MetadataType |
getType()
Retrieves the type.
|
String |
getWidget()
Retrieves the widget to use for rendering.
|
Map<String,I18nizableText> |
getWidgetParameters()
Get the widget's parameters
|
boolean |
isSortable()
Test if the SearchCriterion is sortable.
|
configureId_configureI18nizableText, _initializeValidator, configureLabelsAndGroup, configureUIProperties, configureValues, getChangeClassName, getContentTypeId, getFacetLabel, getGroup, getInitClassName, getMetadataDefinition, getSearchField, getSubmitClassName, isHidden, isMultiple, service, setChangeClassName, setContentTypeId, setGroup, setHidden, setInitClassName, setMultiple, setSubmitClassNamegetDefaultValue, getDescription, getEnumerator, getId, getLabel, getPluginName, getValidator, setDefaultValue, setDescription, setEnumerator, setId, setLabel, setPluginName, setType, setValidator, setWidget, setWidgetParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultValue, getDescription, getLabel, getValidatorgetId, getQuery, isFacetable, isFacetable, isSortablegetEnumeratorpublic PageSearchUICriterion()
public void configure(Configuration configuration) throws ConfigurationException
configure in interface Configurableconfigure in class AbstractSearchUICriterionConfigurationExceptionpublic MetadataType getType()
ParametergetType in interface FieldgetType in class Parameter<MetadataType>public Query getQuery(Object value, Query.Operator customOperator, Map<String,Object> allValues, String language, Map<String,Object> contextualParameters)
SearchCriterionQuery 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.public String getWidget()
ParametergetWidget in interface SearchUICriteriongetWidget in class Parameter<MetadataType>null if none is defined.public Map<String,I18nizableText> getWidgetParameters()
ParametergetWidgetParameters in interface SearchUICriteriongetWidgetParameters in class Parameter<MetadataType>public String getFieldId()
SearchUICriterionpublic boolean isSortable()
SearchCriteriontrue if the criterion is sortable, false otherwise.public Query.Operator getOperator()
SearchCriterion