Memory Business Object Store
Simple, In-Memory implementation of BusinessObjectStore. It should only be used for testing or development purposes.
Functions
Link copied to clipboard
Creates a new copy of the BusinessObject with a new id and stores it in this BusinessObjectStore.
Link copied to clipboard
Deletes the BusinessObject with the given id from this BusinessObjectStore if it exists.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend fun update(obj: Collection<BusinessObject>): EitherNel<StoreError, List<BusinessObject>>
Updates the BusinessObject with the given id and replaces it in this BusinessObjectStore if it exists.