|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.2) E10653-10 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
java.util.AbstractCollection<E>
oracle.adf.model.adapter.bean.pagination.PaginationCollectionModel<E>
public abstract class PaginationCollectionModel<E>
| Field Summary | |
|---|---|
protected oracle.adf.share.logging.ADFLogger |
_loggerLogger |
static int |
DEFAULT_FETCH_SIZEDefault fetch size |
| Constructor Summary | |
|---|---|
PaginationCollectionModel() |
|
| Method Summary | |
|---|---|
boolean |
add(E e) |
void |
add(int index, E e) |
boolean |
addAll(java.util.Collection<? extends E> c) |
void |
addCollection(java.util.Collection<E> data)Add data to managed collection |
boolean |
canHandle() |
void |
clear() |
protected void |
clearAll()Clear data buffer and cache page |
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. |
java.util.Collection<E> |
getCollection(int start)Return the page collection at startIndex |
java.lang.Object |
getDataProvider()Returns the data object for this collection represents. |
long |
getEstimatedRowCount()Return the total # of rows count for a query. |
int |
getFetchedRowCount() |
int |
getFetchSize()Return the fetch size per page |
int |
getFetchStart()Return fetch start |
int |
getPageCount() |
int |
getPageIndex() |
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. |
java.util.Iterator<E> |
iterator()Return an iterator of this collection |
void |
lastPage()Action method bound to the "Last >|" link. |
void |
nextPage()Action method bound to the "Next >" link. |
void |
notifyRefresh() |
void |
previousPage()Action method bound to the "< Previous" link. |
void |
refresh()Refresh the colleciton |
java.lang.Object |
remove(int index) |
boolean |
remove(java.lang.Object o) |
void |
setFetchSize(int fetchSize)Set fetch size |
void |
setFetchStart(int fetchStart)Set fetch start |
void |
setPageSize(int pageSize)Set page size |
void |
setRowCount(long rowCount)Set the total number row count for the collection |
int |
size() |
boolean |
supportsDefaultPaging() |
boolean |
supportsRangePaging() |
| Methods inherited from class java.util.AbstractCollection |
|---|
contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
|---|
equals, hashCode |
| Field Detail |
|---|
protected oracle.adf.share.logging.ADFLogger _logger
public static final int DEFAULT_FETCH_SIZE
| Constructor Detail |
|---|
public PaginationCollectionModel()
| Method Detail |
|---|
public void refresh()
public void notifyRefresh()
public boolean canHandle()
public boolean supportsRangePaging()
public boolean supportsDefaultPaging()
public boolean addAll(java.util.Collection<? extends E> c)
addAll in interface java.util.Collection<E>addAll in class java.util.AbstractCollection<E>public boolean add(E e)
add in interface java.util.Collection<E>add in class java.util.AbstractCollection<E>
public void add(int index,
E e)
public boolean remove(java.lang.Object o)
remove in interface java.util.Collection<E>remove in class java.util.AbstractCollection<E>public java.lang.Object remove(int index)
public int size()
size in interface java.util.Collection<E>size in class java.util.AbstractCollection<E>public void clear()
clear in interface java.util.Collection<E>clear in class java.util.AbstractCollection<E>protected void clearAll()
public java.util.Iterator<E> iterator()
iterator in interface java.lang.Iterable<E>iterator in interface java.util.Collection<E>iterator in class java.util.AbstractCollection<E>public long getEstimatedRowCount()
public void addCollection(java.util.Collection<E> data)
public java.util.Collection<E> getCollection()
public java.util.Collection<E> getCollection(int start)
public java.lang.Object getDataProvider()
public void setPageSize(int pageSize)
setPageSize in interface Pagination<E>public void setFetchSize(int fetchSize)
setFetchSize in interface Pagination<E>public int getFetchSize()
PaginationgetFetchSize in interface Pagination<E>public void setFetchStart(int fetchStart)
setFetchStart in interface Pagination<E>fetchStart - int rangeStart.public int getFetchStart()
PaginationgetFetchStart in interface Pagination<E>public int getPageIndex()
public int getPageCount()
public void setRowCount(long rowCount)
setRowCount in interface Pagination<E>rowCount -public long getRowCount()
PaginationgetRowCount in interface Pagination<E>public int getFetchedRowCount()
public void firstPage()
firstPage in interface Pagination<E>public void lastPage()
lastPage in interface Pagination<E>public void nextPage()
nextPage in interface Pagination<E>public void previousPage()
previousPage in interface Pagination<E>public boolean hasNextPage()
hasNextPage in interface Pagination<E>public boolean hasPreviousPage()
hasPreviousPage in interface Pagination<E>
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.2) E10653-10 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||