public class Pagination
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_ITEMS_PER_PAGE |
static java.lang.String |
PARAM_PAGE |
static java.lang.String |
PARAM_PER_PAGE |
Constructor and Description |
---|
Pagination() |
Modifier and Type | Method and Description |
---|---|
Query |
asQuery() |
void |
setPage(int page) |
void |
setPerPage(int perPage) |
java.lang.String |
toString() |
Pagination |
withPage(int page) |
Pagination |
withPerPage(int perPage) |
public static final java.lang.String PARAM_PAGE
public static final java.lang.String PARAM_PER_PAGE
public static final int MAX_ITEMS_PER_PAGE
public void setPage(int page)
public void setPerPage(int perPage)
public Pagination withPage(int page)
public Pagination withPerPage(int perPage)
public Query asQuery()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2017. All Rights Reserved.