|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.0.0) E17483-01 |
||||||||
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> oracle.adf.model.adapter.bean.provider.BeanDataCollection<E>
public class BeanDataCollection<E>
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.provider.BeanCollectionModel |
---|
_logger, DEFAULT_FETCH_SIZE |
Constructor Summary | |
---|---|
BeanDataCollection(java.util.Map bindingContext,
OperationBinding action,
DataFilter filter)
Constructor for method operation |
|
BeanDataCollection(RowContext rowCtx,
java.lang.String name,
DataFilter filter)
Constructor for accessor operation |
Method Summary | |
---|---|
boolean |
canHandle()
Return whether or not can handle operations |
boolean |
canHandleMethodHandler()
|
boolean |
canHandleMethodHandlerSize()
|
java.lang.String |
getAssociatedBeanClassName()
Return the associate beanClass name |
java.util.Collection<E> |
getCollection()
Returns a list of object that fit the given paging range. |
protected DataFilter |
getDataFilter()
|
protected DCDataVO |
getDCDataVO()
|
protected DCRowContext |
getDCRowContext()
|
long |
getEstimatedRowCount()
Get the total # of rows count. |
int |
getFetchSize()
Return the fetch size per page |
int |
getFetchStart()
Return fetch start |
java.lang.Class[] |
getMethodCountParamTypes()
|
java.lang.String |
getMethodHandlerName()
|
java.lang.Class[] |
getMethodHandlerParamTypes()
|
java.lang.String |
getMethodHandlerSizeName()
|
void |
getPageSize()
|
java.lang.Object |
getProperty(java.lang.String name)
Gets a property value. |
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) |
java.lang.Object |
invokeMethod(java.lang.Object instance,
java.lang.String methodName,
java.lang.Class[] paramTypes,
java.lang.Object[] params)
Invoke method by name, parameters, values |
java.util.Collection<E> |
invokeMethodHandler(int fetchStart,
int fetchSize)
Method Handler |
java.lang.Object |
invokeMethodHandlerSize()
|
void |
refresh()
Refresh the colleciton |
void |
setMethodCountParamTypes(java.lang.Class[] paramTypes)
|
void |
setMethodHandlerName(java.lang.String name)
|
void |
setMethodHandlerParamTypes(java.lang.Class[] paramTypes)
|
void |
setMethodHandlerSizeName(java.lang.String name)
|
void |
setProperty(java.lang.String name,
java.lang.Object val)
Stores a property value. |
Methods inherited from class oracle.adf.model.adapter.bean.provider.BeanCollectionModel |
---|
add, add, addAll, addCollection, clear, firstPage, getCollection, getPageCount, getPageIndex, getRowCount, hasNextPage, hasPreviousPage, iterator, lastPage, nextPage, previousPage, remove, remove, setFetchSize, setFetchStart, setPageBlock, setPageSize, setRowCount, 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)
rowCtx
- name
- filter
- public BeanDataCollection(java.util.Map bindingContext, OperationBinding action, DataFilter filter)
bindingContext
- action
- filter
- Method Detail |
---|
protected void init()
protected void initOperations()
public boolean canHandle()
public boolean canHandleMethodHandler()
public boolean canHandleMethodHandlerSize()
public final void setProperty(java.lang.String name, java.lang.Object val)
public final java.lang.Object getProperty(java.lang.String name)
public java.lang.String getAssociatedBeanClassName()
public void setMethodHandlerName(java.lang.String name)
public java.lang.String getMethodHandlerName()
public void setMethodHandlerParamTypes(java.lang.Class[] paramTypes)
public java.lang.Class[] getMethodHandlerParamTypes()
public void setMethodHandlerSizeName(java.lang.String name)
public java.lang.String getMethodHandlerSizeName()
public void setMethodCountParamTypes(java.lang.Class[] paramTypes)
public java.lang.Class[] getMethodCountParamTypes()
public SearchCriteria getSearchCriteria()
public SortCriteria getSortCriteria()
public java.util.List<java.lang.String> getSearchAttributeNames()
public java.util.Collection<E> invokeMethodHandler(int fetchStart, int fetchSize)
fetchStart
- int
firstResultfetchSize
- int
maxResults
public java.lang.Object invokeMethodHandlerSize()
public 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
-
public long getEstimatedRowCount()
getEstimatedRowCount
in interface PaginationCollectionModel<E>
getEstimatedRowCount
in class BeanCollectionModel<E>
public int getFetchStart()
Pagination
getFetchStart
in interface Pagination
getFetchStart
in class BeanCollectionModel<E>
public int getFetchSize()
Pagination
getFetchSize
in interface Pagination
getFetchSize
in class BeanCollectionModel<E>
public void getPageSize()
public java.util.Collection<E> getCollection()
BeanCollectionModel
getCollection
in interface PaginationCollectionModel<E>
getCollection
in class BeanCollectionModel<E>
Collection
for this paginated collection.public void refresh()
refresh
in class BeanCollectionModel<E>
protected DataFilter getDataFilter()
DataFilter
criteriaprotected DCRowContext getDCRowContext()
RowContext
protected DCDataVO getDCDataVO()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.0.0) E17483-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |