Package io.tesler.core.service
Interface FileService
-
- All Known Implementing Classes:
BaseFileService
public interface FileService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description byte[]
getContent(FileEntity entity)
void
remove(Long fileId)
FileEntity
save(String name, String type, boolean temporary, byte[] content)
FileEntity
save(String name, String type, boolean temporary, byte[] content, LOV storageType)
default FileEntity
saveUpload(String name, String type, boolean temporary, byte[] content)
-
-
-
Method Detail
-
save
FileEntity save(String name, String type, boolean temporary, byte[] content, LOV storageType)
-
save
FileEntity save(String name, String type, boolean temporary, byte[] content)
-
saveUpload
default FileEntity saveUpload(String name, String type, boolean temporary, byte[] content)
-
getContent
byte[] getContent(FileEntity entity)
-
remove
void remove(Long fileId)
-
-