public class Pager<T> extends Object implements Serializable
Constructor and Description |
---|
Pager(int totalCount,
int start,
int limit,
List<T> records) |
Pager(int totalCount,
int start,
List<T> records) |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentPage() |
int |
getLimit() |
List<T> |
getRecords() |
int |
getStart() |
int |
getTotalCount() |
int |
getTotalPages() |
void |
setCurrentPage(int currentPage) |
void |
setLimit(int limit) |
void |
setRecords(List<T> records) |
void |
setStart(int start) |
void |
setTotalCount(int totalCount) |
void |
setTotalPages(int totalPages) |
public int getTotalCount()
public void setTotalCount(int totalCount)
public int getCurrentPage()
public void setCurrentPage(int currentPage)
public int getLimit()
public void setLimit(int limit)
public int getStart()
public void setStart(int start)
public int getTotalPages()
public void setTotalPages(int totalPages)
Copyright © 2006–2018 TinyGroup. All rights reserved.