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
SystemPropertywhich 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 asUserIdentitySearchFieldgetSearchField()Get theSearchFieldrepresenting this system property.booleanisMultiple()Get the multiple status of the property.booleanisSortable()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:AbstractUserSystemPropertyGet the Solr field name- Specified by:
_getSolrFieldNamein classAbstractUserSystemProperty- Returns:
- the field name
-
isMultiple
public boolean isMultiple()
Description copied from interface:SystemPropertyGet the multiple status of the property.- Returns:
trueif the property can have multiple values,falseotherwise.
-
isSortable
public boolean isSortable()
Description copied from interface:SystemPropertyGet if the property can be sorted on.- Returns:
trueif the property can be sorted on,falseotherwise.
-
getSearchField
public SearchField getSearchField()
Description copied from interface:SystemPropertyGet theSearchFieldrepresenting this system property.- Returns:
- The search field representing this system property.
-
_getUserIdentityValue
protected UserIdentity _getUserIdentityValue(Content content)
Description copied from class:AbstractUserSystemPropertyGet the value asUserIdentity- Specified by:
_getUserIdentityValuein classAbstractUserSystemProperty- Parameters:
content- the content- Returns:
- the user identity
-
-