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 String |
processDefinitionId |
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 String[] |
variableTypes |
commandExecutor, expressions, 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 |
getProcessInstanceId() |
String[] |
getProcessInstanceIds() |
QueryVariableValue |
getQueryVariableValue() |
String[] |
getTaskIds() |
String |
getVariableName() |
String |
getVariableNameLike() |
HistoricVariableInstanceQuery |
includeDeleted()
Include variables that has been already deleted during the execution
|
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
|
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
|
addExpression, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeIdsList, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
protected String variableId
protected String processInstanceId
protected String caseInstanceId
protected String variableName
protected String variableNameLike
protected QueryVariableValue queryVariableValue
protected String[] variableTypes
protected String[] taskIds
protected String[] executionIds
protected String[] caseExecutionIds
protected String[] caseActivityIds
protected String[] activityInstanceIds
protected String[] tenantIds
protected String[] processInstanceIds
protected String processDefinitionId
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
public HistoricVariableInstanceQueryImpl processInstanceId(String processInstanceId)
HistoricVariableInstanceQuery
processInstanceId
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 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 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 String getVariableName()
public String getVariableNameLike()
public QueryVariableValue getQueryVariableValue()
public HistoricVariableInstanceQuery includeDeleted()
HistoricVariableInstanceQuery
includeDeleted
in interface HistoricVariableInstanceQuery
public String getProcessDefinitionId()
public HistoricVariableInstanceQuery processDefinitionId(String processDefinitionId)
HistoricVariableInstanceQuery
processDefinitionId
in interface HistoricVariableInstanceQuery
Copyright © 2019. All rights reserved.