public class GenericFileDao extends Object implements IGenericFileDao
Constructor and Description |
---|
GenericFileDao() |
Modifier and Type | Method and Description |
---|---|
<E extends IFileDataEntity<?>,T extends IFileProviding<?,E>> |
getFileData(IEntityContext ec,
Class<T> clazz,
long id) |
<E extends IFileDataEntity<?>,T extends IFileProviding<?,E>> |
getFileData(IEntityContext ec,
T entity) |
<E extends IFileDataEntity<?>,T extends IFileEntity<?,E>> |
getFileDataEntity(IEntityContext ec,
T entity) |
<T extends IFileEntity<?,?>> |
getFileEntityData(IEntityContext ec,
T fileEntity) |
<E extends IFileDataEntity<?>,T extends IFileProviding<?,E>> |
getFileStream(IEntityContext ec,
T entity) |
<E extends IFileDataEntity<?>,T extends IFileEntity<?,E>> |
updateFileData(IEntityContext ec,
T entity,
byte[] data) |
public <E extends IFileDataEntity<?>,T extends IFileProviding<?,E>> byte[] getFileData(IEntityContext ec, Class<T> clazz, long id)
getFileData
in interface IGenericFileDao
public <E extends IFileDataEntity<?>,T extends IFileProviding<?,E>> byte[] getFileData(IEntityContext ec, T entity)
getFileData
in interface IGenericFileDao
public <T extends IFileEntity<?,?>> byte[] getFileEntityData(IEntityContext ec, T fileEntity)
getFileEntityData
in interface IGenericFileDao
public <E extends IFileDataEntity<?>,T extends IFileEntity<?,E>> T updateFileData(IEntityContext ec, T entity, byte[] data)
updateFileData
in interface IGenericFileDao
public <E extends IFileDataEntity<?>,T extends IFileEntity<?,E>> E getFileDataEntity(IEntityContext ec, T entity)
getFileDataEntity
in interface IGenericFileDao
public <E extends IFileDataEntity<?>,T extends IFileProviding<?,E>> InputStream getFileStream(IEntityContext ec, T entity)
getFileStream
in interface IGenericFileDao
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.