public class Paging extends Object implements Serializable
| 构造器和说明 |
|---|
Paging() |
Paging(Long pageIndex,
Long pageSize) |
Paging(long pageIndex,
long pageSize,
long totalCount) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Paging |
build()
构建分页条件
|
static Paging |
build(Long pageIndex,
Long pageSize)
构建分页条件
|
boolean |
getEnableTotalCount() |
Long |
getPageCount()
返回总的页数
|
Long |
getPageIndex() |
Long |
getPageSize()
返回每页的条数
|
Long |
getTotalCount()
返回每页的条数
|
void |
setEnableTotalCount(boolean enableTotalCount) |
void |
setPageIndex(Long pageIndex) |
void |
setPageSize(Long pageSize) |
void |
setTotalCount(Long totalCount) |
String |
toString() |
public Long getTotalCount()
public Long getPageIndex()
public Long getPageSize()
public Long getPageCount()
public boolean getEnableTotalCount()
public void setPageIndex(Long pageIndex)
public void setPageSize(Long pageSize)
public void setTotalCount(Long totalCount)
public void setEnableTotalCount(boolean enableTotalCount)
public static Paging build()
Copyright © 2018. All rights reserved.