@XMLBindable public class UESPagingCriteria extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static int |
MAX_PAGE_SIZE
Maximum page size (defaults to ).
|
private int |
pageIndex |
private int |
pageSize |
Constructor and Description |
---|
UESPagingCriteria()
Creates a new instance of UESPagingCriteria.
|
UESPagingCriteria(int pageIndex,
Creates a new instance of UESPagingCriteria with the given values.
|
Modifier and Type | Method and Description |
---|---|
int |
getPageIndex()
Returns index of the current page to be returned as result of the
operation.
|
int |
getPageSize()
Returns count of objects to be returned as result of the operation.
|
void |
setPageIndex(int pageIndex)
Sets the current page index.
|
void |
setPageSize(int pageSize)
This method set the size of data-chunk retrieved for one call.
|
pageIndex
- index of the result list page to obtainpageSize
- count of objects in the pagepageIndex
- Sets the index of page to be returned as result of
UESCommand call. The page index should be from interval
<0,PAGE_COUNT>, but no exception will be thrown when the index
will be passed out of bounds - simply the minimal and maximal
value will be used.pageSize
- Sets the size of one page (sublist of data) retrieved for
one UESCommand call.