Package org.deltafi.common.content
Class ContentStorageService
- java.lang.Object
-
- org.deltafi.common.content.ContentStorageService
-
public class ContentStorageService extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ContentStorageService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(ContentReference contentReference)voiddeleteAll(java.util.List<ContentReference> contentReferences)java.io.InputStreamload(ContentReference contentReference)ContentReferencesave(java.lang.String did, byte[] content, java.lang.String mediaType)ContentReferencesave(java.lang.String did, java.io.InputStream inputStream, java.lang.String mediaType)
-
-
-
Method Detail
-
load
public java.io.InputStream load(ContentReference contentReference) throws ObjectStorageException
- Throws:
ObjectStorageException
-
save
public ContentReference save(java.lang.String did, byte[] content, java.lang.String mediaType) throws ObjectStorageException
- Throws:
ObjectStorageException
-
save
public ContentReference save(java.lang.String did, java.io.InputStream inputStream, java.lang.String mediaType) throws ObjectStorageException
- Throws:
ObjectStorageException
-
delete
public void delete(ContentReference contentReference)
-
deleteAll
public void deleteAll(java.util.List<ContentReference> contentReferences)
-
-