public class FulltextSystemProperty extends AbstractSystemProperty
SystemProperty which represents the full textual content of a Content.SystemProperty.EnumeratorDefinition| Modifier and Type | Field and Description |
|---|---|
protected boolean |
_stemmed
True for a stemmed full-text search, false otherwise.
|
_description, _i18nUtils, _id, _label, _pluginName| Constructor and Description |
|---|
FulltextSystemProperty() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Configuration configuration) |
Query |
getQuery(Object value,
Query.Operator operator,
String language,
Map<String,Object> contextualParameters)
Get the
Query associated to the given value. |
SearchField |
getSearchField()
Get the
SearchField representing this system property. |
MetadataType |
getType()
Get the property type.
|
Object |
getValue(Content content)
Get the value represented by this field in the given result content.
|
boolean |
isDisplayable()
Get if the property can be displayed (i.e.
|
boolean |
isMultiple()
Get the multiple status of the property.
|
boolean |
isSortable()
Get if the property can be sorted on.
|
_parseI18nizableText, getColumnWidth, getContentTypeId, getConverter, getDescription, getEnumeratorDefinition, getFullValue, getId, getLabel, getRenderer, getSchemaDefinitions, getSortValue, getWidget, getWidgetParameters, index, isSearchable, parseBoolean, parseDate, parseDouble, parseLong, parseString, parseStringArray, parseUserArray, service, setPluginInfogetLogger, setLoggerprotected boolean _stemmed
public FulltextSystemProperty()
public void configure(Configuration configuration) throws ConfigurationException
configure in interface Configurableconfigure in class AbstractSystemPropertyConfigurationExceptionpublic MetadataType getType()
SystemPropertypublic boolean isMultiple()
SystemPropertytrue if the property can have multiple values, false otherwise.public boolean isDisplayable()
SystemPropertyisDisplayable in interface SystemPropertyisDisplayable in class AbstractSystemPropertytrue if the property can be displayed, false otherwise.public boolean isSortable()
SystemPropertytrue if the property can be sorted on, false otherwise.public Query getQuery(Object value, Query.Operator operator, String language, Map<String,Object> contextualParameters)
SystemPropertyQuery associated to the given value.value - the user-submitted value for this property.operator - In advanced search mode, the operator chosen by the user. null to use the criterion-defined operator (simple search mode).language - The current search language.contextualParameters - the search contextual parameters.Query associated to the given value.public SearchField getSearchField()
SystemPropertySearchField representing this system property.public Object getValue(Content content)
SystemPropertycontent - the result content.