类 Page<T>
- java.lang.Object
-
- org.sagacity.sqltoy.model.Page<T>
-
- 所有已实现的接口:
Serializable
public class Page<T> extends Object implements Serializable
- 版本:
- v1.0,Date:2011-2-25
- 作者:
- zhongxuchen
- 另请参阅:
- 序列化表格
-
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 longgetFirstPage()longgetLastPage()longgetNextIndex()longgetNextPage()BooleangetOverPageToFirst()longgetPageNo()Access method for the pageNo property.intgetPageSize()longgetPreviousIndex()longgetPriorPage()longgetRecordCount()List<T>getRows()BooleangetSkipQueryCount()longgetStartIndex()longgetTotalPage()PagesetOverPageToFirst(Boolean overPageToFirst)PagesetPageNo(long pageNo)Sets the value of the pageNo property.PagesetPageSize(int pageSize)PagesetRecordCount(long recordCount)PagesetRows(List<T> rows)PagesetSkipQueryCount(Boolean skipQueryCount)
-
-
-
方法详细资料
-
getPageSize
public int getPageSize()
-
setPageSize
public Page setPageSize(int pageSize)
-
getRecordCount
public long getRecordCount()
-
setRecordCount
public Page setRecordCount(long recordCount)
-
getPageNo
public long getPageNo()
Access method for the pageNo property.- 返回:
- the current value of the pageNo property
-
setPageNo
public Page setPageNo(long pageNo)
Sets the value of the pageNo property.- 参数:
pageNo- the new value of the pageNo property where pageNo==-1 then show all page
-
getStartIndex
public long getStartIndex()
-
getNextIndex
public long getNextIndex()
-
getPreviousIndex
public long getPreviousIndex()
-
getPriorPage
public long getPriorPage()
- 返回:
- 上一页号
-
getLastPage
public long getLastPage()
- 返回:
- 最后一页
-
getFirstPage
public long getFirstPage()
- 返回:
- 第一页
-
getNextPage
public long getNextPage()
- 返回:
- 下一页号
-
getTotalPage
public long getTotalPage()
- 返回:
- totalPage 总页数
-
getSkipQueryCount
public Boolean getSkipQueryCount()
-
getOverPageToFirst
public Boolean getOverPageToFirst()
-
-