hudson.plugins.covcomplplot
Class Pagination

java.lang.Object
  extended by hudson.plugins.covcomplplot.Pagination

public class Pagination
extends Object

Class for rendering paging information in jelly script.

Author:
JunHo Yoon

Constructor Summary
Pagination(int currentPage, int totalCount, int pagingSize, String moveLink)
          Constructor
 
Method Summary
 int getCurrentPage()
          Get current page
 int getPageSize()
          Get each page size
 String getTag()
          Get paging tag
 int getTotalCount()
          Get total item count
 void setCurrentPage(int currentPage)
          Set current page
 void setPageSize(int pageSize)
          Set page size
 void setTotalCount(int totalCount)
          Set total item count
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pagination

public Pagination(int currentPage,
                  int totalCount,
                  int pagingSize,
                  String moveLink)
Constructor

Parameters:
currentPage - Current Page
totalCount - total Count
pagingSize - Page Size
moveLink -
Method Detail

getTag

public String getTag()
Get paging tag

Returns:
tag string

getTotalCount

public int getTotalCount()
Get total item count

Returns:
total tem count

setTotalCount

public void setTotalCount(int totalCount)
Set total item count

Parameters:
totalCount - total item count

getCurrentPage

public int getCurrentPage()
Get current page

Returns:
current page

setCurrentPage

public void setCurrentPage(int currentPage)
Set current page

Parameters:
currentPage - current page

getPageSize

public int getPageSize()
Get each page size

Returns:
the pageSize

setPageSize

public void setPageSize(int pageSize)
Set page size

Parameters:
pageSize - the pageSize to set


Copyright © 2004-2011. All Rights Reserved.