com.indexdata.mkjsf.controls
Class ResultsPager

java.lang.Object
  extended by com.indexdata.mkjsf.controls.ResultsPager
All Implemented Interfaces:
Serializable

public class ResultsPager
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
ResultsPager(Responses data)
           
ResultsPager(Responses data, int pageRange, Pazpar2Commands req)
           
 
Method Summary
 int getCurrentPage()
           
 int getCurrentPageNum()
           
 int getFirstDisplayedPageNum()
           
 int getLastDisplayedPageNum()
           
 int getLastPageNum()
           
 PageLink getNextPageLink(String text)
           
 List<PageLink> getPageLinks()
           
 int getPageSize()
           
 PageLink getPreviousPageLink(String text)
           
 void goToNextPage()
           
 void goToPage(int page)
           
 void goToPreviousPage()
           
 boolean hasNextPage()
           
 boolean hasPageAfterLastDisplayed()
           
 boolean hasPreviousPage()
           
 List<PageLink> setPageLinks(int rangeLength)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultsPager

public ResultsPager(Responses data)

ResultsPager

public ResultsPager(Responses data,
                    int pageRange,
                    Pazpar2Commands req)
Method Detail

getCurrentPageNum

public int getCurrentPageNum()

getPageSize

public int getPageSize()

getFirstDisplayedPageNum

public int getFirstDisplayedPageNum()

getLastDisplayedPageNum

public int getLastDisplayedPageNum()

getLastPageNum

public int getLastPageNum()

setPageLinks

public List<PageLink> setPageLinks(int rangeLength)

getPageLinks

public List<PageLink> getPageLinks()

getPreviousPageLink

public PageLink getPreviousPageLink(String text)

getNextPageLink

public PageLink getNextPageLink(String text)

getCurrentPage

public int getCurrentPage()

goToPage

public void goToPage(int page)

goToPreviousPage

public void goToPreviousPage()

goToNextPage

public void goToNextPage()

hasPreviousPage

public boolean hasPreviousPage()

hasNextPage

public boolean hasNextPage()

hasPageAfterLastDisplayed

public boolean hasPageAfterLastDisplayed()


Copyright © 2013. All Rights Reserved.