| 
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05  | 
||||||||
| 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
oracle.adf.model.adapter.bean.provider.BeanDataCollection
public class BeanDataCollection
| Field Summary | |
|---|---|
protected  java.lang.Object | 
_beanInstance
Bean Instance  | 
protected  boolean | 
_isAccessor
 | 
protected  java.lang.String | 
_methodName
method Name  | 
| Fields inherited from class oracle.adf.model.adapter.bean.pagination.PaginationCollectionModel | 
|---|
_logger, DEFAULT_FETCH_SIZE | 
| Constructor Summary | |
|---|---|
BeanDataCollection(java.util.Map bindingContext,
                   OperationBinding action,
                   DataFilter filter)
 | 
|
BeanDataCollection(RowContext rowCtx,
                   java.lang.String name,
                   DataFilter filter)
 | 
|
| Method Summary | |
|---|---|
protected  java.util.Collection | 
buildCollectionModel()
Build the collection of rowData  | 
 boolean | 
canHandle()
Return whether or not can handle operations  | 
 java.lang.String | 
getAssociatedBeanClassName()
Return the associate beanClass name  | 
 java.util.Collection | 
getCollection()
Get data collection  | 
 int | 
getFetchSize()
Return the fetch size per page  | 
 int | 
getFetchStart()
Return fetch start  | 
 java.lang.String | 
getMethodCountName()
 | 
 java.lang.Class[] | 
getMethodCountParamTypes()
 | 
 java.lang.String | 
getMethodName()
 | 
 java.lang.Class[] | 
getMethodParamTypes()
 | 
 java.lang.Object | 
getProperty(java.lang.String name)
Gets a property value.  | 
 long | 
getRecordCount()
Implement get total # of record count.  | 
 java.util.List<java.lang.String> | 
getSearchAttributeNames()
 | 
 SearchCriteria | 
getSearchCriteria()
 | 
 SortCriteria | 
getSortCriteria()
 | 
protected  void | 
init()
Initialize all the related operations  | 
protected  void | 
initOperations()
Initialize all the related operations: getMethod(), getMethodCount, and getMethod(int, int)  | 
protected  java.lang.Object | 
invokeMethod(java.lang.Object instance,
             java.lang.String methodName,
             java.lang.Class[] paramTypes,
             java.lang.Object[] params)
Invoke the query method  | 
 void | 
refresh()
Refresh the colleciton  | 
 void | 
setMethodCountName(java.lang.String name)
 | 
 void | 
setMethodCountParamTypes(java.lang.Class[] paramTypes)
 | 
 void | 
setMethodName(java.lang.String name)
 | 
 void | 
setMethodParamTypes(java.lang.Class[] paramTypes)
 | 
 void | 
setProperty(java.lang.String name,
            java.lang.Object val)
Stores a property value.  | 
| Methods inherited from class oracle.adf.model.adapter.bean.pagination.PaginationCollectionModel | 
|---|
add, add, addAll, clear, clearAll, firstPage, getPageCount, getPageIndex, gotoPage, hasNextPage, hasPreviousPage, iterator, lastPage, nextPage, previousPage, remove, remove, setCollection, setFetchSize, setFetchStart, setRecordCount, 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 java.lang.Object _beanInstance
protected java.lang.String _methodName
protected boolean _isAccessor
| Constructor Detail | 
|---|
public BeanDataCollection(RowContext rowCtx,
                          java.lang.String name,
                          DataFilter filter)
public BeanDataCollection(java.util.Map bindingContext,
                          OperationBinding action,
                          DataFilter filter)
| Method Detail | 
|---|
protected void init()
protected void initOperations()
public boolean canHandle()
public java.lang.String getAssociatedBeanClassName()
public final void setProperty(java.lang.String name,
                              java.lang.Object val)
public final java.lang.Object getProperty(java.lang.String name)
public void setMethodName(java.lang.String name)
public java.lang.String getMethodName()
public void setMethodParamTypes(java.lang.Class[] paramTypes)
public java.lang.Class[] getMethodParamTypes()
public void setMethodCountName(java.lang.String name)
public java.lang.String getMethodCountName()
public void setMethodCountParamTypes(java.lang.Class[] paramTypes)
public java.lang.Class[] getMethodCountParamTypes()
public int getFetchSize()
Pagination
getFetchSize in interface PaginationgetFetchSize in class PaginationCollectionModelpublic int getFetchStart()
Pagination
getFetchStart in interface PaginationgetFetchStart in class PaginationCollectionModelpublic SearchCriteria getSearchCriteria()
public SortCriteria getSortCriteria()
public java.util.List<java.lang.String> getSearchAttributeNames()
public java.util.Collection getCollection()
getCollection in interface PaginationgetCollection in class PaginationCollectionModelpublic long getRecordCount()
getRecordCount in interface PaginationgetRecordCount in class PaginationCollectionModelpublic void refresh()
protected java.lang.Object invokeMethod(java.lang.Object instance,
                                        java.lang.String methodName,
                                        java.lang.Class[] paramTypes,
                                        java.lang.Object[] params)
instance - methodName - paramTypes - - A Class[]params - 
protected java.util.Collection buildCollectionModel()
  | 
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||