This is a convenience class which allows a reference to a page of
results to be passed around the system before being applied to
a Query by calling Query#setPage(Page).
A parameter of a HQL query method may be declared with type Page.
SelectionQuery#setPage(Page)
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Page | |
| public Page | |
| public int | |
| public int | |
| public int | |
| public int | |
| public boolean | |
| public Page | |
| public static Page | |
| public Page |
| number | back to summary |
|---|---|
| private final int number | |
| size | back to summary |
|---|---|
| private final int size | |
| Page | back to summary |
|---|---|
| private Page(int size, int number) | |
| first | back to summary |
|---|---|
| public static Page first(int size) | |
| first | back to summary |
|---|---|
| public Page first() | |
| getFirstResult | back to summary |
|---|---|
| public int getFirstResult() | |
| getMaxResults | back to summary |
|---|---|
| public int getMaxResults() | |
| getNumber | back to summary |
|---|---|
| public int getNumber() | |
| getSize | back to summary |
|---|---|
| public int getSize() | |
| isFirst | back to summary |
|---|---|
| public boolean isFirst() | |
| next | back to summary |
|---|---|
| public Page next() | |
| page | back to summary |
|---|---|
| public static Page page(int size, int number) | |
| previous | back to summary |
|---|---|
| public Page previous() | |