Class AScopedFileMetaEntity<TBase extends de.xima.cmn.dao.interfaces.IEntity<Long>, TData extends IFileDataEntity<?>>
java.lang.Object
de.xima.cmn.dao.model.AEntity<Long>
de.xima.fc.entities.AbstractEntity
de.xima.fc.entities.AbstractLockableEntity
de.xima.fc.entities.common.file.AFileMetaEntity<TBase,TData>
de.xima.fc.entities.common.file.AScopedFileMetaEntity<TBase,TData>
- Type Parameters:
TBase- type of the base entity determines the type this file meta entity can be attached to.TData- type of the data entity that stores the actual file data.
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>, de.xima.cmn.dao.interfaces.ILockableEntity<Long>, IFileMetaEntity<TBase,TData>, IScopedFileMetaEntity<TBase, TData>, ILockingVersionProviding, ITransferable, ITransferableEntity, ITransferableLockableEntity, IUUIDEntity, Serializable, Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
- Direct Known Subclasses:
ALocalizedScopedFileMetaEntity
@MappedSuperclass
public abstract class AScopedFileMetaEntity<TBase extends de.xima.cmn.dao.interfaces.IEntity<Long>, TData extends IFileDataEntity<?>>
extends AFileMetaEntity<TBase,TData>
implements IScopedFileMetaEntity<TBase,TData>
Abstract base class for scoped file meta entities.
- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
Fields inherited from class AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class AbstractEntity
COL_ID, idFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_IDFields inherited from interface IFileMetaEntity
ATTR_CREATED_TIMESTAMP, ATTR_ENTITY, ATTR_FILE_NAME, ATTR_FILE_SIZE, ATTR_MIME_TYPE, ATTR_MODIFIED_TIMESTAMP, ATTR_USER_NAME_CREATED, ATTR_USER_NAME_MODIFIED, COL_CREATED_TIMESTAMP, COL_ENTITY_ID, COL_FILE_NAME, COL_FILE_SIZE, COL_MIME_TYPE, COL_MODIFIED_TIMESTAMP, COL_USER_NAME_CREATED, COL_USER_NAME_MODIFIEDFields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSIONFields inherited from interface IScopedFileMetaEntity
ATTR_FILE_KEY, COL_FILE_KEYFields inherited from interface ITransferableEntity
IMPORT_ID, INVALID_IDFields inherited from interface IUUIDEntity
ATTR_UUID, COL_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, NULLABLE_UUID_TYPE, TYPE_NAME_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcopyBasics(AScopedFileMetaEntity<TBase, TData> clone) Gets the key that determines the purpose of this filevoidsetFileKey(String fileKey) Sets the key that determines the purpose of this fileMethods inherited from class AFileMetaEntity
copyBasics, getBaseEntity, getCreatedInstant, getCreatorName, getDataEntities, getDataEntity, getFileName, getFileSize, getMimeType, getModifiedInstant, getModifierName, getUUID, getUUIDObject, newDataEntity, setBaseEntity, setCreatedInstant, setCreatorName, setData, setDataEntities, setFileName, setFileSize, setMimeType, setModifiedInstant, setModifierName, setUUID, setUUIDObjectMethods inherited from class AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toStringMethods inherited from class AbstractEntity
asIntValue, isPersisted, setId, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from interface Comparable
compareToMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
getId, isPersisted, setIdMethods inherited from interface IFileMetaEntity
getBaseEntity, getCreatedInstant, getCreatorName, getDataEntity, getFileName, getFileSize, getMimeType, getModifiedInstant, getModifierName, setBaseEntity, setCreatedInstant, setCreatorName, setData, setFileName, setFileSize, setMimeType, setModifiedInstant, setModifierNameMethods inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
entityHasChanged, getLockingVersion, setLockingVersionMethods inherited from interface ILockingVersionProviding
getLockingVersionMethods inherited from interface IUUIDEntity
getUUID, getUUIDObject, setUUID
-
Constructor Details
-
AScopedFileMetaEntity
public AScopedFileMetaEntity()
-
-
Method Details
-
getFileKey
Description copied from interface:IScopedFileMetaEntityGets the key that determines the purpose of this file- Specified by:
getFileKeyin interfaceIScopedFileMetaEntity<TBase extends de.xima.cmn.dao.interfaces.IEntity<Long>, TData extends IFileDataEntity<?>>- Returns:
- file key
-
setFileKey
Description copied from interface:IScopedFileMetaEntitySets the key that determines the purpose of this file- Specified by:
setFileKeyin interfaceIScopedFileMetaEntity<TBase extends de.xima.cmn.dao.interfaces.IEntity<Long>, TData extends IFileDataEntity<?>>- Parameters:
fileKey- determining the purpose of this file
-
copyBasics
-