public class Pagination extends Object
| Constructor and Description |
|---|
Pagination(int total,
int nbRecordsPerPage,
String currentPage) |
| Modifier and Type | Method and Description |
|---|---|
String |
generatePagination(String params) |
int |
getCurrentPage() |
int |
getFirstPage() |
int |
getNbRecordsPerPage() |
double |
getTotal() |
int |
getTotalPages() |
void |
setCurrentPage(String currentPage) |
void |
setFirstPage(int firstPage) |
void |
setNbRecordsPerPage(int nbRecordsPerPage) |
void |
setTotal(int total) |
void |
setTotalPages(double totalPages) |
public Pagination(int total,
int nbRecordsPerPage,
String currentPage)
public double getTotal()
public void setTotal(int total)
public int getCurrentPage()
public void setCurrentPage(String currentPage)
public int getFirstPage()
public void setFirstPage(int firstPage)
public int getNbRecordsPerPage()
public void setNbRecordsPerPage(int nbRecordsPerPage)
public int getTotalPages()
public void setTotalPages(double totalPages)
Copyright © 2003–2017 eXo Platform SAS. All rights reserved.