Class ALocalizedScopedFileMetaEntity<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>
de.xima.fc.entities.common.file.i18n.ALocalizedScopedFileMetaEntity<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>, ILocalizedScopedFileMetaEntity<TBase,TData>, IFileMetaEntity<TBase, TData>, IScopedFileMetaEntity<TBase, TData>, ILocalizedDatabaseObject<TData, Long>, IScopedLocalizedDatabaseObject<TData, Long>, ILockingVersionProviding, ITransferable, ITransferableEntity, ITransferableLockableEntity, IUUIDEntity, Serializable, Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
- Direct Known Subclasses:
ProjectFile, UserPortalFile
@MappedSuperclass
public abstract class ALocalizedScopedFileMetaEntity<TBase extends de.xima.cmn.dao.interfaces.IEntity<Long>, TData extends IFileDataEntity<?>>
extends AScopedFileMetaEntity<TBase,TData>
implements ILocalizedScopedFileMetaEntity<TBase,TData>
Abstract base class for localized 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 ILocalizedDatabaseObject
ATTR_LANGUAGE_TAG, COL_LANGUAGE_TAGFields 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 voidGets the language this database object is localized for in form of its language tag.voidsetLanguageTag(String languageTag) Sets the tag of the language this database object is localized for.Methods inherited from class AScopedFileMetaEntity
copyBasics, getFileKey, setFileKeyMethods 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 ILocalizedDatabaseObject
getLocale, setLocaleMethods inherited from interface ILocalizedScopedFileMetaEntity
getData, getKeyMethods inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
entityHasChanged, getLockingVersion, setLockingVersionMethods inherited from interface ILockingVersionProviding
getLockingVersionMethods inherited from interface IScopedFileMetaEntity
getFileKey, setFileKeyMethods inherited from interface IUUIDEntity
getUUID, getUUIDObject, setUUID
-
Constructor Details
-
ALocalizedScopedFileMetaEntity
public ALocalizedScopedFileMetaEntity()
-
-
Method Details
-
getLanguageTag
Description copied from interface:ILocalizedDatabaseObjectGets the language this database object is localized for in form of its language tag.- Specified by:
getLanguageTagin interfaceILocalizedDatabaseObject<TBase extends de.xima.cmn.dao.interfaces.IEntity<Long>, TData extends IFileDataEntity<?>>- Returns:
- the language tag
-
setLanguageTag
Description copied from interface:ILocalizedDatabaseObjectSets the tag of the language this database object is localized for.- Specified by:
setLanguageTagin interfaceILocalizedDatabaseObject<TBase extends de.xima.cmn.dao.interfaces.IEntity<Long>, TData extends IFileDataEntity<?>>- Parameters:
languageTag- the language tag to set
-
copyBasics
-