Package org.camunda.bpm.engine.impl
Class HistoricVariableInstanceQueryImpl
java.lang.Object
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<HistoricVariableInstanceQuery,HistoricVariableInstance>
 
org.camunda.bpm.engine.impl.HistoricVariableInstanceQueryImpl
- All Implemented Interfaces:
- Serializable,- HistoricVariableInstanceQuery,- Command<Object>,- Query<HistoricVariableInstanceQuery,- HistoricVariableInstance> 
public class HistoricVariableInstanceQueryImpl
extends AbstractQuery<HistoricVariableInstanceQuery,HistoricVariableInstance>
implements HistoricVariableInstanceQuery 
- Author:
- Christian Lipphardt (camunda)
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQueryAbstractQuery.ResultType
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected String[]protected String[]protected String[]protected Stringprotected String[]protected booleanprotected booleanprotected booleanprotected booleanprotected Stringprotected Stringprotected Stringprotected String[]protected QueryVariableValueprotected String[]protected String[]protected Stringprotected Stringprotected Stringprotected Booleanprotected String[]protected BooleanFields inherited from class org.camunda.bpm.engine.impl.AbstractQuerycommandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsFields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObjectauthCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
- 
Constructor SummaryConstructors
- 
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.protected voidlongexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext, Page page) Executes the actual query to retrieve the list of results.executionIdIn(String... executionIds) Only select historic variable instances which have one of the executions ids.String[]String[]String[]String[]String[]String[]Include variables that has been already deleted during the executionbooleanThe 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.protected booleanOnly 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 class org.camunda.bpm.engine.impl.AbstractQueryaddExpression, 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.ListQueryParameterObjectgetAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheckMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.impl.interceptor.CommandisRetryableMethods inherited from interface org.camunda.bpm.engine.query.Queryasc, count, desc, list, listPage, singleResult, unlimitedList
- 
Field Details- 
variableNameIn
- 
variableId
- 
processInstanceId
- 
processDefinitionId
- 
processDefinitionKey
- 
caseInstanceId
- 
variableName
- 
variableNameLike
- 
queryVariableValue
- 
variableNamesIgnoreCase
- 
variableValuesIgnoreCase
- 
variableTypes
- 
taskIds
- 
executionIds
- 
caseExecutionIds
- 
caseActivityIds
- 
activityInstanceIds
- 
tenantIds
- 
isTenantIdSetprotected boolean isTenantIdSet
- 
processInstanceIds
- 
includeDeletedprotected boolean includeDeleted
- 
isByteArrayFetchingEnabledprotected boolean isByteArrayFetchingEnabled
- 
isCustomObjectDeserializationEnabledprotected boolean isCustomObjectDeserializationEnabled
 
- 
- 
Constructor Details- 
HistoricVariableInstanceQueryImplpublic HistoricVariableInstanceQueryImpl()
- 
HistoricVariableInstanceQueryImpl
 
- 
- 
Method Details- 
variableNameInDescription copied from interface:HistoricVariableInstanceQueryOnly select historic process variables with the given variable names.- Specified by:
- variableNameInin interface- HistoricVariableInstanceQuery
 
- 
variableIdDescription copied from interface:HistoricVariableInstanceQueryOnly select the variable with the given Id- Specified by:
- variableIdin interface- HistoricVariableInstanceQuery
- Parameters:
- id- of the variable to select
- Returns:
- the query object
 
- 
processInstanceIdDescription copied from interface:HistoricVariableInstanceQueryOnly select historic process variables with the given process instance.- Specified by:
- processInstanceIdin interface- HistoricVariableInstanceQuery
 
- 
processDefinitionIdDescription copied from interface:HistoricVariableInstanceQueryOnly select historic process variables for the given process definition- Specified by:
- processDefinitionIdin interface- HistoricVariableInstanceQuery
 
- 
processDefinitionKeyDescription copied from interface:HistoricVariableInstanceQueryOnly select historic process variables for the given process definition key- Specified by:
- processDefinitionKeyin interface- HistoricVariableInstanceQuery
 
- 
caseInstanceIdDescription copied from interface:HistoricVariableInstanceQueryOnly select historic case variables with the given case instance.- Specified by:
- caseInstanceIdin interface- HistoricVariableInstanceQuery
 
- 
variableTypeInDescription copied from interface:HistoricVariableInstanceQueryOnly select historic process variables which match one of the given variable types.- Specified by:
- variableTypeInin interface- HistoricVariableInstanceQuery
 
- 
matchVariableNamesIgnoreCaseDescription copied from interface:HistoricVariableInstanceQueryThe query will match the names of task and process variables in a case-insensitive way.- Specified by:
- matchVariableNamesIgnoreCasein interface- HistoricVariableInstanceQuery
 
