Package org.camunda.bpm.engine.impl
Class CleanableHistoricDecisionInstanceReportImpl
java.lang.Object
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<CleanableHistoricDecisionInstanceReport,CleanableHistoricDecisionInstanceReportResult>
org.camunda.bpm.engine.impl.CleanableHistoricDecisionInstanceReportImpl
- All Implemented Interfaces:
Serializable
,CleanableHistoricDecisionInstanceReport
,Command<Object>
,Query<CleanableHistoricDecisionInstanceReport,
CleanableHistoricDecisionInstanceReportResult>
public class CleanableHistoricDecisionInstanceReportImpl
extends AbstractQuery<CleanableHistoricDecisionInstanceReport,CleanableHistoricDecisionInstanceReportResult>
implements CleanableHistoricDecisionInstanceReport
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
-
Field Summary
Modifier and TypeFieldDescriptionprotected Date
protected String[]
protected String[]
protected boolean
protected boolean
protected boolean
protected String[]
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
-
Constructor Summary
ConstructorDescriptionCleanableHistoricDecisionInstanceReportImpl
(CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptioncompact()
Only selects historic decision instances which have more than zero finished instances.decisionDefinitionIdIn
(String... decisionDefinitionIds) Only takes historic decision instances into account for the given decision definition ids.decisionDefinitionKeyIn
(String... decisionDefinitionKeys) Only takes historic decision instances into account for the given decision definition keys.long
executeCount
(CommandContext commandContext) executeList
(CommandContext commandContext, Page page) Executes the actual query to retrieve the list of results.String[]
String[]
String[]
boolean
boolean
boolean
Order by finished decision instances amount (needs to be followed byQuery.asc()
orQuery.desc()
).protected void
provideHistoryCleanupStrategy
(CommandContext commandContext) void
setCurrentTimestamp
(Date currentTimestamp) void
setDecisionDefinitionIdIn
(String[] decisionDefinitionIdIn) void
setDecisionDefinitionKeyIn
(String[] decisionDefinitionKeyIn) void
setTenantIdIn
(String[] tenantIdIn) tenantIdIn
(String... tenantIds) Only select historic decision instances with one of the given tenant ids.Only selects historic decision instances which have no tenant id.Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery
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
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Field Details
-
decisionDefinitionIdIn
-
decisionDefinitionKeyIn
-
tenantIdIn
-
isTenantIdSet
protected boolean isTenantIdSet -
isCompact
protected boolean isCompact -
currentTimestamp
-
isHistoryCleanupStrategyRemovalTimeBased
protected boolean isHistoryCleanupStrategyRemovalTimeBased
-
-
Constructor Details
-
CleanableHistoricDecisionInstanceReportImpl
-
-
Method Details
-
decisionDefinitionIdIn
public CleanableHistoricDecisionInstanceReport decisionDefinitionIdIn(String... decisionDefinitionIds) Description copied from interface:CleanableHistoricDecisionInstanceReport
Only takes historic decision instances into account for the given decision definition ids.- Specified by:
decisionDefinitionIdIn
in interfaceCleanableHistoricDecisionInstanceReport
-
decisionDefinitionKeyIn
public CleanableHistoricDecisionInstanceReport decisionDefinitionKeyIn(String... decisionDefinitionKeys) Description copied from interface:CleanableHistoricDecisionInstanceReport
Only takes historic decision instances into account for the given decision definition keys.- Specified by:
decisionDefinitionKeyIn
in interfaceCleanableHistoricDecisionInstanceReport
-
tenantIdIn
Description copied from interface:CleanableHistoricDecisionInstanceReport
Only select historic decision instances with one of the given tenant ids.- Specified by:
tenantIdIn
in interfaceCleanableHistoricDecisionInstanceReport
-
withoutTenantId
Description copied from interface:CleanableHistoricDecisionInstanceReport
Only selects historic decision instances which have no tenant id.- Specified by:
withoutTenantId
in interfaceCleanableHistoricDecisionInstanceReport
-
compact
Description copied from interface:CleanableHistoricDecisionInstanceReport
Only selects historic decision instances which have more than zero finished instances.- Specified by:
compact
in interfaceCleanableHistoricDecisionInstanceReport
-
orderByFinished
Description copied from interface:CleanableHistoricDecisionInstanceReport
Order by finished decision instances amount (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByFinished
in interfaceCleanableHistoricDecisionInstanceReport
-
executeCount
-
executeList
public List<CleanableHistoricDecisionInstanceReportResult> executeList(CommandContext commandContext, Page page) Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractQuery<CleanableHistoricDecisionInstanceReport,
CleanableHistoricDecisionInstanceReportResult> page
- used if the results must be paged. If null, no paging will be applied.
-
getDecisionDefinitionIdIn
-
setDecisionDefinitionIdIn
-
getDecisionDefinitionKeyIn
-
setDecisionDefinitionKeyIn
-
getCurrentTimestamp
-
setCurrentTimestamp
-
getTenantIdIn
-
setTenantIdIn
-
isTenantIdSet
public boolean isTenantIdSet() -
isCompact
public boolean isCompact() -
provideHistoryCleanupStrategy
-
isHistoryCleanupStrategyRemovalTimeBased
public boolean isHistoryCleanupStrategyRemovalTimeBased()
-