Package org.acumos.portal.be.service
Interface StorageService
-
- All Known Implementing Classes:
FileSystemStorageService
public interface StorageService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
createJsonFile(String json, String userId)
void
deleteAll(String userId)
void
deleteLicenseFile(String userId)
void
deleteProtoFile(String userId)
boolean
store(org.springframework.web.multipart.MultipartFile file, String userId, boolean flag)
boolean
storeProtoFile(org.springframework.web.multipart.MultipartFile file, String userId, boolean protoUploadFlag)
-
-
-
Method Detail
-
store
boolean store(org.springframework.web.multipart.MultipartFile file, String userId, boolean flag)
-
deleteAll
void deleteAll(String userId)
-
deleteLicenseFile
void deleteLicenseFile(String userId) throws AcumosServiceException
- Throws:
AcumosServiceException
-
storeProtoFile
boolean storeProtoFile(org.springframework.web.multipart.MultipartFile file, String userId, boolean protoUploadFlag)
-
deleteProtoFile
void deleteProtoFile(String userId) throws AcumosServiceException
- Throws:
AcumosServiceException
-
-