com.ihr.xbrl.database.pagination
Class AbstractPage

java.lang.Object
  extended by com.ihr.xbrl.database.pagination.AbstractPage
All Implemented Interfaces:
Page
Direct Known Subclasses:
HibernatePage

public abstract class AbstractPage
extends java.lang.Object
implements Page


Field Summary
 
Fields inherited from interface com.ihr.xbrl.database.pagination.Page
DEFAULT_SIZE
 
Method Summary
 int getLastPageNumber()
           
 org.apache.commons.logging.Log getLogger()
           
 int getNextPageNumber()
           
 int getPageNumber()
           
 int getPageSize()
           
 int getPreviousPageNumber()
           
 int getThisPageFirstElementNumber()
           
 int getThisPageLastElementNumber()
           
 boolean hasPreviousPage()
           
 boolean isFirstPage()
           
 boolean isLastPage()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ihr.xbrl.database.pagination.Page
getThisPageElements, getTotalNumberOfElements, hasNextPage
 

Method Detail

getLogger

public org.apache.commons.logging.Log getLogger()
Specified by:
getLogger in interface Page

isFirstPage

public boolean isFirstPage()
Specified by:
isFirstPage in interface Page

isLastPage

public boolean isLastPage()
Specified by:
isLastPage in interface Page

hasPreviousPage

public boolean hasPreviousPage()
Specified by:
hasPreviousPage in interface Page

getThisPageFirstElementNumber

public int getThisPageFirstElementNumber()
Specified by:
getThisPageFirstElementNumber in interface Page

getThisPageLastElementNumber

public int getThisPageLastElementNumber()
Specified by:
getThisPageLastElementNumber in interface Page

getLastPageNumber

public int getLastPageNumber()
Specified by:
getLastPageNumber in interface Page

getNextPageNumber

public int getNextPageNumber()
Specified by:
getNextPageNumber in interface Page

getPreviousPageNumber

public int getPreviousPageNumber()
Specified by:
getPreviousPageNumber in interface Page

getPageSize

public int getPageSize()
Specified by:
getPageSize in interface Page

getPageNumber

public int getPageNumber()
Specified by:
getPageNumber in interface Page


Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa