public class JPQLBeanDataCollection<E> extends BeanDataCollection<E>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
METHOD_MERGE_ENTITY |
static java.lang.String |
METHOD_PERSIST_ENTITY |
static java.lang.String |
METHOD_QUERY_COUNT_NAME |
static java.lang.String |
METHOD_QUERY_NAME |
_logger, DEFAULT_FETCH_SIZE| Constructor and Description |
|---|
JPQLBeanDataCollection(java.util.Map bindingContext,
OperationBinding action,
DataFilter filter) |
JPQLBeanDataCollection(RowContext rowCtx,
java.lang.String name,
DataFilter filter) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
appliedCriteria() |
boolean |
canHandle()
Return whether or not can handle operation
|
java.lang.String |
getQueryStmt() |
java.lang.String |
getQueryStmtCount() |
void |
init()
Initialize the jpql paging collection
|
protected void |
initOperations()
Initialize the jpql paging operations.
|
java.util.Collection<E> |
invokeMethodHandler(int fetchStart,
int fetchSize)
Method handler
|
java.lang.Object |
invokeMethodHandlerSize() |
void |
setQueryStmt(java.lang.String jpqlStmt) |
void |
setQueryStmtCount(java.lang.String jpqlStmt) |
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, supportsSortingadd, 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, supportsDefaultPagingcontains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final java.lang.String METHOD_QUERY_NAME
public static final java.lang.String METHOD_QUERY_COUNT_NAME
public static final java.lang.String METHOD_PERSIST_ENTITY
public static final java.lang.String METHOD_MERGE_ENTITY
public JPQLBeanDataCollection(java.util.Map bindingContext,
OperationBinding action,
DataFilter filter)
public JPQLBeanDataCollection(RowContext rowCtx, java.lang.String name, DataFilter filter)
public void setQueryStmt(java.lang.String jpqlStmt)
public java.lang.String getQueryStmt()
public void setQueryStmtCount(java.lang.String jpqlStmt)
public java.lang.String getQueryStmtCount()
public boolean canHandle()
canHandle in interface PaginationCollectionModel<E>canHandle in class BeanDataCollection<E>protected boolean appliedCriteria()
appliedCriteria in class BeanDataCollection<E>true if criteria has applied.
Sorting will be applied on next time when this collection is re-initialized.public void init()
init in class BeanDataCollection<E>protected void initOperations()
initOperations in class BeanDataCollection<E>public java.util.Collection<E> invokeMethodHandler(int fetchStart, int fetchSize)
invokeMethodHandler in class BeanDataCollection<E>fetchStart - int firstResultfetchSize - int maxResultspublic java.lang.Object invokeMethodHandlerSize()
invokeMethodHandlerSize in class BeanDataCollection<E>