Package org.ametys.cms.content.type
Class RichTextContentElementType
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.model.type.AbstractModelItemType
org.ametys.core.model.type.AbstractElementType<RichText>
org.ametys.cms.data.type.AbstractRichTextElementType
org.ametys.cms.data.type.indexing.impl.RichTextIndexableElementType
org.ametys.cms.data.type.impl.RichTextRepositoryElementType
org.ametys.cms.content.type.RichTextContentElementType
- All Implemented Interfaces:
Referencer
,IndexableElementType<RichText>
,IndexableModelItemType
,ComplexRepositoryElementType<RichText>
,RepositoryElementType<RichText>
,RepositoryModelItemType
,ElementType<RichText>
,ModelItemType
,LogEnabled
,PluginAware
,Component
,Serviceable
- Direct Known Subclasses:
HTMLRichTextContentElementType
Class for rich text type of elements stored in the repository
-
Field Summary
Modifier and TypeFieldDescriptionprotected RichTextOutgoingReferencesExtractor
Rich text outgoing references extractorFields inherited from class org.ametys.cms.data.type.AbstractRichTextElementType
_manager, _resolver, _richTextHandlerFactory, _richTextTransformer
Fields inherited from class org.ametys.core.model.type.AbstractElementType
_jsonUtils
Fields inherited from interface org.ametys.plugins.repository.data.type.ComplexRepositoryElementType
TYPE_ID_DATA_NAME
Fields inherited from interface org.ametys.plugins.repository.data.type.RepositoryModelItemType
EMPTY_METADATA_SUFFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetOutgoingReferences
(Object value) Retrieves theOutgoingReferences
from the given valuevoid
service
(ServiceManager manager) Methods inherited from class org.ametys.cms.data.type.impl.RichTextRepositoryElementType
emptySingleValue, externalizableValueToJSON, getRepositoryDataType, isSingleValueEmpty, readSingleValue, removeValueBeforeWritingIt, writeSingleValue
Methods inherited from class org.ametys.cms.data.type.indexing.impl.RichTextIndexableElementType
getIndexingFieldSuffix, getSchemaType, getSingleValueToIndex, getTextFieldSuffix, indexSingleValue, indexSingleValueForFullTextField
Methods inherited from class org.ametys.cms.data.type.AbstractRichTextElementType
_compareMultipleValues, _compareSingleValues, _getLocalMediaObjectContentHandler, _singleValueFromXML, _singleValueToJSON, _singleValueToJSONForEdition, _singleValueToSAX, _valueToSAXForEdition, convertValue, fromJSONForClient, isSimple, toString
Methods inherited from class org.ametys.core.model.type.AbstractElementType
_getValueAttributes, _isMultiple, _isSingle, _isValueFromXMLMultiple, _useJSONForEdition, _valueToJSON, _valueToSAX, _valueToSAX, castValue, compareValues, getManagedClass, getManagedClassArray, isCompatible, parseConfiguration, valueFromXML, valueToJSONForClient, valueToJSONForEdition, valueToSAX, valueToSAXForEdition
Methods inherited from class org.ametys.core.model.type.AbstractModelItemType
getId, 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.plugins.repository.data.type.ComplexRepositoryElementType
hasNonEmptyValue, isCompatible, read, write
Methods inherited from interface org.ametys.runtime.model.type.ElementType
castValue, compareValues, fromJSONForClient, getManagedClass, getManagedClassArray, isCompatible, isSimple, parseConfiguration, toString, valueFromXML
Methods inherited from interface org.ametys.cms.data.type.indexing.IndexableElementType
getWildcardFieldSuffix, indexValue, isFacetable
Methods inherited from interface org.ametys.runtime.model.type.ModelItemType
getId, valueToJSONForClient, valueToJSONForClient, valueToJSONForEdition, valueToSAX, valueToSAX, valueToSAXForEdition
Methods inherited from interface org.ametys.runtime.plugin.component.PluginAware
setPluginInfo
Methods inherited from interface org.ametys.plugins.repository.data.type.RepositoryModelItemType
hasValue, isMultiple, remove
-
Field Details
-
_richTextOutgoingReferencesExtractor
Rich text outgoing references extractor
-
-
Constructor Details
-
RichTextContentElementType
public RichTextContentElementType()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractRichTextElementType
- Throws:
ServiceException
-
getOutgoingReferences
Description copied from interface:Referencer
Retrieves theOutgoingReferences
from the given value- Specified by:
getOutgoingReferences
in interfaceReferencer
- Parameters:
value
- the value- Returns:
- the
OutgoingReferences
-