Returns a number of elements satisfying provided specification.
Returns a number of elements satisfying provided specification.
search predicate
future to number of domain objects which satisfy specification
Helper method for counting domain objects.
Helper method for counting domain objects. Returns a number of elements satisfying provided specification.
search predicate
future to number of domain objects which satisfy specification
Deleting an AggregateRoot aggregate
.
Deleting an AggregateRoot aggregate
.
aggregate root to delete
future for error checking
Bulk delete.
Bulk delete.
Remote multiple AggregateRoot aggregates
.
aggregate roots to delete
future for error checking
Returns a domain object uniquely represented with its URI.
Returns a domain object uniquely represented with its URI. If object is not found, an exception will be thrown
domain object identity
future to found domain object
Generated class will provide class manifest and locator
Generated class will provide class manifest and locator
sequence of unique identifiers
future to found domain objects@param manifest domain object type
Insert a single AggregateRoot aggregate
.
Insert a single AggregateRoot aggregate
.
new aggregate root
future uri of created aggregate root
Bulk insert.
Bulk insert.
Create multiple new AggregateRoot aggregates
.
new aggregate roots
future uris of created aggregate roots
Generated class will provide class manifest and locator
Generated class will provide class manifest and locator
new aggregate roots
pairs for updating old aggregate to new state
aggregate roots which will be deleted
future uris of newly created aggregates@param manifest domain object type
Returns a Seq of domain objects satisfying Specification[TSearchable] specification
with up to limit
results.
Returns a Seq of domain objects satisfying Specification[TSearchable] specification
with up to limit
results.
offset
can be used to skip initial results.
order
should be given as a Seq of pairs of
where first is a property name and second is whether it should be sorted
ascending over this property.
search predicate
maximum number of results
number of results to be skipped
custom ordering
future to domain objects which satisfy search predicate
Helper method for searching domain objects.
Helper method for searching domain objects.
Returns a Seq of domain objects satisfying Specification[TSearchable] specification
with up to limit
results.
search predicate
maximum number of results
future to domain objects which satisfy search predicate
Helper method for searching domain objects.
Helper method for searching domain objects.
Returns a Seq of domain objects satisfying Specification[TSearchable] specification
search predicate
future to domain objects which satisfy search predicate
Changing state of an aggregate root.
Changing state of an aggregate root.
aggregate root to update
future for error checking
Bulk update.
Bulk update.
Changing state of multiple AggregateRoot aggregates
.
sequence of aggregate roots to update
future for error checking
Common base implementation for
PersistableRepository persistable repository
. It redirects calls to proxy services. It shouldn't be used or resolved. Instead domain model repositories should be resolved.DSL example:
Java usage: