Package com.luna.common.page
Class PageQuery
java.lang.Object
com.luna.common.page.PageQuery
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
protected Integer
protected int
protected int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getPage()
int
void
void
setPage
(int page) void
setPageSize
(int pageSize)
-
Field Details
-
page
protected int page -
pageSize
protected int pageSize -
offset
-
DEFAULT_PAGE_SIZE
public static final int DEFAULT_PAGE_SIZE- See Also:
-
DEFAULT_MAX_PAGE_SIZE
public static final int DEFAULT_MAX_PAGE_SIZE- See Also:
-
-
Constructor Details
-
PageQuery
public PageQuery()
-
-
Method Details
-
getPage
public int getPage() -
setPage
public void setPage(int page) -
getPageSize
public int getPageSize() -
setPageSize
public void setPageSize(int pageSize) -
setOffset
-
getOffset
-