Package org.seedstack.business.pagination.dsl
Provides a fluent DSL to paginate domain objects.
-
Interface Summary Interface Description KeyValuePicker<T> An element of thePaginatorDSL allowing to specify the value used as boundary in the case of a key-based pagination.LimitPicker<S extends Slice<T>,T> An element of thePaginatorDSL allowing to specify a limit on the number of objects returned, in the case of an offset-based pagination.PaginationTypePicker<T> An element of thePaginatorDSL allowing to choose the pagination type.Paginator Paginator is a DSL aimed at paginating arbitrary streams or iterables, or domain objects provided by aRepository.RepositoryOptionsPicker<A extends AggregateRoot<I>,I> An element of thePaginatorDSL allowing to specify repository options.SizePicker<T> An element of thePaginatorDSL allowing to specify the size of the page in the case of page-based pagination.SlicePaginationPicker<T> An element of thePaginatorDSL allowing to choose the pagination type.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.