Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-03


oracle.adf.model.adapter.bean.pagination
Interface Pagination<E>

All Known Implementing Classes:
BeanDataCollection, JPQLBeanDataCollection, PaginationCollectionModel

public interface Pagination<E>
Since:
11.1.2

Method Summary
 void firstPage()
          Action method bound to the "First" link.
 java.util.Collection<E> getCollection()
          Returns a list of object that fit the given paging range.
 int getFetchSize()
          Return the fetch size per page
 int getFetchStart()
          Return fetch start
 long getRecordCount()
          Return the total row count for a query.
 java.util.Collection gotoPage(int pageIndex)
          Return the page collection at pageIndex
 boolean hasNextPage()
          Method queried by the "Next" link to determine its enabled state.
 boolean hasPreviousPage()
          Method queried by the "Previous" link to determine its enabled state.
 void lastPage()
          Action method bound to the "Last" link.
 void nextPage()
          Action method bound to the "Next" link.
 void previousPage()
          Action method bound to the "Previous" link.
 void setCollection(java.util.Collection<E> data)
          Set collection model
 void setFetchSize(int pageSize)
          Set fetch size
 void setFetchStart(int fetchStart)
          Set fetch start
 void setRecordCount(long recordCount)
          Set the record count

 

Method Detail

setCollection

void setCollection(java.util.Collection<E> data)
Set collection model

getCollection

java.util.Collection<E> getCollection()
Returns a list of object that fit the given paging range.

setRecordCount

void setRecordCount(long recordCount)
Set the record count

getRecordCount

long getRecordCount()
Return the total row count for a query.

setFetchSize

void setFetchSize(int pageSize)
Set fetch size

getFetchSize

int getFetchSize()
Return the fetch size per page

setFetchStart

void setFetchStart(int fetchStart)
Set fetch start

getFetchStart

int getFetchStart()
Return fetch start

gotoPage

java.util.Collection gotoPage(int pageIndex)
Return the page collection at pageIndex

firstPage

void firstPage()
Action method bound to the "First" link. Increment the row cursor by the increment size.

nextPage

void nextPage()
Action method bound to the "Next" link. Increment the row cursor by the increment size.

lastPage

void lastPage()
Action method bound to the "Last" link. Increment the row cursor by the increment size.

previousPage

void previousPage()
Action method bound to the "Previous" link. Decrements the row cursor by the increment size. Action status returned is unused.

hasNextPage

boolean hasNextPage()
Method queried by the "Next" link to determine its enabled state. Returns true if another page exists.

hasPreviousPage

boolean hasPreviousPage()
Method queried by the "Previous" link to determine its enabled state. Returns true iff a previous page exists.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-03


Copyright © 1997, 2009, Oracle. All rights reserved.