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
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
Repository#find(TraversableOnce)
Returns a Seq of domain objects uniquely represented with their URIs.
Returns a Seq of domain objects uniquely represented with their URIs. Only found objects will be returned (Seq will be empty if no objects are found).
sequence of unique identifiers
future to found domain objects
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
Returns an instance of SearchBuilder search builder
for this repository.
Returns an instance of SearchBuilder search builder
for this repository.
Search builder is helper class with fluent API for building search.
utility class for building a search.
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
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
Service for finding Identifiable domain objects. Finding domain objects using their URI identity is the fastest way retrieve an object from the remote server.