|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
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> 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.pagination.PaginationCollectionModel |
---|
_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 | |
---|---|
protected boolean |
appliedCriteria()
|
boolean |
canHandle()
Return whether or not can handle operation |
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. |
DataFilter |
getDataFilter()
|
java.lang.Object |
getDataProvider()
Returns the data object for this collection represents. |
DCDataVO |
getDCDataVO()
|
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.String |
getFullName()
|
java.lang.Class[] |
getMethodCountParamTypes()
|
java.lang.String |
getMethodHandlerName()
|
java.lang.Class[] |
getMethodHandlerParamTypes()
|
java.lang.String |
getMethodHandlerSizeName()
|
java.lang.String |
getName()
|
java.lang.Object |
getProperty(java.lang.String name)
Gets a property value. |
java.util.List<java.lang.String> |
getSearchAttributeNames()
|
SearchCriteria |
getSearchCriteria()
|
SortCriteria |
getSortCriteria()
|
protected boolean |
hasSearchCriteria()
|
protected boolean |
hasSortCriteria()
|
void |
init()
Initialize the paging collection |
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 |
setAccessMode(byte mode)
|
void |
setDataFilter(DataFilter filter)
|
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. |
boolean |
supportsRangePaging()
|
boolean |
supportsSorting()
|
void |
supportsSorting(boolean bool)
|
Methods inherited from class oracle.adf.model.adapter.bean.pagination.PaginationCollectionModel |
---|
add, add, addAll, addCollection, clear, clearAll, firstPage, getCollection, getFetchedRowCount, getPageCount, getPageIndex, getRowCount, hasNextPage, hasPreviousPage, iterator, lastPage, nextPage, notifyRefresh, previousPage, remove, remove, setFetchSize, setFetchStart, setPageSize, setRowCount, size, supportsDefaultPaging |
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 |
---|
public void init()
protected void initOperations()
public java.lang.String getName()
public java.lang.String getFullName()
public boolean canHandle()
canHandle
in class PaginationCollectionModel<E>
public boolean canHandleMethodHandler()
public boolean canHandleMethodHandlerSize()
public void setAccessMode(byte mode)
public boolean supportsRangePaging()
supportsRangePaging
in class PaginationCollectionModel<E>
public boolean supportsSorting()
public void supportsSorting(boolean bool)
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 class PaginationCollectionModel<E>
public int getFetchStart()
Pagination
getFetchStart
in interface Pagination<E>
getFetchStart
in class PaginationCollectionModel<E>
public int getFetchSize()
Pagination
getFetchSize
in interface Pagination<E>
getFetchSize
in class PaginationCollectionModel<E>
public java.util.Collection<E> getCollection()
PaginationCollectionModel
getCollection
in class PaginationCollectionModel<E>
Collection
for this paginated collection.public java.lang.Object getDataProvider()
getDataProvider
in class PaginationCollectionModel<E>
public void refresh()
refresh
in class PaginationCollectionModel<E>
protected boolean appliedCriteria()
true
if criteria has applied.
Sorting will be applied on next time when this collection is re-initialized.protected boolean hasSortCriteria()
true
if dataFilter has sortCriteriaprotected boolean hasSearchCriteria()
true
if dataFilter has searchCriteriapublic void setDataFilter(DataFilter filter)
public DataFilter getDataFilter()
DataFilter
criteriapublic DCRowContext getDCRowContext()
RowContext
public DCDataVO getDCDataVO()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |