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

java.lang.Object
  extended by org.apache.oodt.cas.catalog.page.IndexPager
      extended by org.apache.oodt.cas.catalog.page.QueryPager

public class QueryPager
extends IndexPager

Version:
$Revision$

A pager for paging through query results

Author:
bfoster

Field Summary
protected  List<TransactionReceipt> receipts
           
 
Fields inherited from class org.apache.oodt.cas.catalog.page.IndexPager
numOfHits, pageNum, pageSize, totalPages
 
Constructor Summary
QueryPager(List<TransactionReceipt> receipts)
           
 
Method Summary
protected  int caculateTotalPages()
           
 List<TransactionReceipt> getCurrentPage()
           
 List<TransactionReceipt> getTransactionReceipts()
           
 void setPageInfo(PageInfo pageInfo)
           
 
Methods inherited from class org.apache.oodt.cas.catalog.page.IndexPager
getNumOfHits, getPageNum, getPageSize, getProcessedPageInfo, getTotalPages, incrementPageNumber, isLastPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

receipts

protected List<TransactionReceipt> receipts
Constructor Detail

QueryPager

public QueryPager(List<TransactionReceipt> receipts)
Method Detail

caculateTotalPages

protected int caculateTotalPages()

setPageInfo

public void setPageInfo(PageInfo pageInfo)

getTransactionReceipts

public List<TransactionReceipt> getTransactionReceipts()

getCurrentPage

public List<TransactionReceipt> getCurrentPage()


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