public class CleanableHistoricCaseInstanceReportImpl extends AbstractQuery<CleanableHistoricCaseInstanceReport,CleanableHistoricCaseInstanceReportResult> implements CleanableHistoricCaseInstanceReport
AbstractQuery.ResultType
Modifier and Type | Field and Description |
---|---|
protected String[] |
caseDefinitionIdIn |
protected String[] |
caseDefinitionKeyIn |
protected Date |
currentTimestamp |
protected boolean |
isCompact |
protected boolean |
isTenantIdSet |
protected String[] |
tenantIdIn |
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
Constructor and Description |
---|
CleanableHistoricCaseInstanceReportImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
CleanableHistoricCaseInstanceReport |
caseDefinitionIdIn(String... caseDefinitionIds)
Only takes historic case instances into account for the given case definition ids.
|
CleanableHistoricCaseInstanceReport |
caseDefinitionKeyIn(String... caseDefinitionKeys)
Only takes historic case instances into account for the given case definition keys.
|
CleanableHistoricCaseInstanceReport |
compact()
Only selects historic case instances which have more than zero finished instances.
|
long |
executeCount(CommandContext commandContext) |
List<CleanableHistoricCaseInstanceReportResult> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
String[] |
getCaseDefinitionIdIn() |
String[] |
getCaseDefinitionKeyIn() |
Date |
getCurrentTimestamp() |
String[] |
getTenantIdIn() |
boolean |
isCompact() |
boolean |
isTenantIdSet() |
CleanableHistoricCaseInstanceReport |
orderByFinished()
Order by finished case instances amount (needs to be followed by
Query.asc() or Query.desc() ). |
void |
setCaseDefinitionIdIn(String[] caseDefinitionIdIn) |
void |
setCaseDefinitionKeyIn(String[] caseDefinitionKeyIn) |
void |
setCurrentTimestamp(Date currentTimestamp) |
void |
setTenantIdIn(String[] tenantIdIn) |
CleanableHistoricCaseInstanceReport |
tenantIdIn(String... tenantIds)
Only select historic case instances with one of the given tenant ids.
|
CleanableHistoricCaseInstanceReport |
withoutTenantId()
Only selects historic case instances which have no tenant id.
|
addExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unboundedResultList, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
protected String[] caseDefinitionIdIn
protected String[] caseDefinitionKeyIn
protected String[] tenantIdIn
protected boolean isTenantIdSet
protected boolean isCompact
protected Date currentTimestamp
public CleanableHistoricCaseInstanceReportImpl(CommandExecutor commandExecutor)
public CleanableHistoricCaseInstanceReport caseDefinitionIdIn(String... caseDefinitionIds)
CleanableHistoricCaseInstanceReport
caseDefinitionIdIn
in interface CleanableHistoricCaseInstanceReport
public CleanableHistoricCaseInstanceReport caseDefinitionKeyIn(String... caseDefinitionKeys)
CleanableHistoricCaseInstanceReport
caseDefinitionKeyIn
in interface CleanableHistoricCaseInstanceReport
public CleanableHistoricCaseInstanceReport tenantIdIn(String... tenantIds)
CleanableHistoricCaseInstanceReport
tenantIdIn
in interface CleanableHistoricCaseInstanceReport
public CleanableHistoricCaseInstanceReport withoutTenantId()
CleanableHistoricCaseInstanceReport
withoutTenantId
in interface CleanableHistoricCaseInstanceReport
public CleanableHistoricCaseInstanceReport compact()
CleanableHistoricCaseInstanceReport
compact
in interface CleanableHistoricCaseInstanceReport
public CleanableHistoricCaseInstanceReport orderByFinished()
CleanableHistoricCaseInstanceReport
Query.asc()
or Query.desc()
).orderByFinished
in interface CleanableHistoricCaseInstanceReport
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<CleanableHistoricCaseInstanceReport,CleanableHistoricCaseInstanceReportResult>
public List<CleanableHistoricCaseInstanceReportResult> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<CleanableHistoricCaseInstanceReport,CleanableHistoricCaseInstanceReportResult>
page
- used if the results must be paged. If null, no paging will be applied.public String[] getCaseDefinitionIdIn()
public void setCaseDefinitionIdIn(String[] caseDefinitionIdIn)
public String[] getCaseDefinitionKeyIn()
public void setCaseDefinitionKeyIn(String[] caseDefinitionKeyIn)
public Date getCurrentTimestamp()
public void setCurrentTimestamp(Date currentTimestamp)
public String[] getTenantIdIn()
public void setTenantIdIn(String[] tenantIdIn)
public boolean isTenantIdSet()
public boolean isCompact()
Copyright © 2019. All rights reserved.