Package org.flowable.dmn.engine.impl
Class HistoricDecisionExecutionQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<DmnHistoricDecisionExecutionQuery,DmnHistoricDecisionExecution>
org.flowable.dmn.engine.impl.HistoricDecisionExecutionQueryImpl
- All Implemented Interfaces:
Serializable,CacheAwareQuery<HistoricDecisionExecutionEntity>,DeleteQuery<DmnHistoricDecisionExecutionQuery,,DmnHistoricDecisionExecution> Query<DmnHistoricDecisionExecutionQuery,,DmnHistoricDecisionExecution> Command<Object>,DmnHistoricDecisionExecutionQuery
public class HistoricDecisionExecutionQueryImpl
extends AbstractQuery<DmnHistoricDecisionExecutionQuery,DmnHistoricDecisionExecution>
implements DmnHistoricDecisionExecutionQuery, CacheAwareQuery<HistoricDecisionExecutionEntity>
- Author:
- Tijs Rademakers
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeNested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected booleanFields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutorFields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, ignoreOrderBy, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC -
Constructor Summary
ConstructorsConstructorDescriptionHistoricDecisionExecutionQueryImpl(CommandContext commandContext) HistoricDecisionExecutionQueryImpl(CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionactivityId(String activityId) Only select decision executions with the given activity id.caseInstanceIdWithChildren(String caseInstanceId) Select all decision executions for the given case instance id and its children.decisionDefinitionId(String decisionDefinitionId) Only select decision executions with the given definition id.decisionKey(String decisionKey) Only select decision executions with the given definition key.voiddelete()Delete all instances that match the query.voidDeprecated.deploymentId(String deploymentId) Only select decision executions with the given deployment id.longexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext) Executes the actual query to retrieve the list of results.executionId(String executionId) Only select decision executions with the given execution id.Only select decision executions with the given failed state.getId()getIds()Only select decision execution with the given id.Only select decision executions with the given ids.instanceId(String instanceId) Only select decision executions with the given instance id.booleanbooleanOrder by the end time of the decision executions (needs to be followed byQuery.asc()orQuery.desc()).Order by the start time of the decision executions (needs to be followed byQuery.asc()orQuery.desc()).Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).processInstanceIdWithChildren(String processInstanceId) Select all decision executions for the given process instance id and its children.Only select decision executions with the given scope type.Only select decision executions that have the given tenant id.tenantIdLike(String tenantIdLike) Only select decision executions with a tenant id like the given one.Only select decision executions without a scope type.Only select decision executions that do not have a tenant id.Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, getSafeList, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultMethods inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setIgnoreOrderBy, setMaxResults, setNullHandlingColumn, setParameterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.api.query.CacheAwareQuery
enhanceCachedValue
-
Field Details
-
id
-
ids
-
decisionDefinitionId
-
deploymentId
-
decisionKey
-
instanceId
-
executionId
-
activityId
-
scopeType
-
withoutScopeType
protected boolean withoutScopeType -
processInstanceIdWithChildren
-
caseInstanceIdWithChildren
-
failed
-
tenantId
-
tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId
-
-
Constructor Details
-
HistoricDecisionExecutionQueryImpl
public HistoricDecisionExecutionQueryImpl() -
HistoricDecisionExecutionQueryImpl
-
HistoricDecisionExecutionQueryImpl
-
-
Method Details
-
id
Description copied from interface:DmnHistoricDecisionExecutionQueryOnly select decision execution with the given id.- Specified by:
idin interfaceDmnHistoricDecisionExecutionQuery
-
ids
Description copied from interface:DmnHistoricDecisionExecutionQueryOnly select decision executions with the given ids.- Specified by:
idsin interfaceDmnHistoricDecisionExecutionQuery
-
decisionDefinitionId
Description copied from interface:DmnHistoricDecisionExecutionQueryOnly select decision executions with the given definition id.- Specified by:
decisionDefinitionIdin interfaceDmnHistoricDecisionExecutionQuery
-
deploymentId
Description copied from interface:DmnHistoricDecisionExecutionQueryOnly select decision executions with the given deployment id.- Specified by:
deploymentIdin interfaceDmnHistoricDecisionExecutionQuery
-
decisionKey
Description copied from interface:DmnHistoricDecisionExecutionQueryOnly select decision executions with the given definition key.- Specified by:
decisionKeyin interfaceDmnHistoricDecisionExecutionQuery
-
instanceId
Description copied from interface:DmnHistoricDecisionExecutionQueryOnly select decision executions with the given instance id.- Specified by:
instanceIdin interfaceDmnHistoricDecisionExecutionQuery
-
executionId
Description copied from interface:DmnHistoricDecisionExecutionQueryOnly select decision executions with the given execution id.- Specified by:
executionIdin interfaceDmnHistoricDecisionExecutionQuery
-
activityId
Description copied from interface:DmnHistoricDecisionExecutionQueryOnly select decision executions with the given activity id.- Specified by:
activityIdin interfaceDmnHistoricDecisionExecutionQuery
-
scopeType
Description copied from interface:DmnHistoricDecisionExecutionQueryOnly select decision executions with the given scope type.- Specified by:
scopeTypein interfaceDmnHistoricDecisionExecutionQuery
-
withoutScopeType
Description copied from interface:DmnHistoricDecisionExecutionQueryOnly select decision executions without a scope type.- Specified by:
withoutScopeTypein interfaceDmnHistoricDecisionExecutionQuery
-
processInstanceIdWithChildren
Description copied from interface:DmnHistoricDecisionExecutionQuerySelect all decision executions for the given process instance id and its children.- Specified by:
processInstanceIdWithChildrenin interfaceDmnHistoricDecisionExecutionQuery
-
caseInstanceIdWithChildren
Description copied from interface:DmnHistoricDecisionExecutionQuerySelect all decision executions for the given case instance id and its children.- Specified by:
caseInstanceIdWithChildrenin interfaceDmnHistoricDecisionExecutionQuery
-
failed
Description copied from interface:DmnHistoricDecisionExecutionQueryOnly select decision executions with the given failed state.- Specified by:
failedin interfaceDmnHistoricDecisionExecutionQuery
-
tenantId
Description copied from interface:DmnHistoricDecisionExecutionQueryOnly select decision executions that have the given tenant id.- Specified by:
tenantIdin interfaceDmnHistoricDecisionExecutionQuery
-
tenantIdLike
Description copied from interface:DmnHistoricDecisionExecutionQueryOnly select decision executions with a tenant id like the given one.- Specified by:
tenantIdLikein interfaceDmnHistoricDecisionExecutionQuery
-
withoutTenantId
Description copied from interface:DmnHistoricDecisionExecutionQueryOnly select decision executions that do not have a tenant id.- Specified by:
withoutTenantIdin interfaceDmnHistoricDecisionExecutionQuery
-
orderByStartTime
Description copied from interface:DmnHistoricDecisionExecutionQueryOrder by the start time of the decision executions (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByStartTimein interfaceDmnHistoricDecisionExecutionQuery
-
orderByEndTime
Description copied from interface:DmnHistoricDecisionExecutionQueryOrder by the end time of the decision executions (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByEndTimein interfaceDmnHistoricDecisionExecutionQuery
-
orderByTenantId
Description copied from interface:DmnHistoricDecisionExecutionQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTenantIdin interfaceDmnHistoricDecisionExecutionQuery
-
executeCount
- Specified by:
executeCountin classAbstractQuery<DmnHistoricDecisionExecutionQuery,DmnHistoricDecisionExecution>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<DmnHistoricDecisionExecutionQuery,DmnHistoricDecisionExecution>
-
delete
public void delete()Description copied from interface:DeleteQueryDelete all instances that match the query.- Specified by:
deletein interfaceDeleteQuery<DmnHistoricDecisionExecutionQuery,DmnHistoricDecisionExecution>
-
deleteWithRelatedData
Deprecated.Description copied from interface:DeleteQueryDelete all instances and their related data that match the query in bulk. Note that only the historical data directly related to the instance will be deleted. This means that for example for historic case/process instances, it will not delete any associated historic case/process instance (these should be deleted through the respective deletion for the particular model) which is owned by another engine (e.g. a process for the cmmn engine). Use the specific deletion methods on the respective history services otherwise: they delete with cascading to all other engines, but are not as performant as the bulk delete here.- Specified by:
deleteWithRelatedDatain interfaceDeleteQuery<DmnHistoricDecisionExecutionQuery,DmnHistoricDecisionExecution>
-
getId
- Specified by:
getIdin interfaceCacheAwareQuery<HistoricDecisionExecutionEntity>
-
getIds
-
getDecisionDefinitionId
-
getDeploymentId
-
getDecisionKey
-
getInstanceId
-
getExecutionId
-
getActivityId
-
getScopeType
-
isWithoutScopeType
public boolean isWithoutScopeType() -
getProcessInstanceIdWithChildren
-
getCaseInstanceIdWithChildren
-
getFailed
-
getTenantId
-
getTenantIdLike
-
isWithoutTenantId
public boolean isWithoutTenantId()
-