Package org.ametys.cms.content.type
Class ContentContentElementType
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.model.type.AbstractModelItemType
org.ametys.core.model.type.AbstractElementType<ContentValue>
org.ametys.cms.data.type.AbstractContentElementType
org.ametys.cms.data.type.indexing.impl.ContentIndexableElementType
org.ametys.cms.data.type.impl.ContentRepositoryElementType
org.ametys.cms.content.type.ContentContentElementType
- All Implemented Interfaces:
Referencer
,IndexableElementType<ContentValue>
,IndexableModelItemType
,SortableIndexableElementType<ContentValue>
,RepositoryElementType<ContentValue>
,RepositoryModelItemType
,ElementType<ContentValue>
,ModelItemType
,LogEnabled
,PluginAware
,Component
,Serviceable
Class for content type of elements used by contents
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ametys.cms.data.type.AbstractContentElementType
AbstractContentElementType.Content2Json<T>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Constant for the content type for outgoing referencesFields inherited from class org.ametys.cms.data.type.indexing.impl.ContentIndexableElementType
_contentHelper
Fields inherited from class org.ametys.cms.data.type.AbstractContentElementType
_contentTypesHelper, _resolver
Fields inherited from class org.ametys.core.model.type.AbstractElementType
_jsonUtils
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 valueMethods inherited from class org.ametys.cms.data.type.impl.ContentRepositoryElementType
getRepositoryDataType, hasNonEmptyValue, read, write
Methods inherited from class org.ametys.cms.data.type.indexing.impl.ContentIndexableElementType
getIndexingFieldSuffix, getSchemaType, getSingleValueToIndex, getSortFieldSuffix, indexSingleSortValue, indexSingleValue, indexSingleValueForFullTextField, isFacetable, service
Methods inherited from class org.ametys.cms.data.type.AbstractContentElementType
_isMultiple, _isSingle, _singleValueFromXML, _useJSONForEdition, _valueToJSON, _valueToSAX, convertValue, fromJSONForClient, isCompatible, isSimple, toString, valueToJSONForClient, valueToJSONForEdition
Methods inherited from class org.ametys.core.model.type.AbstractElementType
_compareMultipleValues, _compareSingleValues, _getValueAttributes, _isValueFromXMLMultiple, _singleValueToJSON, _singleValueToJSONForEdition, _singleValueToSAX, _valueToJSON, _valueToSAX, _valueToSAXForEdition, castValue, compareValues, getManagedClass, getManagedClassArray, parseConfiguration, valueFromXML, 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.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
getTextFieldSuffix, getWildcardFieldSuffix
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.RepositoryElementType
externalizableValueToJSON
Methods inherited from interface org.ametys.plugins.repository.data.type.RepositoryModelItemType
hasValue, isCompatible, isMultiple, remove
Methods inherited from interface org.ametys.cms.data.type.indexing.SortableIndexableElementType
getSingleSortValueToIndex, indexValue
-
Field Details
-
OUTGOING_REFERENCE_TYPE
Constant for the content type for outgoing references- See Also:
-
-
Constructor Details
-
ContentContentElementType
public ContentContentElementType()
-
-
Method Details
-
getOutgoingReferences
Description copied from interface:Referencer
Retrieves theOutgoingReferences
from the given value- Specified by:
getOutgoingReferences
in interfaceReferencer
- Parameters:
value
- the value- Returns:
- the
OutgoingReferences
-