|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.2.0) E17483-03 |
||||||||
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.provider.BeanCollectionModel<E>
public abstract class BeanCollectionModel<E>
Field Summary | |
---|---|
protected oracle.adf.share.logging.ADFLogger |
_logger Logger |
static int |
DEFAULT_FETCH_SIZE Default fetch size |
Constructor Summary | |
---|---|
BeanCollectionModel() |
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 |
void |
clear() |
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 pageIndex) Return the page collection at pageIndex |
long |
getEstimatedRowCount() Return the total # of rows count for a query. |
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 |
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 |
setPageBlock(int pages) |
void |
setPageSize(int pageSize) Set page size |
void |
setRowCount(long rowCount) Set the total number row count for the collection |
int |
size() |
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 BeanCollectionModel()
Method Detail |
---|
public void refresh()
public void setPageBlock(int pages)
pages
- int
pages per blockpublic 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>
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()
getEstimatedRowCount
in interface PaginationCollectionModel<E>
long
the number of rows in the collection.public void addCollection(java.util.Collection<E> data)
addCollection
in interface PaginationCollectionModel<E>
data
- Collection
collection for pagepublic java.util.Collection<E> getCollection()
getCollection
in interface PaginationCollectionModel<E>
Collection
public java.util.Collection<E> getCollection(int pageIndex)
getCollection
in interface PaginationCollectionModel<E>
public void setPageSize(int pageSize)
setPageSize
in interface Pagination
public void setFetchSize(int fetchSize)
setFetchSize
in interface Pagination
public int getFetchSize()
Pagination
getFetchSize
in interface Pagination
public void setFetchStart(int fetchStart)
setFetchStart
in interface Pagination
fetchStart
- int
rangeStart.public int getFetchStart()
Pagination
getFetchStart
in interface Pagination
public int getPageIndex()
public int getPageCount()
public void setRowCount(long rowCount)
setRowCount
in interface Pagination
rowCount
-public long getRowCount()
Pagination
getRowCount
in interface Pagination
public void firstPage()
firstPage
in interface Pagination
public void lastPage()
lastPage
in interface Pagination
public void nextPage()
nextPage
in interface Pagination
public void previousPage()
previousPage
in interface Pagination
public boolean hasNextPage()
hasNextPage
in interface Pagination
public boolean hasPreviousPage()
hasPreviousPage
in interface Pagination
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.2.0) E17483-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |