public class PagedResult<E> extends Result<List<E>>
| Modifier and Type | Class and Description |
|---|---|
static class |
PagedResult.Builder<E> |
| Constructor and Description |
|---|
PagedResult() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentPage() |
int |
getPageSize() |
Integer |
getTotal() |
Integer |
getTotalPage() |
boolean |
isCountTotal() |
static void |
main(String[] args) |
void |
setCountTotal(boolean countTotal) |
void |
setCurrentPage(int currentPage) |
void |
setFetchAll(boolean fetchAll) |
void |
setPageSize(int pageSize) |
void |
setTotal(Integer total) |
void |
setTotalPage(Integer totalPage) |
String |
toString() |
code, create, data, description, fail, fail, getData, setData, sid, success, successgetCode, getDescription, getSid, isSuccess, setCode, setDescription, setSid, setSuccesspublic void setCountTotal(boolean countTotal)
public void setFetchAll(boolean fetchAll)
public void setTotal(Integer total)
public void setTotalPage(Integer totalPage)
public void setCurrentPage(int currentPage)
public void setPageSize(int pageSize)
public static void main(String[] args)
public boolean isCountTotal()
public Integer getTotal()
public Integer getTotalPage()
public int getCurrentPage()
public int getPageSize()
Copyright © 2018. All rights reserved.