Package | Description |
---|---|
org.seedstack.business.pagination.dsl |
Provides a fluent DSL to paginate domain objects.
|
org.seedstack.crud.rest |
Modifier and Type | Interface and Description |
---|---|
interface |
SizePicker<T>
An element of the
Paginator DSL allowing to specify the size of the page in the case of
page-based pagination. |
Modifier and Type | Method and Description |
---|---|
<C extends Comparable<? super C>> |
KeyValuePicker.after(C value)
Specify the value used as lower-boundary of the previously specified attribute.
|
<C extends Comparable<? super C>> |
KeyValuePicker.before(C value)
Specify the value used as upper-boundary of the previously specified attribute.
|
LimitPicker<Slice<T>,T> |
SlicePaginationPicker.byOffset(long startingOffset)
Choose an offset-based pagination type.
|
Modifier and Type | Method and Description |
---|---|
default <S extends Slice<A>> |
ReadResource.applyLimit(PaginationParams params,
LimitPicker<S,A> limitPicker)
Apply a pagination limit if present in the given pagination parameters.
|
Copyright © 2013-2018–2019 SeedStack. All rights reserved.