public class PageTitleSearchCriterionDefinition extends AbstractDefaultSearchCriterionDefinition
SearchCriterionDefinition
for PageSearchable
proposing a search criterion on the title of the page.Constructor and Description |
---|
PageTitleSearchCriterionDefinition(String id,
String pluginName,
I18nizableText label,
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 PageTitleSearchCriterionDefinition(String id, String pluginName, I18nizableText label, Optional<Searchable> searchable)
id
- The idpluginName
- The plugin namelabel
- The labelsearchable
- 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.