|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
oracle.adf.model.adapter.bean.pagination.PaginationCollectionModel<E>
public abstract class PaginationCollectionModel<E>
Field Summary | |
---|---|
protected oracle.adf.share.logging.ADFLogger |
_logger
Logger |
static int |
DEFAULT_FETCH_SIZE
Default 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 |
clear()
|
void |
clearAll()
|
void |
firstPage()
Action method bound to the "|< First" link. |
java.util.Collection |
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 |
int |
getPageCount()
|
int |
getPageIndex()
|
long |
getRecordCount()
Return the total # of record 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. |
java.util.Iterator<E> |
iterator()
Return an iterator of the rangeSize 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. |
java.lang.Object |
remove(int index)
|
boolean |
remove(java.lang.Object o)
|
void |
setCollection(java.util.Collection<E> data)
Set collection model |
void |
setFetchSize(int fetchSize)
Set page size |
void |
setFetchStart(int rangeStart)
Set fetch start |
void |
setRecordCount(long recordCount)
Set the record count |
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 PaginationCollectionModel()
Method Detail |
---|
public void clearAll()
public void setFetchStart(int rangeStart)
setFetchStart
in interface Pagination<E>
rangeStart
- int
rangeStart.public int getFetchStart()
Pagination
getFetchStart
in interface Pagination<E>
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>
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 void setCollection(java.util.Collection<E> data)
setCollection
in interface Pagination<E>
public void setFetchSize(int fetchSize)
setFetchSize
in interface Pagination<E>
public int getFetchSize()
Pagination
getFetchSize
in interface Pagination<E>
public java.util.Collection getCollection()
getCollection
in interface Pagination<E>
public int getPageIndex()
public int getPageCount()
public void setRecordCount(long recordCount)
Pagination
setRecordCount
in interface Pagination<E>
public long getRecordCount()
getRecordCount
in interface Pagination<E>
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>
public java.util.Collection gotoPage(int pageIndex)
gotoPage
in interface Pagination<E>
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |