budosystems.storage.repository

General facility for working with storage repositories (e.g. RDBMS, NoSQL DBs, in-memory)

Classes

Repository

Interface for storage repositories.

SaveOption

Options for what to allow when saving to the repository.

Exceptions

EntityAlreadyExists

This exception gets raised if the repository attempts to overwrite an existing entity when it expects none with the same ID to be there.

EntityDeleteFailed

This exception gets raised if an attempt to delete an Entity has failed.

EntityNotFound

This exception gets raised if the repository attempts to find an entity, but it is not found.

EntityReadFailed

This exception gets raised if an attempt to load an Entity has failed.

EntitySaveFailed

This exception gets raised if an attempt to save an Entity has failed.

QueryError

This exception gets raised if there are problems interpreting the query.

RepositoryError

General Repository related exception.

RepositoryNotAccessible

This exception gets raised if the repository cannot be accessed.