Package org.camunda.bpm.engine.history
Interface HistoricVariableInstanceQuery
- All Superinterfaces:
- Query<HistoricVariableInstanceQuery,- HistoricVariableInstance> 
- All Known Implementing Classes:
- HistoricVariableInstanceQueryImpl
public interface HistoricVariableInstanceQuery
extends Query<HistoricVariableInstanceQuery,HistoricVariableInstance> 
Programmatic querying for 
HistoricVariableInstances.- Author:
- Christian Lipphardt (camunda)
- 
Method SummaryModifier and TypeMethodDescriptionactivityInstanceIdIn(String... activityInstanceIds) Only select historic variable instances which have one of the activity instance ids.caseActivityIdIn(String... caseActivityIds) Only select historic variable instances with one of the given case activity ids.caseExecutionIdIn(String... caseExecutionIds) Only select historic variable instances which have one of the case executions ids.caseInstanceId(String caseInstanceId) Only select historic case variables with the given case instance.Disable fetching of byte array and file values.Disable deserialization of variable values that are custom objects.executionIdIn(String... executionIds) Only select historic variable instances which have one of the executions ids.Include variables that has been already deleted during the executionThe query will match the names of task and process variables in a case-insensitive way.The query will match the values of task and process variables in a case-insensitive way.Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).processDefinitionId(String processDefinitionId) Only select historic process variables for the given process definitionprocessDefinitionKey(String processDefinitionKey) Only select historic process variables for the given process definition keyprocessInstanceId(String processInstanceId) Only select historic process variables with the given process instance.processInstanceIdIn(String... processInstanceIds) Only select historic process variables with the given process instance ids.Only select historic variable instances which have one of the task ids.tenantIdIn(String... tenantIds) Only select historic variable instances with one of the given tenant ids.variableId(String id) Only select the variable with the given IdvariableName(String variableName) Only select historic process variables with the given variable name.variableNameIn(String... names) Only select historic process variables with the given variable names.variableNameLike(String variableNameLike) Only select historic process variables where the given variable name is like.variableTypeIn(String... variableTypes) Only select historic process variables which match one of the given variable types.variableValueEquals(String variableName, Object variableValue) only select historic process variables with the given name and valueOnly selects historic variable instances that have no tenant id.Methods inherited from interface org.camunda.bpm.engine.query.Queryasc, count, desc, list, listPage, singleResult, unlimitedList
- 
Method Details- 
variableIdOnly select the variable with the given Id- Parameters:
- id- of the variable to select
- Returns:
- the query object
 
- 
processInstanceIdOnly select historic process variables with the given process instance.
- 
processDefinitionIdOnly select historic process variables for the given process definition
- 
processDefinitionKeyOnly select historic process variables for the given process definition key
- 
caseInstanceIdOnly select historic case variables with the given case instance.
- 
variableNameOnly select historic process variables with the given variable name.
- 
variableNameLikeOnly select historic process variables where the given variable name is like.
- 
variableTypeInOnly select historic process variables which match one of the given variable types.
- 
matchVariableNamesIgnoreCaseHistoricVariableInstanceQuery matchVariableNamesIgnoreCase()The query will match the names of task and process variables in a case-insensitive way.
- 
matchVariableValuesIgnoreCaseHistoricVariableInstanceQuery matchVariableValuesIgnoreCase()The query will match the values of task and process variables in a case-insensitive way.
- 
variableValueEqualsonly select historic process variables with the given name and value
- 
orderByProcessInstanceIdHistoricVariableInstanceQuery orderByProcessInstanceId()
- 
orderByVariableNameHistoricVariableInstanceQuery orderByVariableName()
- 
processInstanceIdInOnly select historic process variables with the given process instance ids.
- 
taskIdInOnly select historic variable instances which have one of the task ids.
- 
executionIdInOnly select historic variable instances which have one of the executions ids.
- 
caseExecutionIdInOnly select historic variable instances which have one of the case executions ids.
- 
caseActivityIdInOnly select historic variable instances with one of the given case activity ids.
- 
activityInstanceIdInOnly select historic variable instances which have one of the activity instance ids.
- 
tenantIdInOnly select historic variable instances with one of the given tenant ids.
- 
withoutTenantIdHistoricVariableInstanceQuery withoutTenantId()Only selects historic variable instances that have no tenant id.
- 
orderByTenantIdHistoricVariableInstanceQuery orderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()). Note that the ordering of historic variable instances without tenant id is database-specific.
- 
disableBinaryFetchingHistoricVariableInstanceQuery disableBinaryFetching()Disable fetching of byte array and file values. By default, the query will fetch such values. By calling this method you can prevent the values of (potentially large) blob data chunks to be fetched. The variables themselves are nonetheless included in the query result.- Returns:
- the query builder
 
- 
disableCustomObjectDeserializationHistoricVariableInstanceQuery disableCustomObjectDeserialization()Disable deserialization of variable 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.
- 
includeDeletedHistoricVariableInstanceQuery includeDeleted()Include variables that has been already deleted during the execution
- 
variableNameInOnly select historic process variables with the given variable names.
 
-