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 forHistoricVariableInstances.- Author:
- Christian Lipphardt (camunda)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HistoricVariableInstanceQueryactivityInstanceIdIn(java.lang.String... activityInstanceIds)Only select historic variable instances which have one of the activity instance ids.HistoricVariableInstanceQuerycaseActivityIdIn(java.lang.String... caseActivityIds)Only select historic variable instances with one of the given case activity ids.HistoricVariableInstanceQuerycaseExecutionIdIn(java.lang.String... caseExecutionIds)Only select historic variable instances which have one of the case executions ids.HistoricVariableInstanceQuerycaseInstanceId(java.lang.String caseInstanceId)Only select historic case variables with the given case instance.HistoricVariableInstanceQuerydisableBinaryFetching()Disable fetching of byte array and file values.HistoricVariableInstanceQuerydisableCustomObjectDeserialization()Disable deserialization of variable values that are custom objects.HistoricVariableInstanceQueryexecutionIdIn(java.lang.String... executionIds)Only select historic variable instances which have one of the executions ids.HistoricVariableInstanceQueryincludeDeleted()Include variables that has been already deleted during the executionHistoricVariableInstanceQuerymatchVariableNamesIgnoreCase()The query will match the names of task and process variables in a case-insensitive way.HistoricVariableInstanceQuerymatchVariableValuesIgnoreCase()The query will match the values of task and process variables in a case-insensitive way.HistoricVariableInstanceQueryorderByProcessInstanceId()HistoricVariableInstanceQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).HistoricVariableInstanceQueryorderByVariableName()HistoricVariableInstanceQueryprocessDefinitionId(java.lang.String processDefinitionId)Only select historic process variables for the given process definitionHistoricVariableInstanceQueryprocessDefinitionKey(java.lang.String processDefinitionKey)Only select historic process variables for the given process definition keyHistoricVariableInstanceQueryprocessInstanceId(java.lang.String processInstanceId)Only select historic process variables with the given process instance.HistoricVariableInstanceQueryprocessInstanceIdIn(java.lang.String... processInstanceIds)Only select historic process variables with the given process instance ids.HistoricVariableInstanceQuerytaskIdIn(java.lang.String... taskIds)Only select historic variable instances which have one of the task ids.HistoricVariableInstanceQuerytenantIdIn(java.lang.String... tenantIds)Only select historic variable instances with one of the given tenant ids.HistoricVariableInstanceQueryvariableId(java.lang.String id)Only select the variable with the given IdHistoricVariableInstanceQueryvariableName(java.lang.String variableName)Only select historic process variables with the given variable name.HistoricVariableInstanceQueryvariableNameIn(java.lang.String... names)Only select historic process variables with the given variable names.HistoricVariableInstanceQueryvariableNameLike(java.lang.String variableNameLike)Only select historic process variables where the given variable name is like.HistoricVariableInstanceQueryvariableTypeIn(java.lang.String... variableTypes)Only select historic process variables which match one of the given variable types.HistoricVariableInstanceQueryvariableValueEquals(java.lang.String variableName, java.lang.Object variableValue)only select historic process variables with the given name and valueHistoricVariableInstanceQuerywithoutTenantId()Only selects historic variable 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
-
variableId
HistoricVariableInstanceQuery variableId(java.lang.String id)
Only select the variable with the given Id- Parameters:
id- of the variable to select- Returns:
- the query object
-
processInstanceId
HistoricVariableInstanceQuery processInstanceId(java.lang.String processInstanceId)
Only select historic process variables with the given process instance.
-
processDefinitionId
HistoricVariableInstanceQuery processDefinitionId(java.lang.String processDefinitionId)
Only select historic process variables for the given process definition
-
processDefinitionKey
HistoricVariableInstanceQuery processDefinitionKey(java.lang.String processDefinitionKey)
Only select historic process variables for the given process definition key
-
caseInstanceId
HistoricVariableInstanceQuery caseInstanceId(java.lang.String caseInstanceId)
Only select historic case variables with the given case instance.
-
variableName
HistoricVariableInstanceQuery variableName(java.lang.String variableName)
Only select historic process variables with the given variable name.
-
variableNameLike
HistoricVariableInstanceQuery variableNameLike(java.lang.String variableNameLike)
Only select historic process variables where the given variable name is like.
-
variableTypeIn
HistoricVariableInstanceQuery variableTypeIn(java.lang.String... variableTypes)
Only select historic process variables which match one of the given variable types.
-
matchVariableNamesIgnoreCase
HistoricVariableInstanceQuery matchVariableNamesIgnoreCase()
The query will match the names of task and process variables in a case-insensitive way.
-
matchVariableValuesIgnoreCase
HistoricVariableInstanceQuery matchVariableValuesIgnoreCase()
The query will match the values of task and process variables in a case-insensitive way.
-
variableValueEquals
HistoricVariableInstanceQuery variableValueEquals(java.lang.String variableName, java.lang.Object variableValue)
only select historic process variables with the given name and value
-
orderByProcessInstanceId
HistoricVariableInstanceQuery orderByProcessInstanceId()
-
orderByVariableName
HistoricVariableInstanceQuery orderByVariableName()
-
processInstanceIdIn
HistoricVariableInstanceQuery processInstanceIdIn(java.lang.String... processInstanceIds)
Only select historic process variables with the given process instance ids.
-
taskIdIn
HistoricVariableInstanceQuery taskIdIn(java.lang.String... taskIds)
Only select historic variable instances which have one of the task ids.
-
executionIdIn
HistoricVariableInstanceQuery executionIdIn(java.lang.String... executionIds)
Only select historic variable instances which have one of the executions ids.
-
caseExecutionIdIn
HistoricVariableInstanceQuery caseExecutionIdIn(java.lang.String... caseExecutionIds)
Only select historic variable instances which have one of the case executions ids.
-
caseActivityIdIn
HistoricVariableInstanceQuery caseActivityIdIn(java.lang.String... caseActivityIds)
Only select historic variable instances with one of the given case activity ids.
-
activityInstanceIdIn
HistoricVariableInstanceQuery activityInstanceIdIn(java.lang.String... activityInstanceIds)
Only select historic variable instances which have one of the activity instance ids.
-
tenantIdIn
HistoricVariableInstanceQuery tenantIdIn(java.lang.String... tenantIds)
Only select historic variable instances with one of the given tenant ids.
-
withoutTenantId
HistoricVariableInstanceQuery withoutTenantId()
Only selects historic variable instances that have no tenant id.
-
orderByTenantId
HistoricVariableInstanceQuery 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.
-
disableBinaryFetching
HistoricVariableInstanceQuery 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
-
disableCustomObjectDeserialization
HistoricVariableInstanceQuery 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.
-
includeDeleted
HistoricVariableInstanceQuery includeDeleted()
Include variables that has been already deleted during the execution
-
variableNameIn
HistoricVariableInstanceQuery variableNameIn(java.lang.String... names)
Only select historic process variables with the given variable names.
-
-