org.paneris.bibliomania.fti
Class HitTextsEnumeration

java.lang.Object
  extended by org.paneris.bibliomania.fti.HitTextsEnumeration
All Implemented Interfaces:
java.util.Enumeration, org.melati.util.PagedEnumeration

public class HitTextsEnumeration
extends java.lang.Object
implements org.melati.util.PagedEnumeration


Constructor Summary
HitTextsEnumeration(ContextSearchResults resultsP, long startTextID, long limitTextID, int pageStart, int requestedPageSize, int hitsPerText)
           
 
Method Summary
 int getCurrentPosition()
           
 java.lang.Integer getNextPageStart()
           
 int getNextPosition()
           
 int getPageEnd()
           
 java.util.Vector getPages()
           
 int getPageSize()
           
 int getPageStart()
           
 java.lang.Integer getPrevPageStart()
           
 int getTotalCount()
           
 boolean getTotalCountIsMinimum()
           
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
 boolean nextElementOnThisPage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HitTextsEnumeration

public HitTextsEnumeration(ContextSearchResults resultsP,
                           long startTextID,
                           long limitTextID,
                           int pageStart,
                           int requestedPageSize,
                           int hitsPerText)
                    throws FTIException
Throws:
FTIException
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration

getPageStart

public int getPageStart()
Specified by:
getPageStart in interface org.melati.util.PagedEnumeration

getPageSize

public int getPageSize()
Specified by:
getPageSize in interface org.melati.util.PagedEnumeration

getPageEnd

public int getPageEnd()
Specified by:
getPageEnd in interface org.melati.util.PagedEnumeration

getTotalCount

public int getTotalCount()
Specified by:
getTotalCount in interface org.melati.util.PagedEnumeration

getTotalCountIsMinimum

public boolean getTotalCountIsMinimum()

getPrevPageStart

public java.lang.Integer getPrevPageStart()
Specified by:
getPrevPageStart in interface org.melati.util.PagedEnumeration

getNextPageStart

public java.lang.Integer getNextPageStart()
Specified by:
getNextPageStart in interface org.melati.util.PagedEnumeration

getCurrentPosition

public int getCurrentPosition()
Specified by:
getCurrentPosition in interface org.melati.util.PagedEnumeration

getNextPosition

public int getNextPosition()
Specified by:
getNextPosition in interface org.melati.util.PagedEnumeration

getPages

public java.util.Vector getPages()
Specified by:
getPages in interface org.melati.util.PagedEnumeration

nextElementOnThisPage

public boolean nextElementOnThisPage()
Specified by:
nextElementOnThisPage in interface org.melati.util.PagedEnumeration


Copyright © 2000-2009 PanEris. All Rights Reserved.