public interface PageRequest
The paged version of KriptonLiveData. A paged live data allows to move in the dataset with three parameters:
offset and nextPage, the behaviour will be strange
(but not wrong). Just remember that nextPage and
previousPage work with pages and not with
offset.| Modifier and Type | Method and Description |
|---|---|
static PageRequest |
build(int pageNumber,
int pageSize) |
int |
getOffset()
Set the current offset from start of dataset.
|
int |
getPageNumber()
Current page
|
int |
getPageSize()
Page size used to navigate
|
static PageRequest build(int pageNumber, int pageSize)
int getOffset()
int getPageNumber()
int getPageSize()
Copyright © 2019. All rights reserved.