public class CleanableHistoricBatchReportImpl extends AbstractQuery<CleanableHistoricBatchReport,CleanableHistoricBatchReportResult> implements CleanableHistoricBatchReport
AbstractQuery.ResultType
Modifier and Type | Field and Description |
---|---|
protected Date |
currentTimestamp |
commandExecutor, expressions, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
Constructor and Description |
---|
CleanableHistoricBatchReportImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
long |
executeCount(CommandContext commandContext) |
List<CleanableHistoricBatchReportResult> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
Date |
getCurrentTimestamp() |
CleanableHistoricBatchReport |
orderByFinishedBatchOperation()
Order by finished batch operations amount (needs to be followed by
Query.asc() or Query.desc() ). |
void |
setCurrentTimestamp(Date currentTimestamp) |
addExpression, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeIdsList, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
protected Date currentTimestamp
public CleanableHistoricBatchReportImpl(CommandExecutor commandExecutor)
public CleanableHistoricBatchReport orderByFinishedBatchOperation()
CleanableHistoricBatchReport
Query.asc()
or Query.desc()
).orderByFinishedBatchOperation
in interface CleanableHistoricBatchReport
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<CleanableHistoricBatchReport,CleanableHistoricBatchReportResult>
public List<CleanableHistoricBatchReportResult> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<CleanableHistoricBatchReport,CleanableHistoricBatchReportResult>
page
- used if the results must be paged. If null, no paging will be applied.public Date getCurrentTimestamp()
public void setCurrentTimestamp(Date currentTimestamp)
Copyright © 2019. All rights reserved.