public class HistoricVariableInstanceQueryImpl extends AbstractQuery<HistoricVariableInstanceQuery,HistoricVariableInstance> implements HistoricVariableInstanceQuery
AbstractQuery.ResultType| Modifier and Type | Field and Description |
|---|---|
protected String[] |
activityInstanceIds |
protected String[] |
caseActivityIds |
protected String[] |
caseExecutionIds |
protected String |
caseInstanceId |
protected String[] |
executionIds |
protected boolean |
includeDeleted |
protected boolean |
isByteArrayFetchingEnabled |
protected boolean |
isCustomObjectDeserializationEnabled |
protected boolean |
isTenantIdSet |
protected String |
processDefinitionId |
protected String |
processDefinitionKey |
protected String |
processInstanceId |
protected String[] |
processInstanceIds |
protected QueryVariableValue |
queryVariableValue |
protected String[] |
taskIds |
protected String[] |
tenantIds |
protected String |
variableId |
protected String |
variableName |
protected String |
variableNameLike |
protected Boolean |
variableNamesIgnoreCase |
protected String[] |
variableTypes |
protected Boolean |
variableValuesIgnoreCase |
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsauthCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck| Constructor and Description |
|---|
HistoricVariableInstanceQueryImpl() |
HistoricVariableInstanceQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
HistoricVariableInstanceQuery |
activityInstanceIdIn(String... activityInstanceIds)
Only select historic variable instances which have one of the activity instance ids.
|
HistoricVariableInstanceQuery |
caseActivityIdIn(String... caseActivityIds)
Only select historic variable instances with one of the given case activity ids.
|
HistoricVariableInstanceQuery |
caseExecutionIdIn(String... caseExecutionIds)
Only select historic variable instances which have one of the case executions ids.
|
HistoricVariableInstanceQuery |
caseInstanceId(String caseInstanceId)
Only select historic case variables with the given case instance.
|
HistoricVariableInstanceQuery |
disableBinaryFetching()
Disable fetching of byte array and file values.
|
HistoricVariableInstanceQuery |
disableCustomObjectDeserialization()
Disable deserialization of variable values that are custom objects.
|
protected void |
ensureVariablesInitialized() |
long |
executeCount(CommandContext commandContext) |
List<HistoricVariableInstance> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
HistoricVariableInstanceQuery |
executionIdIn(String... executionIds)
Only select historic variable instances which have one of the executions ids.
|
String[] |
getActivityInstanceIds() |
String[] |
getCaseActivityIds() |
String[] |
getCaseExecutionIds() |
String |
getCaseInstanceId() |
String[] |
getExecutionIds() |
String |
getProcessDefinitionId() |
String |
getProcessDefinitionKey() |
String |
getProcessInstanceId() |
String[] |
getProcessInstanceIds() |
QueryVariableValue |
getQueryVariableValue() |
String[] |
getTaskIds() |
String |
getVariableName() |
String |
getVariableNameLike() |
Boolean |
getVariableNamesIgnoreCase() |
Boolean |
getVariableValuesIgnoreCase() |
HistoricVariableInstanceQuery |
includeDeleted()
Include variables that has been already deleted during the execution
|
boolean |
isTenantIdSet() |
HistoricVariableInstanceQuery |
matchVariableNamesIgnoreCase()
The query will match the names of task and process variables in a case-insensitive way.
|
HistoricVariableInstanceQuery |
matchVariableValuesIgnoreCase()
The query will match the values of task and process variables in a case-insensitive way.
|
HistoricVariableInstanceQuery |
orderByProcessInstanceId() |
HistoricVariableInstanceQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc()). |
HistoricVariableInstanceQuery |
orderByVariableName() |
HistoricVariableInstanceQuery |
processDefinitionId(String processDefinitionId)
Only select historic process variables for the given process definition
|
HistoricVariableInstanceQuery |
processDefinitionKey(String processDefinitionKey)
Only select historic process variables for the given process definition key
|
HistoricVariableInstanceQueryImpl |
processInstanceId(String processInstanceId)
Only select historic process variables with the given process instance.
|
HistoricVariableInstanceQuery |
processInstanceIdIn(String... processInstanceIds)
Only select historic process variables with the given process instance ids.
|
protected boolean |
shouldFetchValue(HistoricVariableInstanceEntity entity) |
HistoricVariableInstanceQuery |
taskIdIn(String... taskIds)
Only select historic variable instances which have one of the task ids.
|
HistoricVariableInstanceQuery |
tenantIdIn(String... tenantIds)
Only select historic variable instances with one of the given tenant ids.
|
HistoricVariableInstanceQuery |
variableId(String id)
Only select the variable with the given Id
|
HistoricVariableInstanceQuery |
variableName(String variableName)
Only select historic process variables with the given variable name.
|
HistoricVariableInstanceQuery |
variableNameLike(String variableNameLike)
Only select historic process variables where the given variable name is like.
|
HistoricVariableInstanceQuery |
variableTypeIn(String... variableTypes)
Only select historic process variables which match one of the given variable types.
|
HistoricVariableInstanceQuery |
variableValueEquals(String variableName,
Object variableValue)
only select historic process variables with the given name and value
|
HistoricVariableInstanceQuery |
withoutTenantId()
Only selects historic variable instances that have no tenant id.
|
addExpression, 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, validategetAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheckclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasc, count, desc, list, listPage, singleResult, unlimitedListprotected String variableId
protected String processInstanceId
protected String processDefinitionId
protected String processDefinitionKey
protected String caseInstanceId
protected String variableName
protected String variableNameLike
protected QueryVariableValue queryVariableValue
protected Boolean variableNamesIgnoreCase
protected Boolean variableValuesIgnoreCase
protected String[] variableTypes
protected String[] taskIds
protected String[] executionIds
protected String[] caseExecutionIds
protected String[] caseActivityIds
protected String[] activityInstanceIds
protected String[] tenantIds
protected boolean isTenantIdSet
protected String[] processInstanceIds
protected boolean includeDeleted
protected boolean isByteArrayFetchingEnabled
protected boolean isCustomObjectDeserializationEnabled
public HistoricVariableInstanceQueryImpl()
public HistoricVariableInstanceQueryImpl(CommandExecutor commandExecutor)
public HistoricVariableInstanceQuery variableId(String id)
HistoricVariableInstanceQueryvariableId in interface HistoricVariableInstanceQueryid - of the variable to selectpublic HistoricVariableInstanceQueryImpl processInstanceId(String processInstanceId)
HistoricVariableInstanceQueryprocessInstanceId in interface HistoricVariableInstanceQuerypublic HistoricVariableInstanceQuery processDefinitionId(String processDefinitionId)
HistoricVariableInstanceQueryprocessDefinitionId in interface HistoricVariableInstanceQuerypublic HistoricVariableInstanceQuery processDefinitionKey(String processDefinitionKey)
HistoricVariableInstanceQueryprocessDefinitionKey in interface HistoricVariableInstanceQuerypublic HistoricVariableInstanceQuery caseInstanceId(String caseInstanceId)
HistoricVariableInstanceQuerycaseInstanceId in interface HistoricVariableInstanceQuerypublic HistoricVariableInstanceQuery variableTypeIn(String... variableTypes)
HistoricVariableInstanceQueryvariableTypeIn in interface HistoricVariableInstanceQuerypublic HistoricVariableInstanceQuery matchVariableNamesIgnoreCase()
HistoricVariableInstanceQuerymatchVariableNamesIgnoreCase in interface HistoricVariableInstanceQuerypublic HistoricVariableInstanceQuery matchVariableValuesIgnoreCase()
HistoricVariableInstanceQuerymatchVariableValuesIgnoreCase in interface HistoricVariableInstanceQuerypublic HistoricVariableInstanceQuery processInstanceIdIn(String... processInstanceIds)
processInstanceIdIn in interface HistoricVariableInstanceQuerypublic HistoricVariableInstanceQuery taskIdIn(String... taskIds)
HistoricVariableInstanceQuerytaskIdIn in interface HistoricVariableInstanceQuerypublic HistoricVariableInstanceQuery executionIdIn(String... executionIds)
HistoricVariableInstanceQueryexecutionIdIn in interface HistoricVariableInstanceQuerypublic HistoricVariableInstanceQuery caseExecutionIdIn(String... caseExecutionIds)
HistoricVariableInstanceQuerycaseExecutionIdIn in interface HistoricVariableInstanceQuerypublic HistoricVariableInstanceQuery caseActivityIdIn(String... caseActivityIds)
HistoricVariableInstanceQuerycaseActivityIdIn in interface HistoricVariableInstanceQuerypublic HistoricVariableInstanceQuery activityInstanceIdIn(String... activityInstanceIds)
HistoricVariableInstanceQueryactivityInstanceIdIn in interface HistoricVariableInstanceQuerypublic HistoricVariableInstanceQuery variableName(String variableName)
HistoricVariableInstanceQueryvariableName in interface HistoricVariableInstanceQuerypublic HistoricVariableInstanceQuery variableValueEquals(String variableName, Object variableValue)
HistoricVariableInstanceQueryvariableValueEquals in interface HistoricVariableInstanceQuerypublic HistoricVariableInstanceQuery variableNameLike(String variableNameLike)
HistoricVariableInstanceQueryvariableNameLike in interface HistoricVariableInstanceQueryprotected void ensureVariablesInitialized()
public HistoricVariableInstanceQuery disableBinaryFetching()
HistoricVariableInstanceQuerydisableBinaryFetching in interface HistoricVariableInstanceQuerypublic HistoricVariableInstanceQuery disableCustomObjectDeserialization()
HistoricVariableInstanceQuerydisableCustomObjectDeserialization in interface HistoricVariableInstanceQuerypublic HistoricVariableInstanceQuery tenantIdIn(String... tenantIds)
HistoricVariableInstanceQuerytenantIdIn in interface HistoricVariableInstanceQuerypublic HistoricVariableInstanceQuery withoutTenantId()
HistoricVariableInstanceQuerywithoutTenantId in interface HistoricVariableInstanceQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<HistoricVariableInstanceQuery,HistoricVariableInstance>public List<HistoricVariableInstance> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList in class AbstractQuery<HistoricVariableInstanceQuery,HistoricVariableInstance>page - used if the results must be paged. If null, no paging will be applied.protected boolean shouldFetchValue(HistoricVariableInstanceEntity entity)
public HistoricVariableInstanceQuery orderByProcessInstanceId()
orderByProcessInstanceId in interface HistoricVariableInstanceQuerypublic HistoricVariableInstanceQuery orderByVariableName()
orderByVariableName in interface HistoricVariableInstanceQuerypublic HistoricVariableInstanceQuery orderByTenantId()
HistoricVariableInstanceQueryQuery.asc() or Query.desc()).
Note that the ordering of historic variable instances without tenant id is database-specific.orderByTenantId in interface HistoricVariableInstanceQuerypublic String getProcessInstanceId()
public String getCaseInstanceId()
public String[] getActivityInstanceIds()
public String[] getProcessInstanceIds()
public String[] getTaskIds()
public String[] getExecutionIds()
public String[] getCaseExecutionIds()
public String[] getCaseActivityIds()
public boolean isTenantIdSet()
public String getVariableName()
public String getVariableNameLike()
public QueryVariableValue getQueryVariableValue()
public Boolean getVariableNamesIgnoreCase()
public Boolean getVariableValuesIgnoreCase()
public HistoricVariableInstanceQuery includeDeleted()
HistoricVariableInstanceQueryincludeDeleted in interface HistoricVariableInstanceQuerypublic String getProcessDefinitionId()
public String getProcessDefinitionKey()
Copyright © 2021. All rights reserved.