Package sonia.scm.store
package sonia.scm.store
API's for storing data in SCM-Manager.
-
ClassDescriptionBase class for
ConfigurationStore
.A blob is binary object.The blob store can be used store unstructured data in form of aBlob
.The BlobStoreFactory can be used to create a new or get an existingBlobStore
s.Condition<T>A ConfigurationEntryStore can be used to store multiple entries of structured configuration data.Note: the default implementation uses the same location as theConfigurationStoreFactory
, so be sure that the store names are unique for allConfigurationEntryStore
s andConfigurationEntryStore
s.ConfigurationStore for configuration objects.Note: the default implementation uses the same location as theConfigurationEntryStoreFactory
, so be sure that the store names are unique for allConfigurationEntryStore
s andConfigurationStore
s.DataStore<T>A DataStore can be used to store any structured data.The DataStoreFactory can be used to create new or get existingDataStore
s.This exception is thrown on a create method if an entry with the given id already exists.TheExportableStore
is used to export the stored data inside the store.TheExporter
is used to export a single store entry to anOutputStream
.LeafCondition<T,C> A LeafCondition is a condition builder on aQueryableStore.QueryField
as part of a store statement.This store should be used only in update steps or other maintenance tasks like deleting all entries for a deleted parent entity.Iterator for existing entries in the store.Maintenance helper for a concrete entry in the store.This interface is used to store objects annotated withQueryableType
.This interface is used to query objects annotated withQueryableType
.Query fields implementing this can compute aggregates like sum or average.Query fields implementing this can compute aggregates like minimum or maximum.This class is used to create conditions for queries.This class is used to create conditions for queries.This class is used to create conditions for queries, based on the size of a collection.QueryableStore.EnumQueryField<T,E extends Enum<E>> This class is used to create conditions for queries.This class is used to create conditions for queries.This class is used to create conditions for queries.This class is used to create conditions for queries.This class is used to create conditions for queries, based on the size of a map.QueryableStore.NumberQueryField<T,N extends Number> This class is used to create conditions for queries.Used to specify the order of the result of a query.QueryableStore.Query<T,T_RESULT> The terminal interface for a query build byQueryableStore.query(Condition[])
.Instances of this class will be created by the annotation processor for each class annotated withQueryableType
.The result of a query that was built byQueryableStore.Query.withIds()
.This class is used to create conditions for queries.An exception occurring, if the client queried for one result withQueryableStore.Query.findOne()
, but the query returned multiple results.Factory to createQueryableStore
andQueryableMutableStore
instances.TheStoreEntryImporter
is used to import a store entry from anInputStream
.Create aStoreEntryImporter
for the store type and store name.The store exception can be used by a store implementation.TheStoreExporter
is used to collect allExportableStore
s for a given repository.The fields of theStoreParameters
are used from theBlobStoreFactory
to create a store.Builder forStoreParameters
.The fields of theTypedStoreParameters
are used from theConfigurationStoreFactory
,ConfigurationEntryStoreFactory
andDataStoreFactory
to create a type safe store.Builder forTypedStoreParameters
.