Interface SpecificationPicker<S extends Slice<T>,T>
-
- Type Parameters:
S- the type of the slice.T- the type of the paginated object.
- All Known Subinterfaces:
LimitPicker<S,T>,SizePicker<T>
public interface SpecificationPicker<S extends Slice<T>,T>An element of thePaginatorDSL allowing to specify the specification that will be used to retrieve objects from the repository.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Sall()Do not restrict objects coming from the repository.Smatching(Specification<T> spec)Restricts objects coming from the repository to ones matching the specification.
-
-
-
Method Detail
-
matching
S matching(Specification<T> spec)
Restricts objects coming from the repository to ones matching the specification. This is a terminal operation of the paginator DSL.
-
-