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