Interface SizePicker<T>
-
- Type Parameters:
T- the type of the paginated object.
- All Superinterfaces:
LimitPicker<Page<T>,T>,SpecificationPicker<Page<T>,T>
public interface SizePicker<T> extends LimitPicker<Page<T>,T>
An element of thePaginatorDSL allowing to specify the size of the page in the case of page-based pagination.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default SpecificationPicker<Page<T>,T>ofSize(long size)Specify the size of the page.-
Methods inherited from interface org.seedstack.business.pagination.dsl.LimitPicker
limit
-
Methods inherited from interface org.seedstack.business.pagination.dsl.SpecificationPicker
all, matching
-
-
-
-
Method Detail
-
ofSize
default SpecificationPicker<Page<T>,T> ofSize(long size)
Specify the size of the page.- Parameters:
size- the size of a page.- Returns:
- the next operation of the paginator DSL, allowing to pick a specification for selecting objects returned from the repository.
-
-