T
- the type of the implementing classpublic interface PaginationArguments<T extends VariableHolder<T>> extends VariableHolder<T>
PaginationCursor
Modifier and Type | Method and Description |
---|---|
default T |
paginate(java.lang.Integer page,
java.lang.Integer limit)
Creates pagination options that are then set.
|
default T |
paginate(PaginationInput pagination)
Sets the pagination options.
|
getVariables, isSet, set
default T paginate(PaginationInput pagination)
pagination
- the inputdefault T paginate(java.lang.Integer page, java.lang.Integer limit)
page
- the page to start onlimit
- the number of items per page