Package org.ametys.cms.search.systemprop
Class ContributorSystemProperty
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.cms.search.systemprop.AbstractSystemProperty
org.ametys.cms.search.systemprop.AbstractUserSystemProperty
org.ametys.cms.search.systemprop.ContributorSystemProperty
- All Implemented Interfaces:
SystemProperty
,LogEnabled
,PluginAware
,Configurable
,Serviceable
SystemProperty
which represents the last contributor of a content.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.cms.search.model.SystemProperty
SystemProperty.EnumeratorDefinition
-
Field Summary
Fields inherited from class org.ametys.cms.search.systemprop.AbstractSystemProperty
_description, _i18nUtils, _id, _label, _pluginName, _resolver, _userHelper, _userManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
Get the Solr field nameprotected UserIdentity
_getUserIdentityValue
(Content content) Get the value asUserIdentity
Get theSearchField
representing this system property.boolean
Get the multiple status of the property.boolean
Get if the property can be sorted on.Methods inherited from class org.ametys.cms.search.systemprop.AbstractUserSystemProperty
getJsonValue, getQuery, getRenderer, getSortValue, getType, getValue
Methods inherited from class org.ametys.cms.search.systemprop.AbstractSystemProperty
_indexBooleanValue, _indexBooleanValues, _indexDateValue, _indexDateValues, _indexDoubleValue, _indexDoubleValues, _indexGeocodeValue, _indexLongValue, _indexLongValues, _indexStringValue, _indexStringValues, _indexUserValue, _indexUserValues, _parseI18nizableText, configure, getDescription, getId, getLabel, getSchemaDefinitions, index, parseBoolean, parseDate, parseDouble, parseLong, parseString, parseStringArray, parseUserArray, saxValue, service, setPluginInfo
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.cms.search.model.SystemProperty
getColumnWidth, getContentTypeId, getConverter, getEnumeratorDefinition, getWidget, getWidgetParameters, isDisplayable, isFacetable, isSearchable
-
Constructor Details
-
ContributorSystemProperty
public ContributorSystemProperty()
-
-
Method Details
-
isMultiple
Description copied from interface:SystemProperty
Get the multiple status of the property.- Returns:
true
if the property can have multiple values,false
otherwise.
-
isSortable
Description copied from interface:SystemProperty
Get if the property can be sorted on.- Returns:
true
if the property can be sorted on,false
otherwise.
-
_getSolrFieldName
Description copied from class:AbstractUserSystemProperty
Get the Solr field name- Specified by:
_getSolrFieldName
in classAbstractUserSystemProperty
- Returns:
- the field name
-
_getUserIdentityValue
Description copied from class:AbstractUserSystemProperty
Get the value asUserIdentity
- Specified by:
_getUserIdentityValue
in classAbstractUserSystemProperty
- Parameters:
content
- the content- Returns:
- the user identity
-
getSearchField
Description copied from interface:SystemProperty
Get theSearchField
representing this system property.- Returns:
- The search field representing this system property.
-