public class WordingSearchCriterionDefinition extends AbstractDefaultSearchCriterionDefinition
SearchCriterionDefinition
, based on FullTextQueries
Modifier and Type | Class and Description |
---|---|
static class |
WordingSearchCriterionDefinition.WordingType
The type of
WordingSearchCriterionDefinition |
Modifier and Type | Field and Description |
---|---|
private WordingSearchCriterionDefinition.WordingType |
_wordingType |
Constructor and Description |
---|
WordingSearchCriterionDefinition(String id,
String pluginName,
I18nizableText label,
Optional<Searchable> searchable,
WordingSearchCriterionDefinition.WordingType wordingType)
Constructs a
WordingSearchCriterionDefinition |
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
private WordingSearchCriterionDefinition.WordingType _wordingType
public WordingSearchCriterionDefinition(String id, String pluginName, I18nizableText label, Optional<Searchable> searchable, WordingSearchCriterionDefinition.WordingType wordingType)
WordingSearchCriterionDefinition
id
- The idpluginName
- The plugin namelabel
- The labelsearchable
- the Searchable
wordingType
- the type of WordingSearchCriterionDefinition
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.