Skip navigation links
oracle.adf.model.adapter.bean.jpa
Class JPQLBeanDataCollection<E>
java.lang.Object
java.util.AbstractCollection<E>
oracle.adf.model.adapter.bean.provider.BeanCollectionModel<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, PaginationCollectionModel<E>
-
public class JPQLBeanDataCollection<E>
- extends BeanDataCollection<E>
- Since:
- 11.1.2
Methods inherited from class oracle.adf.model.adapter.bean.provider.BeanDataCollection |
getAssociatedBeanClassName, getCollection, getDataFilter, getDCDataVO, getDCRowContext, getEstimatedRowCount, getFetchSize, getFetchStart, getMethodCountParamTypes, getMethodHandlerName, getMethodHandlerParamTypes, getMethodHandlerSizeName, getPageSize, getProperty, getSearchAttributeNames, getSearchCriteria, getSortCriteria, invokeMethod, refresh, setMethodCountParamTypes, setMethodHandlerName, setMethodHandlerParamTypes, setMethodHandlerSizeName, setProperty |
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 |
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
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()
init
protected void init()
- Description copied from class:
BeanDataCollection
- Initialize all the related operations
-
- Overrides:
init
in class BeanDataCollection<E>
initPageBlock
protected void initPageBlock()
- Initialize pages per pageblock
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>
canHandle
public boolean canHandle()
- Description copied from class:
BeanDataCollection
- Return whether or not can handle operations
-
- Overrides:
canHandle
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
firstResult
fetchSize
- int
maxResults
- Returns:
- collection
invokeMethodHandlerSize
public java.lang.Object invokeMethodHandlerSize()
-
- Overrides:
invokeMethodHandlerSize
in class BeanDataCollection<E>
-
- Returns:
- The result of the query count
canHandleMethodHandler
public boolean canHandleMethodHandler()
-
- Overrides:
canHandleMethodHandler
in class BeanDataCollection<E>
canHandleMethodHandlerSize
public boolean canHandleMethodHandlerSize()
-
- Overrides:
canHandleMethodHandlerSize
in class BeanDataCollection<E>
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.