Package org.ametys.cms.content.type
Class ReferenceContentElementType
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.model.type.AbstractModelItemType
org.ametys.core.model.type.AbstractElementType<Reference>
org.ametys.cms.data.type.AbstractReferenceElementType
org.ametys.cms.data.type.impl.ReferenceRepositoryElementType
org.ametys.cms.content.type.ReferenceContentElementType
- All Implemented Interfaces:
Referencer
,ComplexRepositoryElementType<Reference>
,RepositoryElementType<Reference>
,RepositoryModelItemType
,ElementType<Reference>
,ModelItemType
,LogEnabled
,PluginAware
,Component
,Serviceable
public class ReferenceContentElementType
extends ReferenceRepositoryElementType
implements Referencer
Class for reference type of elements used by contents
-
Field Summary
Fields inherited from class org.ametys.cms.data.type.AbstractReferenceElementType
__SEPARATOR
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 valueMethods inherited from class org.ametys.cms.data.type.impl.ReferenceRepositoryElementType
emptySingleValue, getRepositoryDataType, isCompatible, isSingleValueEmpty, readSingleValue, writeSingleValue
Methods inherited from class org.ametys.cms.data.type.AbstractReferenceElementType
_compareMultipleValues, _compareSingleValues, _singleValueFromXML, _singleValueToJSON, _singleValueToSAX, _useJSONForEdition, convertValue, fromJSONForClient, isSimple, toString
Methods inherited from class org.ametys.core.model.type.AbstractElementType
_getValueAttributes, _isValueFromXMLMultiple, _valueToSAX, _valueToSAX, _valueToSAXForEdition, castValue, compareValues, getManagedClass, getManagedClassArray, isCompatible, parseConfiguration, service, valueFromXML, valueToJSONForClient, valueToSAX, valueToSAXForEdition
Methods inherited from class org.ametys.core.model.type.AbstractModelItemType
_getContextAttributes, 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, read, removeValueBeforeWritingIt, write
Methods inherited from interface org.ametys.runtime.model.type.ElementType
castValue, compareValues, fromJSONForClient, getManagedClass, getManagedClassArray, isCompatible, isSimple, parseConfiguration, toString, valueFromXML, valueToJSONForClient
Methods inherited from interface org.ametys.runtime.model.type.ModelItemType
getId, 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
externalizableValueToSAX
Methods inherited from interface org.ametys.plugins.repository.data.type.RepositoryModelItemType
hasValue, isMultiple, remove
-
Constructor Details
-
ReferenceContentElementType
public ReferenceContentElementType()
-
-
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
-