public class PagesSystemProperty extends AbstractSystemProperty
SystemProperty which represents the pages of a Content.SystemProperty.EnumeratorDefinition_description, _i18nUtils, _id, _label, _pluginName| Constructor and Description |
|---|
PagesSystemProperty() |
| 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.
|
String |
getWidget()
Get the default widget to use when rendering this property as a criterion.
|
Map<String,I18nizableText> |
getWidgetParameters()
Get the widget parameters.
|
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, configure, getColumnWidth, getContentTypeId, getConverter, getDescription, getEnumeratorDefinition, getFullValue, getId, getLabel, getRenderer, getSchemaDefinitions, getSortValue, index, isSearchable, parseBoolean, parseDate, parseDouble, parseLong, parseString, parseStringArray, parseUserArray, service, setPluginInfogetLogger, setLoggerpublic PagesSystemProperty()
public MetadataType getType()
SystemPropertypublic boolean isMultiple()
SystemPropertytrue if the property can have multiple values, false otherwise.public boolean isSortable()
SystemPropertytrue if the property can be sorted on, false otherwise.public boolean isDisplayable()
SystemPropertyisDisplayable in interface SystemPropertyisDisplayable in class AbstractSystemPropertytrue if the property can be displayed, 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 String getWidget()
SystemPropertygetWidget in interface SystemPropertygetWidget in class AbstractSystemPropertynull if no specific widget is necessary.public Map<String,I18nizableText> getWidgetParameters()
SystemPropertygetWidgetParameters in interface SystemPropertygetWidgetParameters in class AbstractSystemPropertypublic SearchField getSearchField()
SystemPropertySearchField representing this system property.public Object getValue(Content content)
SystemPropertycontent - the result content.