org.exoplatform.community.brandadvocacy.portlet.backend.models
Class Pagination

java.lang.Object
  extended by org.exoplatform.community.brandadvocacy.portlet.backend.models.Pagination

public class Pagination
extends Object

Created by exoplatform on 11/2/14.


Constructor Summary
Pagination(int total, int nbRecordsPerPage, String currentPage)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pagination

public Pagination(int total,
                  int nbRecordsPerPage,
                  String currentPage)
Method Detail

getTotal

public double getTotal()

setTotal

public void setTotal(int total)

getCurrentPage

public int getCurrentPage()

setCurrentPage

public void setCurrentPage(String currentPage)

getFirstPage

public int getFirstPage()

setFirstPage

public void setFirstPage(int firstPage)

getNbRecordsPerPage

public int getNbRecordsPerPage()

setNbRecordsPerPage

public void setNbRecordsPerPage(int nbRecordsPerPage)

generatePagination

public String generatePagination(String params)

getTotalPages

public int getTotalPages()

setTotalPages

public void setTotalPages(double totalPages)


Copyright © 2003–2015 eXo Platform SAS. All rights reserved.