Package net.tangly.core.providers
package net.tangly.core.providers
Provides the provider abstraction to handle a list of items. Update operations are supported. The provided abstractions are
- Provider
- defines the interface for all providers. It defines the CRUD operations. The create and update operations are merged. It can model a value baed object collection.
- Provider In Memory
- provides an implementation where the items are stored in memory and never persisted.
- Provider Persistence
- provides an implementation where the items are persisted.
- Provider Has Oid
- provides a decorator for provider holding items with unique object identifiers. Such objects must implements the HasOid interface.
How can you provide basis operation for ACID transactions.
-
ClassesClassDescriptionProvider<T>Define the provider abstraction responsible for handling instances of a specific type.ProviderHasOid<T extends HasOid>The class is a decorator for a provider with entities having a unique object identifier which should be handled through the provider.Provider where all instances are in memory.Provider where all instances are cached in memory and persisted onto the file system or a database.ProviderView<T>Define a filtered view on an underlying provider.