public class Page<T> extends Object implements Serializable
| 构造器和说明 |
|---|
Page() |
Page(int pageSize,
long pageNo) |
Page(List<T> rows,
long recordCount) |
Page(List<T> rows,
long recordCount,
int pageSize,
long startIndex) |
Page(List<T> rows,
long recordCount,
long startIndex) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getFirstPage() |
long |
getLastPage() |
long |
getNextIndex() |
long |
getNextPage() |
Boolean |
getOverPageToFirst() |
long |
getPageNo()
Access method for the pageNo property.
|
int |
getPageSize() |
long |
getPreviousIndex() |
long |
getPriorPage() |
long |
getRecordCount() |
List<T> |
getRows() |
Boolean |
getSkipQueryCount() |
long |
getStartIndex() |
long |
getTotalPage() |
Page |
setOverPageToFirst(Boolean overPageToFirst) |
Page |
setPageNo(long pageNo)
Sets the value of the pageNo property.
|
Page |
setPageSize(int pageSize) |
Page |
setRecordCount(long recordCount) |
Page |
setRows(List<T> rows) |
Page |
setSkipQueryCount(Boolean skipQueryCount) |
public int getPageSize()
public Page setPageSize(int pageSize)
public long getRecordCount()
public Page setRecordCount(long recordCount)
public long getPageNo()
public Page setPageNo(long pageNo)
pageNo - the new value of the pageNo property where pageNo==-1 then show
all pagepublic long getStartIndex()
public long getNextIndex()
public long getPreviousIndex()
public long getPriorPage()
public long getLastPage()
public long getFirstPage()
public long getNextPage()
public long getTotalPage()
public Boolean getSkipQueryCount()
public Boolean getOverPageToFirst()
Copyright © 2023. All rights reserved.