Package sonia.scm.store
Interface MultiEntryStore<T>
- Type Parameters:
T
- Type of the stored objects
- All Known Subinterfaces:
BlobStore
,ConfigurationEntryStore<V>
,DataStore<T>
public interface MultiEntryStore<T>
- Since:
- 1.23
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Remove all items from the store.Returns the item with the given id from the store.getOptional
(String id) Returns the item with the given id from the store.void
Remove the item with the given id.
-
Method Details
-
clear
void clear()Remove all items from the store. -
remove
Remove the item with the given id.- Parameters:
id
- id of the item to remove
-
get
Returns the item with the given id from the store.- Parameters:
id
- id of the item to return- Returns:
- item with the given id
-
getOptional
Returns the item with the given id from the store.- Parameters:
id
- id of the item to return- Returns:
- item with the given id
-