Package org.camunda.bpm.engine.history
Interface HistoricDecisionInstanceQuery
-
- All Superinterfaces:
Query<HistoricDecisionInstanceQuery,HistoricDecisionInstance>
- All Known Implementing Classes:
HistoricDecisionInstanceQueryImpl
public interface HistoricDecisionInstanceQuery extends Query<HistoricDecisionInstanceQuery,HistoricDecisionInstance>
Allows programmatic querying ofHistoricDecisionInstance
s.- Author:
- Philipp Ossler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HistoricDecisionInstanceQuery
activityIdIn(java.lang.String... activityIds)
Only select historic decision instances that are evaluated inside a process or a case which have one of the activity ids.HistoricDecisionInstanceQuery
activityInstanceIdIn(java.lang.String... activityInstanceIds)
Only select historic decision instances that are evaluated inside a process or a case which have one of the activity instance ids.HistoricDecisionInstanceQuery
caseDefinitionId(java.lang.String caseDefinitionId)
Only select historic decision instances that are evaluated inside a case with the given case definition id.HistoricDecisionInstanceQuery
caseDefinitionKey(java.lang.String caseDefinitionKey)
Only select historic decision instances that are evaluated inside a case with the given case definition key.HistoricDecisionInstanceQuery
caseInstanceId(java.lang.String caseInstanceId)
Only select historic decision instances that are evaluated inside a case with the given case instance id.HistoricDecisionInstanceQuery
decisionDefinitionId(java.lang.String decisionDefinitionId)
Only select historic decision instances for the given decision definitionHistoricDecisionInstanceQuery
decisionDefinitionIdIn(java.lang.String... decisionDefinitionIdIn)
Only select historic decision instances for the given decision definitionsHistoricDecisionInstanceQuery
decisionDefinitionKey(java.lang.String decisionDefinitionKey)
Only select historic decision instances with the given key of the decision definition.HistoricDecisionInstanceQuery
decisionDefinitionKeyIn(java.lang.String... decisionDefinitionKeyIn)
Only select historic decision instances with the given keys of the decision definition.HistoricDecisionInstanceQuery
decisionDefinitionName(java.lang.String decisionDefinitionName)
Only select historic decision instances with the given name of the decision definition.HistoricDecisionInstanceQuery
decisionDefinitionNameLike(java.lang.String decisionDefinitionNameLike)
Only select historic decision instances with the given name of the decision definition using LIKE construct.HistoricDecisionInstanceQuery
decisionInstanceId(java.lang.String decisionInstanceId)
Only select historic decision instances with the given decision instance id.HistoricDecisionInstanceQuery
decisionInstanceIdIn(java.lang.String... decisionInstanceIdIn)
Only select historic decision instances whose id is in the given list of ids.HistoricDecisionInstanceQuery
decisionRequirementsDefinitionId(java.lang.String decisionRequirementsDefinitionId)
Only select historic decision instances that belongs to a decision requirements definition with the given id.HistoricDecisionInstanceQuery
decisionRequirementsDefinitionKey(java.lang.String decisionRequirementsDefinitionKey)
Only select historic decision instances that belongs to a decision requirements definition with the given key.HistoricDecisionInstanceQuery
disableBinaryFetching()
Disable fetching of byte array input and output values.HistoricDecisionInstanceQuery
disableCustomObjectDeserialization()
Disable deserialization of input and output values that are custom objects.HistoricDecisionInstanceQuery
evaluatedAfter(java.util.Date date)
Only select historic decision instances that were evaluated after the given date.HistoricDecisionInstanceQuery
evaluatedBefore(java.util.Date date)
Only select historic decision instances that were evaluated before the given date.HistoricDecisionInstanceQuery
includeInputs()
Enable fetchingHistoricDecisionInputInstance
of evaluated decision.HistoricDecisionInstanceQuery
includeOutputs()
Enable fetchingHistoricDecisionOutputInstance
of evaluated decision.HistoricDecisionInstanceQuery
orderByEvaluationTime()
Order by the time when the decisions was evaluated (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricDecisionInstanceQuery
orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricDecisionInstanceQuery
processDefinitionId(java.lang.String processDefinitionId)
Only select historic decision instances that are evaluated inside a process with the given process definition id.HistoricDecisionInstanceQuery
processDefinitionKey(java.lang.String processDefinitionKey)
Only select historic decision instances that are evaluated inside a process with the given process definition key.HistoricDecisionInstanceQuery
processInstanceId(java.lang.String processInstanceId)
Only select historic decision instances that are evaluated inside a process with the given process instance id.HistoricDecisionInstanceQuery
rootDecisionInstanceId(java.lang.String decisionInstanceId)
Only select historic decision instances with a given root historic decision instance id.HistoricDecisionInstanceQuery
rootDecisionInstancesOnly()
Only select historic decision instances that are the root decision instance of an evaluation.HistoricDecisionInstanceQuery
tenantIdIn(java.lang.String... tenantIds)
Only select historic decision instances with one of the given tenant ids.HistoricDecisionInstanceQuery
userId(java.lang.String userId)
Only select historic decision instances that were evaluated by the user with the given user ID.HistoricDecisionInstanceQuery
withoutTenantId()
Only selects historic decision instances that have no tenant id.-
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
-
-
-
Method Detail
-
decisionInstanceId
HistoricDecisionInstanceQuery decisionInstanceId(java.lang.String decisionInstanceId)
Only select historic decision instances with the given decision instance id.
-
decisionInstanceIdIn
HistoricDecisionInstanceQuery decisionInstanceIdIn(java.lang.String... decisionInstanceIdIn)
Only select historic decision instances whose id is in the given list of ids.
-
decisionDefinitionId
HistoricDecisionInstanceQuery decisionDefinitionId(java.lang.String decisionDefinitionId)
Only select historic decision instances for the given decision definition
-
decisionDefinitionIdIn
HistoricDecisionInstanceQuery decisionDefinitionIdIn(java.lang.String... decisionDefinitionIdIn)
Only select historic decision instances for the given decision definitions
-
decisionDefinitionKey
HistoricDecisionInstanceQuery decisionDefinitionKey(java.lang.String decisionDefinitionKey)
Only select historic decision instances with the given key of the decision definition.
-
decisionDefinitionKeyIn
HistoricDecisionInstanceQuery decisionDefinitionKeyIn(java.lang.String... decisionDefinitionKeyIn)
Only select historic decision instances with the given keys of the decision definition.
-
decisionDefinitionName
HistoricDecisionInstanceQuery decisionDefinitionName(java.lang.String decisionDefinitionName)
Only select historic decision instances with the given name of the decision definition.
-
decisionDefinitionNameLike
HistoricDecisionInstanceQuery decisionDefinitionNameLike(java.lang.String decisionDefinitionNameLike)
Only select historic decision instances with the given name of the decision definition using LIKE construct.
-
processDefinitionKey
HistoricDecisionInstanceQuery processDefinitionKey(java.lang.String processDefinitionKey)
Only select historic decision instances that are evaluated inside a process with the given process definition key.
-
processDefinitionId
HistoricDecisionInstanceQuery processDefinitionId(java.lang.String processDefinitionId)
Only select historic decision instances that are evaluated inside a process with the given process definition id.
-
processInstanceId
HistoricDecisionInstanceQuery processInstanceId(java.lang.String processInstanceId)
Only select historic decision instances that are evaluated inside a process with the given process instance id.
-
caseDefinitionKey
HistoricDecisionInstanceQuery caseDefinitionKey(java.lang.String caseDefinitionKey)
Only select historic decision instances that are evaluated inside a case with the given case definition key.
-
caseDefinitionId
HistoricDecisionInstanceQuery caseDefinitionId(java.lang.String caseDefinitionId)
Only select historic decision instances that are evaluated inside a case with the given case definition id.
-
caseInstanceId
HistoricDecisionInstanceQuery caseInstanceId(java.lang.String caseInstanceId)
Only select historic decision instances that are evaluated inside a case with the given case instance id.
-
activityIdIn
HistoricDecisionInstanceQuery activityIdIn(java.lang.String... activityIds)
Only select historic decision instances that are evaluated inside a process or a case which have one of the activity ids.
-
activityInstanceIdIn
HistoricDecisionInstanceQuery activityInstanceIdIn(java.lang.String... activityInstanceIds)
Only select historic decision instances that are evaluated inside a process or a case which have one of the activity instance ids.
-
evaluatedBefore
HistoricDecisionInstanceQuery evaluatedBefore(java.util.Date date)
Only select historic decision instances that were evaluated before the given date.
-
evaluatedAfter
HistoricDecisionInstanceQuery evaluatedAfter(java.util.Date date)
Only select historic decision instances that were evaluated after the given date.
-
userId
HistoricDecisionInstanceQuery userId(java.lang.String userId)
Only select historic decision instances that were evaluated by the user with the given user ID.The user ID is saved for decisions which are evaluated by a authenticated user without a process or case instance
-
includeInputs
HistoricDecisionInstanceQuery includeInputs()
Enable fetchingHistoricDecisionInputInstance
of evaluated decision.
-
includeOutputs
HistoricDecisionInstanceQuery includeOutputs()
Enable fetchingHistoricDecisionOutputInstance
of evaluated decision.
-
disableBinaryFetching
HistoricDecisionInstanceQuery disableBinaryFetching()
Disable fetching of byte array input and output values. By default, the query will fetch the value of a byte array. By calling this method you can prevent the values of (potentially large) blob data chunks to be fetched.
-
disableCustomObjectDeserialization
HistoricDecisionInstanceQuery disableCustomObjectDeserialization()
Disable deserialization of input and output values that are custom objects. By default, the query will attempt to deserialize the value of these variables. By calling this method you can prevent such attempts in environments where their classes are not available. Independent of this setting, variable serialized values are accessible.
-
rootDecisionInstanceId
HistoricDecisionInstanceQuery rootDecisionInstanceId(java.lang.String decisionInstanceId)
Only select historic decision instances with a given root historic decision instance id. This also includes the historic decision instance with the given id.
-
rootDecisionInstancesOnly
HistoricDecisionInstanceQuery rootDecisionInstancesOnly()
Only select historic decision instances that are the root decision instance of an evaluation.
-
decisionRequirementsDefinitionId
HistoricDecisionInstanceQuery decisionRequirementsDefinitionId(java.lang.String decisionRequirementsDefinitionId)
Only select historic decision instances that belongs to a decision requirements definition with the given id.
-
decisionRequirementsDefinitionKey
HistoricDecisionInstanceQuery decisionRequirementsDefinitionKey(java.lang.String decisionRequirementsDefinitionKey)
Only select historic decision instances that belongs to a decision requirements definition with the given key.
-
tenantIdIn
HistoricDecisionInstanceQuery tenantIdIn(java.lang.String... tenantIds)
Only select historic decision instances with one of the given tenant ids.
-
withoutTenantId
HistoricDecisionInstanceQuery withoutTenantId()
Only selects historic decision instances that have no tenant id.
-
orderByEvaluationTime
HistoricDecisionInstanceQuery orderByEvaluationTime()
Order by the time when the decisions was evaluated (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByTenantId
HistoricDecisionInstanceQuery orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
). Note that the ordering of historic decision instances without tenant id is database-specific.
-
-