S - the type of the slice.A - the aggregate root type that is paginated.I - the aggregate root identifier type.public interface SpecificationPicker<S extends Slice<A>,A extends AggregateRoot<I>,I>
Paginator DSL allowing to specify the specification that will be used
to retrieve objects from the repository.| Modifier and Type | Method and Description |
|---|---|
S |
all()
Do not restrict objects coming from the repository.
|
S |
matching(Specification<A> spec)
Restricts objects coming from the repository to ones matching the specification.
|
S matching(Specification<A> spec)
Copyright © 2013-2017–2017 SeedStack. All rights reserved.