Package org.deltafi.common.content
Class ContentStorageService
java.lang.Object
org.deltafi.common.content.ContentStorageService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(org.deltafi.common.types.Content content) voidload(org.deltafi.common.types.Content content) org.deltafi.common.types.Contentorg.deltafi.common.types.Contentsave(UUID did, InputStream inputStream, String name, String mediaType) List<org.deltafi.common.types.Content>
-
Field Details
-
CONTENT_BUCKET
- See Also:
-
-
Constructor Details
-
ContentStorageService
public ContentStorageService()
-
-
Method Details
-
load
- Throws:
ObjectStorageException
-
save
public org.deltafi.common.types.Content save(UUID did, byte[] content, String name, String mediaType) throws ObjectStorageException - Throws:
ObjectStorageException
-
saveMany
public List<org.deltafi.common.types.Content> saveMany(UUID did, List<org.deltafi.common.types.SaveManyContent> saveManyContentList) throws ObjectStorageException - Throws:
ObjectStorageException
-
save
public org.deltafi.common.types.Content save(UUID did, InputStream inputStream, String name, String mediaType) throws ObjectStorageException - Throws:
ObjectStorageException
-
delete
public void delete(org.deltafi.common.types.Content content) -
deleteAll
-