public class SitemapSearchCriterionDefinition extends AbstractDefaultSearchCriterionDefinition
SearchCriterionDefinition
proposing a search criterion on the sitemap of the indexed document.Constructor and Description |
---|
SitemapSearchCriterionDefinition(String id,
String pluginName,
I18nizableText label,
LanguageEnumerator siteEnumerator,
Optional<Searchable> searchable)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
Query |
getQuery(Object value,
Query.Operator operator,
String language,
Map<String,Object> contextualParameters)
Gets the query associated to the given value
|
dispose, getEnumeratedValues, getSearchable, isEnumerated, toJSON
getDefaultValue, getDescription, getEnumerator, getId, getLabel, getPluginName, getType, getValidator, getWidget, getWidgetParameters, setDefaultValue, setDescription, setEnumerator, setId, setLabel, setPluginName, setType, setValidator, setWidget, setWidgetParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContextPrefixLabels, getId, getLabel, getType, getValidator, getWidget, getWidgetParameters
public SitemapSearchCriterionDefinition(String id, String pluginName, I18nizableText label, LanguageEnumerator siteEnumerator, Optional<Searchable> searchable)
id
- The idpluginName
- The plugin namelabel
- The labelsiteEnumerator
- The LanguageEnumerator
searchable
- The Searchable
public Query getQuery(Object value, Query.Operator operator, String language, Map<String,Object> contextualParameters)
SearchCriterionDefinition
value
- the valueoperator
- the operatorlanguage
- The current search language.contextualParameters
- the search contextual parameters.