T - The data typepublic interface Page<T>
extends java.lang.Iterable<T>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CURRENT_PAGE |
static int |
DEFAULT_PAGE_SIZE |
static java.lang.String |
PAGE_COUNT |
static java.lang.String |
PAGE_ITEMS |
static java.lang.String |
PAGE_SIZE |
static java.lang.String |
TOTAL_COUNT |
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentPage()
Returns the number of this page within the total
|
int |
getPageCount()
Returns the total number of pages
|
java.util.List<T> |
getPageItems()
Returns the page items
|
int |
getPageSize()
Returns the page size
|
int |
getTotalCount()
Returns the total number of records
|
static final int DEFAULT_PAGE_SIZE
static final java.lang.String CURRENT_PAGE
static final java.lang.String PAGE_COUNT
static final java.lang.String PAGE_ITEMS
static final java.lang.String PAGE_SIZE
static final java.lang.String TOTAL_COUNT
int getCurrentPage()
int getPageCount()
java.util.List<T> getPageItems()
int getPageSize()
int getTotalCount()