public class CleanableHistoricDecisionInstanceReportImpl extends AbstractQuery<CleanableHistoricDecisionInstanceReport,CleanableHistoricDecisionInstanceReportResult> implements CleanableHistoricDecisionInstanceReport
AbstractQuery.ResultType
Modifier and Type | Field and Description |
---|---|
protected Date |
currentTimestamp |
protected String[] |
decisionDefinitionIdIn |
protected String[] |
decisionDefinitionKeyIn |
protected boolean |
isCompact |
protected boolean |
isHistoryCleanupStrategyRemovalTimeBased |
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 |
---|
CleanableHistoricDecisionInstanceReportImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
CleanableHistoricDecisionInstanceReport |
compact()
Only selects historic decision instances which have more than zero finished instances.
|
CleanableHistoricDecisionInstanceReport |
decisionDefinitionIdIn(String... decisionDefinitionIds)
Only takes historic decision instances into account for the given decision definition ids.
|
CleanableHistoricDecisionInstanceReport |
decisionDefinitionKeyIn(String... decisionDefinitionKeys)
Only takes historic decision instances into account for the given decision definition keys.
|
long |
executeCount(CommandContext commandContext) |
List<CleanableHistoricDecisionInstanceReportResult> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
Date |
getCurrentTimestamp() |
String[] |
getDecisionDefinitionIdIn() |
String[] |
getDecisionDefinitionKeyIn() |
String[] |
getTenantIdIn() |
boolean |
isCompact() |
boolean |
isHistoryCleanupStrategyRemovalTimeBased() |
boolean |
isTenantIdSet() |
CleanableHistoricDecisionInstanceReport |
orderByFinished()
Order by finished decision instances amount (needs to be followed by
Query.asc() or Query.desc() ). |
protected void |
provideHistoryCleanupStrategy(CommandContext commandContext) |
void |
setCurrentTimestamp(Date currentTimestamp) |
void |
setDecisionDefinitionIdIn(String[] decisionDefinitionIdIn) |
void |
setDecisionDefinitionKeyIn(String[] decisionDefinitionKeyIn) |
void |
setTenantIdIn(String[] tenantIdIn) |
CleanableHistoricDecisionInstanceReport |
tenantIdIn(String... tenantIds)
Only select historic decision instances with one of the given tenant ids.
|
CleanableHistoricDecisionInstanceReport |
withoutTenantId()
Only selects historic decision instances which have no tenant id.
|
addExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeDeploymentIdMappingsList, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listDeploymentIdMappings, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asc, count, desc, list, listPage, singleResult, unlimitedList
protected String[] decisionDefinitionIdIn
protected String[] decisionDefinitionKeyIn
protected String[] tenantIdIn
protected boolean isTenantIdSet
protected boolean isCompact
protected Date currentTimestamp
protected boolean isHistoryCleanupStrategyRemovalTimeBased
public CleanableHistoricDecisionInstanceReportImpl(CommandExecutor commandExecutor)
public CleanableHistoricDecisionInstanceReport decisionDefinitionIdIn(String... decisionDefinitionIds)
CleanableHistoricDecisionInstanceReport
decisionDefinitionIdIn
in interface CleanableHistoricDecisionInstanceReport
public CleanableHistoricDecisionInstanceReport decisionDefinitionKeyIn(String... decisionDefinitionKeys)
CleanableHistoricDecisionInstanceReport
decisionDefinitionKeyIn
in interface CleanableHistoricDecisionInstanceReport
public CleanableHistoricDecisionInstanceReport tenantIdIn(String... tenantIds)
CleanableHistoricDecisionInstanceReport
tenantIdIn
in interface CleanableHistoricDecisionInstanceReport
public CleanableHistoricDecisionInstanceReport withoutTenantId()
CleanableHistoricDecisionInstanceReport
withoutTenantId
in interface CleanableHistoricDecisionInstanceReport
public CleanableHistoricDecisionInstanceReport compact()
CleanableHistoricDecisionInstanceReport
compact
in interface CleanableHistoricDecisionInstanceReport
public CleanableHistoricDecisionInstanceReport orderByFinished()
CleanableHistoricDecisionInstanceReport
Query.asc()
or Query.desc()
).orderByFinished
in interface CleanableHistoricDecisionInstanceReport
public long executeCount(CommandContext commandContext)
public List<CleanableHistoricDecisionInstanceReportResult> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<CleanableHistoricDecisionInstanceReport,CleanableHistoricDecisionInstanceReportResult>
page
- used if the results must be paged. If null, no paging will be applied.public String[] getDecisionDefinitionIdIn()
public void setDecisionDefinitionIdIn(String[] decisionDefinitionIdIn)
public String[] getDecisionDefinitionKeyIn()
public void setDecisionDefinitionKeyIn(String[] decisionDefinitionKeyIn)
public Date getCurrentTimestamp()
public void setCurrentTimestamp(Date currentTimestamp)
public String[] getTenantIdIn()
public void setTenantIdIn(String[] tenantIdIn)
public boolean isTenantIdSet()
public boolean isCompact()
protected void provideHistoryCleanupStrategy(CommandContext commandContext)
public boolean isHistoryCleanupStrategyRemovalTimeBased()
Copyright © 2021. All rights reserved.