public interface StaticAssetStorageDao
| Modifier and Type | Method and Description | 
|---|---|
| StaticAssetStorage | create() | 
| Blob | createBlob(InputStream uploadedFileInputStream,
          long fileSize)Overloaded method for  createBlob(MultipartFile)just in case you do not have the SpringMultipartFileand are dealing with an already-uploadd file | 
| Blob | createBlob(org.springframework.web.multipart.MultipartFile uploadedFile) | 
| void | delete(StaticAssetStorage assetStorage) | 
| StaticAssetStorage | readStaticAssetStorageById(Long id) | 
| StaticAssetStorage | readStaticAssetStorageByStaticAssetId(Long id) | 
| StaticAssetStorage | save(StaticAssetStorage assetStorage) | 
StaticAssetStorage create()
StaticAssetStorage readStaticAssetStorageById(Long id)
StaticAssetStorage readStaticAssetStorageByStaticAssetId(Long id)
StaticAssetStorage save(StaticAssetStorage assetStorage)
void delete(StaticAssetStorage assetStorage)
Blob createBlob(org.springframework.web.multipart.MultipartFile uploadedFile) throws IOException
IOExceptionBlob createBlob(InputStream uploadedFileInputStream, long fileSize) throws IOException
createBlob(MultipartFile) just in case you do not have the Spring MultipartFile
 and are dealing with an already-uploadd fileuploadedFileInputStream - the input stream of the file the blob should be created fromfileSize - the size of the file which is represented by uploadedFileInputStream, in bytesIOExceptionCopyright © 2020. All rights reserved.