public class CollectionsSystemProperty extends AbstractSystemProperty
SystemProperty
which represents the synchronizable contents collections of a content.SystemProperty.EnumeratorDefinition
_description, _i18nUtils, _id, _label, _pluginName
Constructor and Description |
---|
CollectionsSystemProperty() |
Modifier and Type | Method and Description |
---|---|
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 |
isMultiple()
Get the multiple status of the property.
|
boolean |
isSortable()
Get if the property can be sorted on.
|
_parseI18nizableText, configure, getColumnWidth, getContentTypeId, getConverter, getDescription, getEnumeratorDefinition, getFullValue, getId, getLabel, getRenderer, getSchemaDefinitions, getSortValue, getWidget, getWidgetParameters, index, isDisplayable, isSearchable, parseBoolean, parseDate, parseDouble, parseLong, parseString, parseStringArray, parseUserArray, service, setPluginInfo
getLogger, setLogger
public CollectionsSystemProperty()
public MetadataType getType()
SystemProperty
public boolean isMultiple()
SystemProperty
true
if the property can have multiple values, false
otherwise.public boolean isSortable()
SystemProperty
true
if the property can be sorted on, false
otherwise.public Query getQuery(Object value, Query.Operator operator, String language, Map<String,Object> contextualParameters)
SystemProperty
Query
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()
SystemProperty
SearchField
representing this system property.public Object getValue(Content content)
SystemProperty
content
- the result content.