Package sonia.scm.store
Interface BlobStore
- All Superinterfaces:
MultiEntryStore<Blob>
The blob store can be used store unstructured data in form of a
Blob
.- Since:
- 1.23
-
Method Summary
Methods inherited from interface sonia.scm.store.MultiEntryStore
clear, get, getOptional, remove
-
Method Details
-
create
Blob create()Create a new blob object with automatically generated id.- Returns:
- new blob
-
create
Create a new blob object with the given id.- Parameters:
id
- id of the new blob- Returns:
- new blob
- Throws:
EntryAlreadyExistsStoreException
- if a blob with given id already exists
-
remove
Remove the given blob object-- Parameters:
blob
- blob object to remove
-
getAll
Return all blob object which are stored in this BlobStore.- Returns:
- a list of all blob object
-