Package org.camunda.bpm.engine.impl
Class CleanableHistoricCaseInstanceReportImpl
java.lang.Object
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<CleanableHistoricCaseInstanceReport,CleanableHistoricCaseInstanceReportResult>
org.camunda.bpm.engine.impl.CleanableHistoricCaseInstanceReportImpl
- All Implemented Interfaces:
Serializable,CleanableHistoricCaseInstanceReport,Command<Object>,Query<CleanableHistoricCaseInstanceReport,CleanableHistoricCaseInstanceReportResult>
public class CleanableHistoricCaseInstanceReportImpl
extends AbstractQuery<CleanableHistoricCaseInstanceReport,CleanableHistoricCaseInstanceReportResult>
implements CleanableHistoricCaseInstanceReport
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String[]protected String[]protected Dateprotected booleanprotected booleanprotected String[]Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsFields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncaseDefinitionIdIn(String... caseDefinitionIds) Only takes historic case instances into account for the given case definition ids.caseDefinitionKeyIn(String... caseDefinitionKeys) Only takes historic case instances into account for the given case definition keys.compact()Only selects historic case instances which have more than zero finished instances.longexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext, Page page) Executes the actual query to retrieve the list of results.String[]String[]String[]booleanbooleanOrder by finished case instances amount (needs to be followed byQuery.asc()orQuery.desc()).voidsetCaseDefinitionIdIn(String[] caseDefinitionIdIn) voidsetCaseDefinitionKeyIn(String[] caseDefinitionKeyIn) voidsetCurrentTimestamp(Date currentTimestamp) voidsetTenantIdIn(String[] tenantIdIn) tenantIdIn(String... tenantIds) Only select historic case instances with one of the given tenant ids.Only selects historic case 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, validateMethods 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, setTenantCheckMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Field Details
-
caseDefinitionIdIn
-
caseDefinitionKeyIn
-
tenantIdIn
-
isTenantIdSet
protected boolean isTenantIdSet -
isCompact
protected boolean isCompact -
currentTimestamp
-
-
Constructor Details
-
CleanableHistoricCaseInstanceReportImpl
-
-
Method Details
-
caseDefinitionIdIn
Description copied from interface:CleanableHistoricCaseInstanceReportOnly takes historic case instances into account for the given case definition ids.- Specified by:
caseDefinitionIdInin interfaceCleanableHistoricCaseInstanceReport
-
caseDefinitionKeyIn
Description copied from interface:CleanableHistoricCaseInstanceReportOnly takes historic case instances into account for the given case definition keys.- Specified by:
caseDefinitionKeyInin interfaceCleanableHistoricCaseInstanceReport
-
tenantIdIn
Description copied from interface:CleanableHistoricCaseInstanceReportOnly select historic case instances with one of the given tenant ids.- Specified by:
tenantIdInin interfaceCleanableHistoricCaseInstanceReport
-
withoutTenantId
Description copied from interface:CleanableHistoricCaseInstanceReportOnly selects historic case instances which have no tenant id.- Specified by:
withoutTenantIdin interfaceCleanableHistoricCaseInstanceReport
-
compact
Description copied from interface:CleanableHistoricCaseInstanceReportOnly selects historic case instances which have more than zero finished instances.- Specified by:
compactin interfaceCleanableHistoricCaseInstanceReport
-
orderByFinished
Description copied from interface:CleanableHistoricCaseInstanceReportOrder by finished case instances amount (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByFinishedin interfaceCleanableHistoricCaseInstanceReport
-
executeCount
- Specified by:
executeCountin classAbstractQuery<CleanableHistoricCaseInstanceReport,CleanableHistoricCaseInstanceReportResult>
-
executeList
public List<CleanableHistoricCaseInstanceReportResult> executeList(CommandContext commandContext, Page page) Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<CleanableHistoricCaseInstanceReport,CleanableHistoricCaseInstanceReportResult> page- used if the results must be paged. If null, no paging will be applied.
-
getCaseDefinitionIdIn
-
setCaseDefinitionIdIn
-
getCaseDefinitionKeyIn
-
setCaseDefinitionKeyIn
-
getCurrentTimestamp
-
setCurrentTimestamp
-
getTenantIdIn
-
setTenantIdIn
-
isTenantIdSet
public boolean isTenantIdSet() -
isCompact
public boolean isCompact()
-