public class ContentPrivacySystemProperty extends AbstractSystemProperty
SystemProperty which represents the privacy level of a Content ("public", "protected" or "private").SystemProperty.EnumeratorDefinition| Modifier and Type | Field and Description |
|---|---|
private static Map<String,I18nizableText> |
_ENUMERATOR_ENTRIES |
private SiteConfigurationExtensionPoint |
_siteConfigurationEP |
_description, _i18nUtils, _id, _label, _pluginName| Constructor and Description |
|---|
ContentPrivacySystemProperty() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getColumnWidth()
Get the column width.
|
String |
getConverter()
Get the property column converter.
|
SystemProperty.EnumeratorDefinition |
getEnumeratorDefinition(Collection<String> contentTypes,
Configuration configuration)
Get the definition of an enumerator.
|
Object |
getFullValue(Content content)
Get the value represented by this field in the given result content.
|
Query |
getQuery(Object value,
Query.Operator operator,
String language,
Map<String,Object> contextualParameters)
Get the
Query associated to the given value. |
String |
getRenderer()
Get the renderer.
|
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.
|
void |
service(ServiceManager manager) |
_parseI18nizableText, configure, getContentTypeId, getDescription, getId, getLabel, getSchemaDefinitions, getSortValue, getWidget, getWidgetParameters, index, isDisplayable, isSearchable, parseBoolean, parseDate, parseDouble, parseLong, parseString, parseStringArray, parseUserArray, setPluginInfogetLogger, setLoggerprivate static final Map<String,I18nizableText> _ENUMERATOR_ENTRIES
private SiteConfigurationExtensionPoint _siteConfigurationEP
public ContentPrivacySystemProperty()
public void service(ServiceManager manager) throws ServiceException
service in interface Serviceableservice in class AbstractSystemPropertyServiceExceptionpublic 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 Integer getColumnWidth()
SystemPropertygetColumnWidth in interface SystemPropertygetColumnWidth in class AbstractSystemPropertypublic 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 getRenderer()
SystemPropertygetRenderer in interface SystemPropertygetRenderer in class AbstractSystemPropertypublic String getConverter()
SystemPropertygetConverter in interface SystemPropertygetConverter in class AbstractSystemPropertypublic SearchField getSearchField()
SystemPropertySearchField representing this system property.public Object getValue(Content content)
SystemPropertycontent - the result content.public Object getFullValue(Content content)
SystemPropertygetFullValue in interface SystemPropertygetFullValue in class AbstractSystemPropertycontent - the result content.public SystemProperty.EnumeratorDefinition getEnumeratorDefinition(Collection<String> contentTypes, Configuration configuration)
SystemPropertygetEnumeratorDefinition in interface SystemPropertygetEnumeratorDefinition in class AbstractSystemPropertycontentTypes - The model's content types.configuration - The enumerator configuration.