org.apache.oodt.cas.catalog.page
Class IndexPager

java.lang.Object
  extended by org.apache.oodt.cas.catalog.page.IndexPager
Direct Known Subclasses:
QueryPager

public class IndexPager
extends Object

Version:
$Revision$

A pager for paging through a index

Author:
bfoster

Field Summary
protected  int numOfHits
           
protected  int pageNum
           
protected  int pageSize
           
protected  int totalPages
           
 
Constructor Summary
IndexPager()
           
IndexPager(ProcessedPageInfo processedPageInfo)
           
 
Method Summary
 int getNumOfHits()
           
 int getPageNum()
           
 int getPageSize()
           
 ProcessedPageInfo getProcessedPageInfo()
           
 int getTotalPages()
           
 void incrementPageNumber()
           
 boolean isLastPage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pageSize

protected int pageSize

pageNum

protected int pageNum

totalPages

protected int totalPages

numOfHits

protected int numOfHits
Constructor Detail

IndexPager

public IndexPager()

IndexPager

public IndexPager(ProcessedPageInfo processedPageInfo)
Method Detail

getProcessedPageInfo

public ProcessedPageInfo getProcessedPageInfo()

getPageSize

public int getPageSize()

getPageNum

public int getPageNum()

getTotalPages

public int getTotalPages()

getNumOfHits

public int getNumOfHits()

incrementPageNumber

public void incrementPageNumber()

isLastPage

public boolean isLastPage()


Copyright © 1999-2013
Apache OODT. All Rights Reserved.