public class IndexingStringFieldAggregatorSearchUICriterion extends AbstractSearchUICriterion implements Contextualizable, Disposable
| Modifier and Type | Field and Description |
|---|---|
protected Context |
_context
The context.
|
protected ThreadSafeComponentManager<SearchUICriterion> |
_fieldCriteriaManager
ComponentManager for aggregated
SearchUICriterions. |
protected Map<String,SearchUICriterion> |
_fieldCriteriaMap
The map of aggregated criteria
|
protected ServiceManager |
_manager
The service manager
|
static String |
SEARCH_CRITERIA_METADATA_AGGREGATOR_PREFIX
Prefix for id of indexing field aggregator search criteria
|
_cTypeEP, _resolver, _userManager, _userPopulationDAO| Constructor and Description |
|---|
IndexingStringFieldAggregatorSearchUICriterion() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Configuration configuration) |
protected void |
configureId(Configuration configuration)
Configure the criterion ID.
|
void |
contextualize(Context context) |
void |
dispose() |
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.
|
boolean |
isSortable()
Test if the SearchCriterion is sortable.
|
void |
service(ServiceManager manager) |
_configureI18nizableText, _initializeValidator, configureLabelsAndGroup, configureUIProperties, configureValues, getChangeClassName, getContentTypeId, getFacetLabel, getGroup, getInitClassName, getMetadataDefinition, getSearchField, getSubmitClassName, isHidden, isMultiple, setChangeClassName, setContentTypeId, setGroup, setHidden, setInitClassName, setMultiple, setSubmitClassNamegetDefaultValue, getDescription, getEnumerator, getId, getLabel, getPluginName, getValidator, getWidget, getWidgetParameters, setDefaultValue, setDescription, setEnumerator, setId, setLabel, setPluginName, setType, setValidator, setWidget, setWidgetParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultValue, getDescription, getLabel, getValidator, getWidget, getWidgetParametersgetId, getQuery, isFacetable, isFacetable, isSortablegetEnumeratorpublic static final String SEARCH_CRITERIA_METADATA_AGGREGATOR_PREFIX
protected ThreadSafeComponentManager<SearchUICriterion> _fieldCriteriaManager
SearchUICriterions.protected Map<String,SearchUICriterion> _fieldCriteriaMap
protected ServiceManager _manager
public IndexingStringFieldAggregatorSearchUICriterion()
public void contextualize(Context context) throws ContextException
contextualize in interface ContextualizableContextExceptionpublic void service(ServiceManager manager) throws ServiceException
service in interface Serviceableservice in class AbstractSearchUICriterionServiceExceptionpublic void configure(Configuration configuration) throws ConfigurationException
configure in interface Configurableconfigure in class AbstractSearchUICriterionConfigurationExceptionprotected void configureId(Configuration configuration) throws ConfigurationException
AbstractSearchUICriterionconfigureId in class AbstractSearchUICriterionconfiguration - The search criterion configuration.ConfigurationException - If an error occurs.public 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.getQuery in interface SearchCriterionvalue - 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 void dispose()
dispose in interface Disposablepublic String getFieldId()
SearchUICriteriongetFieldId in interface SearchUICriterionpublic boolean isSortable()
SearchCriterionisSortable in interface SearchCriteriontrue if the criterion is sortable, false otherwise.public Query.Operator getOperator()
SearchCriteriongetOperator in interface SearchCriterion