Package de.xima.fc.entities.common.file
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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersion
-
Fields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, id
-
Fields inherited from interface de.xima.fc.entities.interfaces.file.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_MODIFIED
-
Fields inherited from interface de.xima.fc.entities.interfaces.file.IScopedFileMetaEntity
ATTR_FILE_KEY, COL_FILE_KEY
-
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
-
Fields inherited from interface de.xima.fc.entities.interfaces.IUUIDEntity
ATTR_UUID, COL_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, NULLABLE_UUID_TYPE, TYPE_NAME_UUID
-
-
Constructor Summary
Constructors Constructor Description AScopedFileMetaEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
copyBasics(AScopedFileMetaEntity<TBase,TData> clone)
String
getFileKey()
Gets the key that determines the purpose of this filevoid
setFileKey(String fileKey)
Sets the key that determines the purpose of this file-
Methods inherited from class de.xima.fc.entities.common.file.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, setUUIDObject
-
Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toString
-
Methods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId, setId
-
Methods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface de.xima.fc.entities.interfaces.file.IFileMetaEntity
getBaseEntity, getCreatedInstant, getCreatorName, getDataEntity, getFileName, getFileSize, getMimeType, getModifiedInstant, getModifierName, setBaseEntity, setCreatedInstant, setCreatorName, setData, setFileName, setFileSize, setMimeType, setModifiedInstant, setModifierName
-
Methods inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
entityHasChanged, getLockingVersion, setLockingVersion
-
Methods inherited from interface de.xima.fc.entities.interfaces.ILockingVersionProviding
getLockingVersion
-
Methods inherited from interface de.xima.fc.entities.interfaces.IUUIDEntity
getUUID, getUUIDObject, setUUID
-
-
-
-
Method Detail
-
getFileKey
public String getFileKey()
Description copied from interface:IScopedFileMetaEntity
Gets the key that determines the purpose of this file- Specified by:
getFileKey
in interfaceIScopedFileMetaEntity<TBase extends de.xima.cmn.dao.interfaces.IEntity<Long>,TData extends IFileDataEntity<?>>
- Returns:
- file key
-
setFileKey
public void setFileKey(String fileKey)
Description copied from interface:IScopedFileMetaEntity
Sets the key that determines the purpose of this file- Specified by:
setFileKey
in interfaceIScopedFileMetaEntity<TBase extends de.xima.cmn.dao.interfaces.IEntity<Long>,TData extends IFileDataEntity<?>>
- Parameters:
fileKey
- determining the purpose of this file
-
copyBasics
protected void copyBasics(AScopedFileMetaEntity<TBase,TData> clone)
-
-