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, validators
authCheck, 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, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asc, count, desc, list, listPage, singleResult, unlimitedList
protected 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)
HistoricVariableInstanceQuery
variableId
in interface HistoricVariableInstanceQuery
id
- of the variable to selectpublic HistoricVariableInstanceQueryImpl processInstanceId(String processInstanceId)
HistoricVariableInstanceQuery
processInstanceId
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery processDefinitionId(String processDefinitionId)
HistoricVariableInstanceQuery
processDefinitionId
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery processDefinitionKey(String processDefinitionKey)
HistoricVariableInstanceQuery
processDefinitionKey
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery caseInstanceId(String caseInstanceId)
HistoricVariableInstanceQuery
caseInstanceId
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery variableTypeIn(String... variableTypes)
HistoricVariableInstanceQuery
variableTypeIn
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery matchVariableNamesIgnoreCase()
HistoricVariableInstanceQuery
matchVariableNamesIgnoreCase
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery matchVariableValuesIgnoreCase()
HistoricVariableInstanceQuery
matchVariableValuesIgnoreCase
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery processInstanceIdIn(String... processInstanceIds)
processInstanceIdIn
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery taskIdIn(String... taskIds)
HistoricVariableInstanceQuery
taskIdIn
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery executionIdIn(String... executionIds)
HistoricVariableInstanceQuery
executionIdIn
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery caseExecutionIdIn(String... caseExecutionIds)
HistoricVariableInstanceQuery
caseExecutionIdIn
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery caseActivityIdIn(String... caseActivityIds)
HistoricVariableInstanceQuery
caseActivityIdIn
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery activityInstanceIdIn(String... activityInstanceIds)
HistoricVariableInstanceQuery
activityInstanceIdIn
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery variableName(String variableName)
HistoricVariableInstanceQuery
variableName
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery variableValueEquals(String variableName, Object variableValue)
HistoricVariableInstanceQuery
variableValueEquals
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery variableNameLike(String variableNameLike)
HistoricVariableInstanceQuery
variableNameLike
in interface HistoricVariableInstanceQuery
protected void ensureVariablesInitialized()
public HistoricVariableInstanceQuery disableBinaryFetching()
HistoricVariableInstanceQuery
disableBinaryFetching
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery disableCustomObjectDeserialization()
HistoricVariableInstanceQuery
disableCustomObjectDeserialization
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery tenantIdIn(String... tenantIds)
HistoricVariableInstanceQuery
tenantIdIn
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery withoutTenantId()
HistoricVariableInstanceQuery
withoutTenantId
in interface HistoricVariableInstanceQuery
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<HistoricVariableInstanceQuery,HistoricVariableInstance>
public List<HistoricVariableInstance> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
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 HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery orderByVariableName()
orderByVariableName
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery orderByTenantId()
HistoricVariableInstanceQuery
Query.asc()
or Query.desc()
).
Note that the ordering of historic variable instances without tenant id is database-specific.orderByTenantId
in interface HistoricVariableInstanceQuery
public 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()
HistoricVariableInstanceQuery
includeDeleted
in interface HistoricVariableInstanceQuery
public String getProcessDefinitionId()
public String getProcessDefinitionKey()
Copyright © 2021. All rights reserved.