com.ibm.bpe.jsf.handler
Class BPCListHandler.PagingHelper

java.lang.Object
  extended bycom.ibm.bpe.jsf.handler.BPCListHandler.PagingHelper
Enclosing class:
BPCListHandler

public class BPCListHandler.PagingHelper
extends java.lang.Object

This class is not for public usage.


Constructor Summary
BPCListHandler.PagingHelper()
           
 
Method Summary
 int getFirst()
          This method is not for public usage.
 int getNumberPages()
          This method is not for public usage.
 int getPageNumber()
          This method is not for public usage.
 int getRows()
          This method is not for public usage.
 int getTotalNumberItems()
          This method is not for public usage.
 boolean isNextPossible()
          This method is not for public usage.
 boolean isPreviousPossible()
          This method is not for public usage.
 java.lang.String next()
          This method is not for public usage.
 java.lang.String previous()
          This method is not for public usage.
 void setFirst(int firstItem)
          This method is not for public usage.
 void setPageNumber(int page)
          This method is not for public usage.
 void setRows(int pageSize)
          This method is not for public usage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BPCListHandler.PagingHelper

public BPCListHandler.PagingHelper()
Method Detail

next

public java.lang.String next()
This method is not for public usage.

Returns:
null which means stay on this page.

isNextPossible

public boolean isNextPossible()
This method is not for public usage.

Returns:
first + rows < size

previous

public java.lang.String previous()
This method is not for public usage.

Returns:
null which means stay on this page.

isPreviousPossible

public boolean isPreviousPossible()
This method is not for public usage.

Returns:
first - rows >== 0

getFirst

public int getFirst()
This method is not for public usage.

Returns:
index of the first item being shown.

getRows

public int getRows()
This method is not for public usage.

Returns:
0 or the number of items shown at most

getTotalNumberItems

public int getTotalNumberItems()
This method is not for public usage.

Returns:
The total number of items

getNumberPages

public int getNumberPages()
This method is not for public usage.

Returns:
The number of pages available

setPageNumber

public void setPageNumber(int page)
This method is not for public usage.

Parameters:
page - The number of the page.

getPageNumber

public int getPageNumber()
This method is not for public usage.

Returns:
The number of the page.

setFirst

public void setFirst(int firstItem)
This method is not for public usage.

Parameters:
firstItem - The number of the first item shown

setRows

public void setRows(int pageSize)
This method is not for public usage.

Parameters:
pageSize -