Returns a number of elements satisfying optionally provided specification.
Returns a number of elements satisfying optionally 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
Returns a IndexedSeq of domain objects uniquely represented with their URIs.
Returns a IndexedSeq of domain objects uniquely represented with their URIs. Only found objects will be returned (IndexedSeq will be empty if no objects are found).
sequence of unique identifiers
future to found domain objects
Returns a IndexedSeq of domain objects satisfying optional Specification specification
with up to optional limit
results.
Returns a IndexedSeq of domain objects satisfying optional Specification specification
with up to optional limit
results.
Optional offset
can be used to skip initial results.
Optional order
should be given as a IndexedSeq 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 IndexedSeq of domain objects satisfying Specification specification
with up to limit
results.
search predicate
search 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 IndexedSeq of domain objects satisfying Specification specification
search predicate
future to domain objects which satisfy search predicate
Apply domain event to a single aggregate.
Apply domain event to a single aggregate. Server will return modified aggregate root. Events can't be modified once they are submitted. Only new events can be created.
event to apply
aggregate root uri
future containing modified aggregate root
Send domain event to the server.
Send domain event to the server. Server will return identity under which it was stored. Events can't be modified once they are submitted. Only new events can be created.
event to raise
future containing string value of event URI