org.sequalite.model
Class SeQuaLitePageModel

java.lang.Object
  extended by org.sequalite.model.SeQuaLitePageModel
All Implemented Interfaces:
java.io.Serializable

public class SeQuaLitePageModel
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
SeQuaLitePageModel(Session session, java.lang.String query, java.lang.Object[] values, java.lang.Class voClass, int recordsPerPage)
          Constructor
 
Method Summary
 java.util.List getPage(int pageNumber)
           
 int getPageCount()
           
 java.lang.String getQuery()
           
 int getRecordCount()
           
 int getRecordsPerPage()
           
 Session getSession()
           
 java.lang.Object[] getValues()
           
 java.lang.Class getVoClass()
           
 void setFilterArray(java.lang.Object[][] filterArray)
           
 void setRecordCount(int recordCount)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeQuaLitePageModel

public SeQuaLitePageModel(Session session,
                          java.lang.String query,
                          java.lang.Object[] values,
                          java.lang.Class voClass,
                          int recordsPerPage)
                   throws SeQuaLiteFinderException,
                          SeQuaLiteException
Constructor

Parameters:
session -
query -
values -
voClass -
recordsPerPage -
Throws:
SeQuaLiteException
SeQuaLiteFinderException
PaginationException
SeQuaLiteException
Method Detail

getValues

public java.lang.Object[] getValues()

getPage

public java.util.List getPage(int pageNumber)
                       throws SeQuaLiteFinderException,
                              SeQuaLiteException
Throws:
SeQuaLiteFinderException
SeQuaLiteException

getPageCount

public int getPageCount()

getQuery

public java.lang.String getQuery()

getRecordCount

public int getRecordCount()

getRecordsPerPage

public int getRecordsPerPage()

getSession

public Session getSession()

getVoClass

public java.lang.Class getVoClass()

setFilterArray

public void setFilterArray(java.lang.Object[][] filterArray)

setRecordCount

public void setRecordCount(int recordCount)