public class Paging
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static Paging |
ALL |
static java.lang.String |
X_TOTAL_COUNT_HEADER |
| Constructor and Description |
|---|
Paging() |
Paging(int page,
int resultsPerPage) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPage() |
int |
getResultsPerPage()
Setting resultsPerPage to '0' or a negative number should lead to no limitation on the result set.
|
void |
validate()
validates pagination parameters
|
public static final java.lang.String X_TOTAL_COUNT_HEADER
public static final Paging ALL
public int getPage()
public int getResultsPerPage()
public void validate()