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

E10653-08

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.
 int getFetchSize()
          Return the fetch size per page
 int getFetchStart()
          Return fetch start
 long getRowCount()
          Return the total rows count
 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 setFetchSize(int pageSize)
          Set fetch size
 void setFetchStart(int fetchStart)
          Set fetch start
 void setPageSize(int pageSize)
          Set page size - row per page
 void setRowCount(long rowCount)
          Set the rows count
 

Method Detail

setRowCount

void setRowCount(long rowCount)
Set the rows count


getRowCount

long getRowCount()
Return the total rows count


setFetchSize

void setFetchSize(int pageSize)
Set fetch size


setPageSize

void setPageSize(int pageSize)
Set page size - row per page


getFetchSize

int getFetchSize()
Return the fetch size per page


setFetchStart

void setFetchStart(int fetchStart)
Set fetch start


getFetchStart

int getFetchStart()
Return fetch start


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.


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

E10653-08

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