Package org.ametys.cms.search.systemprop
Class CreatorSystemProperty
- 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.CreatorSystemProperty
-
- All Implemented Interfaces:
SystemProperty
,LogEnabled
,PluginAware
,Configurable
,Serviceable
public class CreatorSystemProperty extends AbstractUserSystemProperty
SystemProperty
which represents the creator 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
-
-
Constructor Summary
Constructors Constructor Description CreatorSystemProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
_getSolrFieldName()
Get the Solr field nameprotected UserIdentity
_getUserIdentityValue(Content content)
Get the value asUserIdentity
SearchField
getSearchField()
Get theSearchField
representing this system property.boolean
isMultiple()
Get the multiple status of the property.boolean
isSortable()
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 Detail
-
CreatorSystemProperty
public CreatorSystemProperty()
-
-
Method Detail
-
_getSolrFieldName
protected String _getSolrFieldName()
Description copied from class:AbstractUserSystemProperty
Get the Solr field name- Specified by:
_getSolrFieldName
in classAbstractUserSystemProperty
- Returns:
- the field name
-
isMultiple
public boolean 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
public boolean 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.
-
getSearchField
public SearchField getSearchField()
Description copied from interface:SystemProperty
Get theSearchField
representing this system property.- Returns:
- The search field representing this system property.
-
_getUserIdentityValue
protected UserIdentity _getUserIdentityValue(Content content)
Description copied from class:AbstractUserSystemProperty
Get the value asUserIdentity
- Specified by:
_getUserIdentityValue
in classAbstractUserSystemProperty
- Parameters:
content
- the content- Returns:
- the user identity
-
-