Package org.ametys.cms.content.type
Class FileContentElementType
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.core.model.type.AbstractModelItemType
-
- org.ametys.core.model.type.AbstractElementType<File>
-
- org.ametys.cms.data.type.AbstractFileElementType
-
- org.ametys.cms.data.type.impl.FileRepositoryElementType
-
- org.ametys.cms.content.type.FileContentElementType
-
- All Implemented Interfaces:
Referencer
,RepositoryElementType<File>
,RepositoryModelItemType
,ElementType<File>
,ModelItemType
,LogEnabled
,PluginAware
,Component
,Configurable
,Contextualizable
,Serviceable
public class FileContentElementType extends FileRepositoryElementType implements Referencer
Class for file type of elements used by contents
-
-
Field Summary
Fields Modifier and Type Field Description private static String
__OUTGOING_REFERENCE_TYPE
Constants for the explorer type for outgoing references-
Fields inherited from class org.ametys.cms.data.type.AbstractFileElementType
__EXPLORER_FILE_TYPE, _binaryType, _context, _resolver, _uploadManager, _userProvider
-
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
Constructors Constructor Description FileContentElementType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutgoingReferences
getOutgoingReferences(Object value)
Retrieves theOutgoingReferences
from the given value-
Methods inherited from class org.ametys.cms.data.type.impl.FileRepositoryElementType
getRepositoryDataType, hasNonEmptyValue, isCompatible, read, write
-
Methods inherited from class org.ametys.cms.data.type.AbstractFileElementType
_compareMultipleValues, _compareSingleValues, _singleValueFromXML, _useJSONForEdition, _valueToSAX, configure, contextualize, convertValue, fromJSONForClient, isCompatible, isSimple, service, toString, valueToJSONForClient
-
Methods inherited from class org.ametys.core.model.type.AbstractElementType
_getValueAttributes, _isValueFromXMLMultiple, _singleValueToJSON, _singleValueToSAX, _valueToSAX, _valueToSAXForEdition, castValue, compareValues, getManagedClass, getManagedClassArray, parseConfiguration, valueFromXML, 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.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
-
-
-
-
Field Detail
-
__OUTGOING_REFERENCE_TYPE
private static final String __OUTGOING_REFERENCE_TYPE
Constants for the explorer type for outgoing references- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FileContentElementType
public FileContentElementType()
-
-
Method Detail
-
getOutgoingReferences
public OutgoingReferences getOutgoingReferences(Object value)
Description copied from interface:Referencer
Retrieves theOutgoingReferences
from the given value- Specified by:
getOutgoingReferences
in interfaceReferencer
- Parameters:
value
- the value- Returns:
- the
OutgoingReferences
-
-