Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ru.gammalabs.ice.frontend
Interface PageableContainer  view PageableContainer download PageableContainer.java


public interface PageableContainer

Interface for lists supporting paging. Via this interface page switching control should be able to retrieve information about number of pages in list, current page number and to retrieve object ("criteria") identifying any target page.

Version:
$Revision: 1.2 $

Method Summary
 ru.gammalabs.ice.utils.http.Requestable getCriteriaForPageTurns(int pageTurns)
          Returns "criteria" object that represents page that is pageTurns away from currently displayed page.
 java.lang.String getCriteriaId()
          Returns unique string identifier for this list's "criteria" object.
 int getCurrentPageNumber()
          Returns current page number.
 int getPagesNumber()
          Returns total number of pages contained in this list.
 long getRecordsNumber()
          Returns total number of records contained in this list.
 

Method Detail

getCriteriaForPageTurns

public ru.gammalabs.ice.utils.http.Requestable getCriteriaForPageTurns(int pageTurns)
                                                                throws NoSuchPageException
Returns "criteria" object that represents page that is pageTurns away from currently displayed page.


getCriteriaId

public java.lang.String getCriteriaId()
Returns unique string identifier for this list's "criteria" object.


getPagesNumber

public int getPagesNumber()
Returns total number of pages contained in this list.


getRecordsNumber

public long getRecordsNumber()
Returns total number of records contained in this list.


getCurrentPageNumber

public int getCurrentPageNumber()
Returns current page number.