- 
matchVariableValuesIgnoreCaseDescription copied from interface:HistoricVariableInstanceQueryThe query will match the values of task and process variables in a case-insensitive way.- Specified by:
- matchVariableValuesIgnoreCasein interface- HistoricVariableInstanceQuery
 
- 
processInstanceIdInOnly select historic process variables with the given process instance ids.- Specified by:
- processInstanceIdInin interface- HistoricVariableInstanceQuery
 
- 
taskIdInDescription copied from interface:HistoricVariableInstanceQueryOnly select historic variable instances which have one of the task ids.- Specified by:
- taskIdInin interface- HistoricVariableInstanceQuery
 
- 
executionIdInDescription copied from interface:HistoricVariableInstanceQueryOnly select historic variable instances which have one of the executions ids.- Specified by:
- executionIdInin interface- HistoricVariableInstanceQuery
 
- 
caseExecutionIdInDescription copied from interface:HistoricVariableInstanceQueryOnly select historic variable instances which have one of the case executions ids.- Specified by:
- caseExecutionIdInin interface- HistoricVariableInstanceQuery
 
- 
caseActivityIdInDescription copied from interface:HistoricVariableInstanceQueryOnly select historic variable instances with one of the given case activity ids.- Specified by:
- caseActivityIdInin interface- HistoricVariableInstanceQuery
 
- 
activityInstanceIdInDescription copied from interface:HistoricVariableInstanceQueryOnly select historic variable instances which have one of the activity instance ids.- Specified by:
- activityInstanceIdInin interface- HistoricVariableInstanceQuery
 
- 
variableNameDescription copied from interface:HistoricVariableInstanceQueryOnly select historic process variables with the given variable name.- Specified by:
- variableNamein interface- HistoricVariableInstanceQuery
 
- 
variableValueEqualsDescription copied from interface:HistoricVariableInstanceQueryonly select historic process variables with the given name and value- Specified by:
- variableValueEqualsin interface- HistoricVariableInstanceQuery
 
- 
variableNameLikeDescription copied from interface:HistoricVariableInstanceQueryOnly select historic process variables where the given variable name is like.- Specified by:
- variableNameLikein interface- HistoricVariableInstanceQuery
 
- 
ensureVariablesInitializedprotected void ensureVariablesInitialized()
- 
disableBinaryFetchingDescription copied from interface:HistoricVariableInstanceQueryDisable 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.- Specified by:
- disableBinaryFetchingin interface- HistoricVariableInstanceQuery
- Returns:
- the query builder
 
- 
disableCustomObjectDeserializationDescription copied from interface:HistoricVariableInstanceQueryDisable 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.- Specified by:
- disableCustomObjectDeserializationin interface- HistoricVariableInstanceQuery
 
- 
tenantIdInDescription copied from interface:HistoricVariableInstanceQueryOnly select historic variable instances with one of the given tenant ids.- Specified by:
- tenantIdInin interface- HistoricVariableInstanceQuery
 
- 
withoutTenantIdDescription copied from interface:HistoricVariableInstanceQueryOnly selects historic variable instances that have no tenant id.- Specified by:
- withoutTenantIdin interface- HistoricVariableInstanceQuery
 
- 
executeCount- Specified by:
- executeCountin class- AbstractQuery<HistoricVariableInstanceQuery,- HistoricVariableInstance> 
 
- 
executeListDescription copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
- executeListin class- AbstractQuery<HistoricVariableInstanceQuery,- HistoricVariableInstance> 
- page- used if the results must be paged. If null, no paging will be applied.
 
- 
shouldFetchValue
- 
orderByProcessInstanceId- Specified by:
- orderByProcessInstanceIdin interface- HistoricVariableInstanceQuery
 
- 
orderByVariableName- Specified by:
- orderByVariableNamein interface- HistoricVariableInstanceQuery
 
- 
orderByTenantIdDescription copied from interface:HistoricVariableInstanceQueryOrder 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.- Specified by:
- orderByTenantIdin interface- HistoricVariableInstanceQuery
 
- 
getProcessInstanceId
- 
getCaseInstanceId
- 
getActivityInstanceIds
- 
getProcessInstanceIds
- 
getTaskIds
- 
getExecutionIds
- 
getCaseExecutionIds
- 
getCaseActivityIds
- 
isTenantIdSetpublic boolean isTenantIdSet()
- 
getVariableName
- 
getVariableNameLike
- 
getQueryVariableValue
- 
getVariableNamesIgnoreCase
- 
getVariableValuesIgnoreCase
- 
includeDeletedDescription copied from interface:HistoricVariableInstanceQueryInclude variables that has been already deleted during the execution- Specified by:
- includeDeletedin interface- HistoricVariableInstanceQuery
 
- 
getProcessDefinitionId
- 
getProcessDefinitionKey
- 
getVariableNameIn
 
-