org.paneris.bibliomania.pagination
Class Pagination.PageFinder

java.lang.Object
  extended by org.paneris.bibliomania.pagination.Pagination.PageFinder
Enclosing class:
Pagination

public class Pagination.PageFinder
extends java.lang.Object


Constructor Summary
Pagination.PageFinder()
           
 
Method Summary
 Pagination.PageSpan pageOfNumber(long textIdP, int number)
           
 Pagination.PageSpan pageOfOffset(long textIdP, int offset)
           
 int totalPages(long textIdP)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pagination.PageFinder

public Pagination.PageFinder()
Method Detail

totalPages

public int totalPages(long textIdP)
               throws com.sleepycat.db.DatabaseException
Throws:
com.sleepycat.db.DatabaseException

pageOfNumber

public Pagination.PageSpan pageOfNumber(long textIdP,
                                        int number)
                                 throws com.sleepycat.db.DatabaseException
Throws:
com.sleepycat.db.DatabaseException

pageOfOffset

public Pagination.PageSpan pageOfOffset(long textIdP,
                                        int offset)
                                 throws com.sleepycat.db.DatabaseException
Throws:
com.sleepycat.db.DatabaseException


Copyright © 2000-2009 PanEris. All Rights Reserved.