S
- the type of the slice.T
- the type of the paginated object.public interface SpecificationPicker<S extends Slice<T>,T>
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<T> spec)
Restricts objects coming from the repository to ones matching the specification.
|
S matching(Specification<T> spec)
Copyright © 2013-2018–2019 SeedStack. All rights reserved.