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:
java.io.Serializable
,CleanableHistoricDecisionInstanceReport
,Command<java.lang.Object>
,Query<CleanableHistoricDecisionInstanceReport,CleanableHistoricDecisionInstanceReportResult>
public class CleanableHistoricDecisionInstanceReportImpl extends AbstractQuery<CleanableHistoricDecisionInstanceReport,CleanableHistoricDecisionInstanceReportResult> implements CleanableHistoricDecisionInstanceReport
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Date
currentTimestamp
protected java.lang.String[]
decisionDefinitionIdIn
protected java.lang.String[]
decisionDefinitionKeyIn
protected boolean
isCompact
protected boolean
isHistoryCleanupStrategyRemovalTimeBased
protected boolean
isTenantIdSet
protected java.lang.String[]
tenantIdIn
-
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
Constructors Constructor Description CleanableHistoricDecisionInstanceReportImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CleanableHistoricDecisionInstanceReport
compact()
Only selects historic decision instances which have more than zero finished instances.CleanableHistoricDecisionInstanceReport
decisionDefinitionIdIn(java.lang.String... decisionDefinitionIds)
Only takes historic decision instances into account for the given decision definition ids.CleanableHistoricDecisionInstanceReport
decisionDefinitionKeyIn(java.lang.String... decisionDefinitionKeys)
Only takes historic decision instances into account for the given decision definition keys.long
executeCount(CommandContext commandContext)
java.util.List<CleanableHistoricDecisionInstanceReportResult>
executeList(CommandContext commandContext, Page page)
Executes the actual query to retrieve the list of results.java.util.Date
getCurrentTimestamp()
java.lang.String[]
getDecisionDefinitionIdIn()
java.lang.String[]
getDecisionDefinitionKeyIn()
java.lang.String[]
getTenantIdIn()
boolean
isCompact()
boolean
isHistoryCleanupStrategyRemovalTimeBased()
boolean
isTenantIdSet()
CleanableHistoricDecisionInstanceReport
orderByFinished()
Order by finished decision instances amount (needs to be followed byQuery.asc()
orQuery.desc()
).protected void
provideHistoryCleanupStrategy(CommandContext commandContext)
void
setCurrentTimestamp(java.util.Date currentTimestamp)
void
setDecisionDefinitionIdIn(java.lang.String[] decisionDefinitionIdIn)
void
setDecisionDefinitionKeyIn(java.lang.String[] decisionDefinitionKeyIn)
void
setTenantIdIn(java.lang.String[] tenantIdIn)
CleanableHistoricDecisionInstanceReport
tenantIdIn(java.lang.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.-
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 Detail
-
decisionDefinitionIdIn
protected java.lang.String[] decisionDefinitionIdIn
-
decisionDefinitionKeyIn
protected java.lang.String[] decisionDefinitionKeyIn
-
tenantIdIn
protected java.lang.String[] tenantIdIn
-
isTenantIdSet
protected boolean isTenantIdSet
-
isCompact
protected boolean isCompact
-
currentTimestamp
protected java.util.Date currentTimestamp
-
isHistoryCleanupStrategyRemovalTimeBased
protected boolean isHistoryCleanupStrategyRemovalTimeBased
-
-
Constructor Detail
-
CleanableHistoricDecisionInstanceReportImpl
public CleanableHistoricDecisionInstanceReportImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
decisionDefinitionIdIn
public CleanableHistoricDecisionInstanceReport decisionDefinitionIdIn(java.lang.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(java.lang.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
public CleanableHistoricDecisionInstanceReport tenantIdIn(java.lang.String... tenantIds)
Description copied from interface:CleanableHistoricDecisionInstanceReport
Only select historic decision instances with one of the given tenant ids.- Specified by:
tenantIdIn
in interfaceCleanableHistoricDecisionInstanceReport
-
withoutTenantId
public CleanableHistoricDecisionInstanceReport withoutTenantId()
Description copied from interface:CleanableHistoricDecisionInstanceReport
Only selects historic decision instances which have no tenant id.- Specified by:
withoutTenantId
in interfaceCleanableHistoricDecisionInstanceReport
-
compact
public CleanableHistoricDecisionInstanceReport compact()
Description copied from interface:CleanableHistoricDecisionInstanceReport
Only selects historic decision instances which have more than zero finished instances.- Specified by:
compact
in interfaceCleanableHistoricDecisionInstanceReport
-
orderByFinished
public CleanableHistoricDecisionInstanceReport 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
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<CleanableHistoricDecisionInstanceReport,CleanableHistoricDecisionInstanceReportResult>
-
executeList
public java.util.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
public java.lang.String[] getDecisionDefinitionIdIn()
-
setDecisionDefinitionIdIn
public void setDecisionDefinitionIdIn(java.lang.String[] decisionDefinitionIdIn)
-
getDecisionDefinitionKeyIn
public java.lang.String[] getDecisionDefinitionKeyIn()
-
setDecisionDefinitionKeyIn
public void setDecisionDefinitionKeyIn(java.lang.String[] decisionDefinitionKeyIn)
-
getCurrentTimestamp
public java.util.Date getCurrentTimestamp()
-
setCurrentTimestamp
public void setCurrentTimestamp(java.util.Date currentTimestamp)
-
getTenantIdIn
public java.lang.String[] getTenantIdIn()
-
setTenantIdIn
public void setTenantIdIn(java.lang.String[] tenantIdIn)
-
isTenantIdSet
public boolean isTenantIdSet()
-
isCompact
public boolean isCompact()
-
provideHistoryCleanupStrategy
protected void provideHistoryCleanupStrategy(CommandContext commandContext)
-
isHistoryCleanupStrategyRemovalTimeBased
public boolean isHistoryCleanupStrategyRemovalTimeBased()
-
-