Package com.power4j.fist.data.domain
Class PageRequest
java.lang.Object
com.power4j.fist.data.domain.AbstractPageRequest
com.power4j.fist.data.domain.PageRequest
- All Implemented Interfaces:
Pageable
- Since:
- 1.0
- Author:
- CJ (power4j@outlook.com)
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionat(int pageNumber) 翻页,跳转到指定页码first()翻页,第一页static PageRequestgetSort()返回排序参数next()翻页,下一页static PageRequestof(int pageNumber) static PageRequestof(int pageNumber, int pageSize) static PageRequestprevious()Returns the Pageable requesting the previous Page.Methods inherited from class com.power4j.fist.data.domain.AbstractPageRequest
getPageNumber, getPageSize, hasPrevious, previousOrFirst
-
Field Details
-
DEFAULT_PAGE_SIZE
public static final int DEFAULT_PAGE_SIZE- See Also:
-
FIRST_PAGE
public static final int FIRST_PAGE- See Also:
-
-
Method Details
-
of
-
of
-
of
-
firstPage
-
at
Description copied from interface:Pageable翻页,跳转到指定页码- Parameters:
pageNumber- 页码- Returns:
- Pageable
-
getSort
Description copied from interface:Pageable返回排序参数- Returns:
- 返回排序参数
-
next
Description copied from interface:Pageable翻页,下一页- Returns:
- Pageable
-
first
Description copied from interface:Pageable翻页,第一页- Returns:
- Pageable
-
previous
Description copied from class:AbstractPageRequestReturns the Pageable requesting the previous Page.- Specified by:
previousin classAbstractPageRequest- Returns:
- PageRequest
-