Class UserProfileFile
java.lang.Object
de.xima.cmn.dao.model.AEntity<Long>
de.xima.fc.entities.AbstractEntity
de.xima.fc.entities.AbstractLockableEntity
de.xima.fc.entities.AFileEntity<UserProfile, UserProfileFileData>
de.xima.fc.entities.UserProfileFile
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>, de.xima.cmn.dao.interfaces.ILockableEntity<Long>, IAbstractDatei<UserProfileFileData>, IFileEntity<UserProfile, UserProfileFileData>, IFileSizeProviding, IKeyDependentFileEntity<UserProfile, UserProfileFileData>, ILockingVersionProviding, ITransferable, ITransferableEntity, ITransferableLockableEntity, Serializable, Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity
public class UserProfileFile
extends AFileEntity<UserProfile, UserProfileFileData>
implements IKeyDependentFileEntity<UserProfile, UserProfileFileData>, IFileSizeProviding
Entity representing files of a user profile
- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
-
Field Summary
FieldsFields inherited from class AFileEntity
aenderungsdatum, ATTR_NAME, benutzer_erstellt, benutzer_geaendert, COL_DATE_CREATED, COL_DATE_MODIFIED, COL_NAME, COL_USER_NAME_CREATED, COL_USER_NAME_MODIFIED, dataEntities, dateiname, erstellungsdatumFields 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 IFileEntity
ATTR_AENDERUNGSDATUM, ATTR_BASE_ENTITY, ATTR_BENUTZER, ATTR_BENUTZER_GEAENDERT, ATTR_DATA_ENTITY, ATTR_DATEINAME, ATTR_DATEN, ATTR_ERSTELLUNGSDATUM, COL_BASE_ENTITYFields inherited from interface IFileSizeProviding
COL_SIZEFields inherited from interface IKeyDependentFileEntity
ATTR_KEY, COL_KEYFields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSIONFields inherited from interface ITransferableEntity
IMPORT_ID, INVALID_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getKey()intgetSize()Gets the file size in bytes.voidsetBaseEntity(UserProfile baseEntity) voidsetDataEntity(UserProfileFileData dataEntity) voidvoidsetNewData(byte[] daten) voidsetSize(int size) Sets the file size in bytes.toString()Methods inherited from class AFileEntity
getAenderungsdatum, getBenutzer_erstellt, getBenutzer_geaendert, getDataEntities, getDateiname, getDaten, getErstellungsdatum, setAenderungsdatum, setBenutzer_erstellt, setBenutzer_geaendert, setDataEntities, setDateiname, setErstellungsdatumMethods inherited from class AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersionMethods 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
isPersisted, setIdMethods inherited from interface IFileEntity
getAenderungsdatum, getBenutzer_erstellt, getBenutzer_geaendert, getDateiDaten, getDateiname, getDaten, getErstellungsdatum, setAenderungsdatum, setBenutzer_erstellt, setBenutzer_geaendert, setDateiDaten, setDateiname, setErstellungsdatumMethods inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
entityHasChanged, getLockingVersion, setLockingVersion
-
Field Details
-
COL_FILE_SIZE
- See Also:
-
ATTR_SIZE
- See Also:
-
-
Constructor Details
-
UserProfileFile
public UserProfileFile()
-
-
Method Details
-
getId
-
getKey
- Specified by:
getKeyin interfaceIKeyDependentFileEntity<UserProfile, UserProfileFileData>
-
setKey
- Specified by:
setKeyin interfaceIKeyDependentFileEntity<UserProfile, UserProfileFileData>
-
getDataEntity
- Specified by:
getDataEntityin interfaceIFileEntity<UserProfile, UserProfileFileData>
-
setDataEntity
- Specified by:
setDataEntityin interfaceIFileEntity<UserProfile, UserProfileFileData>
-
setNewData
public void setNewData(byte[] daten) - Specified by:
setNewDatain interfaceIAbstractDatei<UserProfileFileData>- Specified by:
setNewDatain interfaceIFileEntity<UserProfile, UserProfileFileData>
-
getBaseEntity
- Specified by:
getBaseEntityin interfaceIFileEntity<UserProfile, UserProfileFileData>
-
setBaseEntity
- Specified by:
setBaseEntityin interfaceIFileEntity<UserProfile, UserProfileFileData>
-
getSize
public int getSize()Description copied from interface:IFileSizeProvidingGets the file size in bytes.- Specified by:
getSizein interfaceIFileSizeProviding- Returns:
- The file size in bytes.
-
setSize
public void setSize(int size) Description copied from interface:IFileSizeProvidingSets the file size in bytes.- Specified by:
setSizein interfaceIFileSizeProviding- Parameters:
size- The file size in bytes.
-
toString
- Overrides:
toStringin classAbstractLockableEntity
-