Interface StaticAssetStorageDao
- All Known Implementing Classes:
StaticAssetStorageDaoImpl
public interface StaticAssetStorageDao
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
createBlob
(InputStream uploadedFileInputStream, long fileSize) Overloaded method forcreateBlob(MultipartFile)
just in case you do not have the SpringMultipartFile
and are dealing with an already-uploadd filecreateBlob
(org.springframework.web.multipart.MultipartFile uploadedFile) void
delete
(StaticAssetStorage assetStorage) save
(StaticAssetStorage assetStorage)
-
Method Details
-
create
StaticAssetStorage create() -
readStaticAssetStorageById
-
readStaticAssetStorageByStaticAssetId
-
save
-
delete
-
createBlob
- Throws:
IOException
-
createBlob
Overloaded method forcreateBlob(MultipartFile)
just in case you do not have the SpringMultipartFile
and are dealing with an already-uploadd file- Parameters:
uploadedFileInputStream
- the input stream of the file the blob should be created fromfileSize
- the size of the file which is represented by uploadedFileInputStream, in bytes- Returns:
- Throws:
IOException
-