oracle.adf.model.adapter.bean.jpa
Class JPQLBeanDataCollection<E>
java.lang.Object
java.util.AbstractCollection<E>
oracle.adf.model.adapter.bean.pagination.PaginationCollectionModel<E>
oracle.adf.model.adapter.bean.provider.BeanDataCollection<E>
oracle.adf.model.adapter.bean.jpa.JPQLBeanDataCollection<E>
- All Implemented Interfaces:
- java.lang.Iterable<E>, java.util.Collection<E>, Pagination<E>
public class JPQLBeanDataCollection<E>
- extends BeanDataCollection<E>
- Since:
- 11.1.2
Methods inherited from class oracle.adf.model.adapter.bean.provider.BeanDataCollection |
canHandle, canHandleMethodHandler, canHandleMethodHandlerSize, getAssociatedBeanClassName, getCollection, getDataFilter, getDataProvider, getDCDataVO, getDCRowContext, getEstimatedRowCount, getFetchSize, getFetchStart, getFullName, getMethodCountParamTypes, getMethodHandlerName, getMethodHandlerParamTypes, getMethodHandlerSizeName, getName, getProperty, getSearchAttributeNames, getSearchCriteria, getSortCriteria, hasSearchCriteria, hasSortCriteria, invokeMethod, refresh, setAccessMode, setDataFilter, setMethodCountParamTypes, setMethodHandlerName, setMethodHandlerParamTypes, setMethodHandlerSizeName, setProperty, supportsRangePaging, supportsSorting, supportsSorting |
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 |
METHOD_QUERY_NAME
public static final java.lang.String METHOD_QUERY_NAME
- See Also:
- Constant Field Values
METHOD_QUERY_COUNT_NAME
public static final java.lang.String METHOD_QUERY_COUNT_NAME
- See Also:
- Constant Field Values
METHOD_PERSIST_ENTITY
public static final java.lang.String METHOD_PERSIST_ENTITY
- See Also:
- Constant Field Values
METHOD_MERGE_ENTITY
public static final java.lang.String METHOD_MERGE_ENTITY
- See Also:
- Constant Field Values
JPQLBeanDataCollection
public JPQLBeanDataCollection(java.util.Map bindingContext,
OperationBinding action,
DataFilter filter)
JPQLBeanDataCollection
public JPQLBeanDataCollection(RowContext rowCtx,
java.lang.String name,
DataFilter filter)
setQueryStmt
public void setQueryStmt(java.lang.String jpqlStmt)
getQueryStmt
public java.lang.String getQueryStmt()
setQueryStmtCount
public void setQueryStmtCount(java.lang.String jpqlStmt)
getQueryStmtCount
public java.lang.String getQueryStmtCount()
appliedCriteria
protected boolean appliedCriteria()
- Overrides:
appliedCriteria
in class BeanDataCollection<E>
- Returns:
true
if criteria has applied.
Sorting will be applied on next time when this collection is re-initialized.
init
public void init()
- Initialize the jpql paging collection
- Overrides:
init
in class BeanDataCollection<E>
initOperations
protected void initOperations()
- Description copied from class:
BeanDataCollection
- Initialize all the related operations:
getMethod(), getMethodCount, and getMethod(int, int)
- Overrides:
initOperations
in class BeanDataCollection<E>
invokeMethodHandler
public java.util.Collection<E> invokeMethodHandler(int fetchStart,
int fetchSize)
- Method handler
- Overrides:
invokeMethodHandler
in class BeanDataCollection<E>
- Parameters:
fetchStart
- int
firstResultfetchSize
- int
maxResults
- Returns:
- collection
invokeMethodHandlerSize
public java.lang.Object invokeMethodHandlerSize()
- Overrides:
invokeMethodHandlerSize
in class BeanDataCollection<E>
- Returns:
- The result of the query count
Copyright © 1997, 2013, Oracle. All rights reserved.