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 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 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 searching and counting domain objects. Search can be performed using
Specification specification
, paged using limit and offset arguments. Custom sort can be provided using Seq of property->direction pairs.Specification can be declared in DSL or custom search can be built on client and sent to server.
When permissions are applied, server can restrict which results will be returned to the client. Service should be used when Future is a preferred way of interacting with the remote server.