Interface IFileDataEntity<TMeta extends IScopedFileMetaEntity<?,?>>
-
- Type Parameters:
TMeta
- type of the meta file entity
- All Superinterfaces:
Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
,de.xima.cmn.dao.interfaces.IEntity<Long>
,Serializable
- All Known Implementing Classes:
AFileDataEntity
,ClientPortalConfigFileData
,ProjectFileData
,UserPortalFileData
public interface IFileDataEntity<TMeta extends IScopedFileMetaEntity<?,?>> extends de.xima.cmn.dao.interfaces.IEntity<Long>
Common interface for the data of a file entity- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getData()
Gets the file-data in binary formTMeta
getMetaEntity()
Gets the meta entity of this data entityvoid
setData(byte[] data)
Sets the file-data in binary formvoid
setMetaEntity(TMeta entity)
Sets the meta entity of this data entity-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Field Detail
-
COL_DATA
static final String COL_DATA
- See Also:
- Constant Field Values
-
ATTR_DATA
static final String ATTR_DATA
- See Also:
- Constant Field Values
-
ATTR_ENTITY
static final String ATTR_ENTITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getData
byte[] getData()
Gets the file-data in binary form- Returns:
- the file-data
-
setData
void setData(byte[] data)
Sets the file-data in binary form- Parameters:
data
- the file-data to set
-
getMetaEntity
TMeta getMetaEntity()
Gets the meta entity of this data entity- Returns:
- the meta entity
-
setMetaEntity
void setMetaEntity(TMeta entity)
Sets the meta entity of this data entity- Parameters:
entity
- the entity to set
-
-