public class VariableInstanceQueryImpl extends AbstractVariableQueryImpl<VariableInstanceQuery,VariableInstance> implements VariableInstanceQuery, Serializable
AbstractQuery.ResultType| Modifier and Type | Field and Description |
|---|---|
protected String[] |
activityInstanceIds |
protected String[] |
caseExecutionIds |
protected String[] |
caseInstanceIds |
protected String[] |
executionIds |
protected boolean |
isByteArrayFetchingEnabled |
protected boolean |
isCustomObjectDeserializationEnabled |
protected String[] |
processInstanceIds |
protected String[] |
taskIds |
protected String[] |
tenantIds |
protected String |
variableId |
protected String |
variableName |
protected String |
variableNameLike |
protected String[] |
variableNames |
protected String[] |
variableScopeIds |
queryVariableValues, variableNamesIgnoreCase, variableValuesIgnoreCasecommandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsauthCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck| Constructor and Description |
|---|
VariableInstanceQueryImpl() |
VariableInstanceQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
VariableInstanceQuery |
activityInstanceIdIn(String... activityInstanceIds)
Only select variable instances which have one of the activity instance ids.
|
VariableInstanceQuery |
caseExecutionIdIn(String... caseExecutionIds)
Only select variable instances which have one of the case execution ids.
|
VariableInstanceQuery |
caseInstanceIdIn(String... caseInstanceIds)
Only select variable instances which have one of the case instance ids.
|
VariableInstanceQuery |
disableBinaryFetching()
Disable fetching of byte array and file values.
|
VariableInstanceQuery |
disableCustomObjectDeserialization()
Disable deserialization of variable values that are custom objects.
|
long |
executeCount(CommandContext commandContext) |
List<VariableInstance> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
VariableInstanceQuery |
executionIdIn(String... executionIds)
Only select variable instances which have one of the executions ids.
|
String[] |
getActivityInstanceIds() |
String[] |
getCaseExecutionIds() |
String[] |
getCaseInstanceIds() |
String[] |
getExecutionIds() |
String[] |
getProcessInstanceIds() |
String[] |
getTaskIds() |
String |
getVariableId() |
String |
getVariableName() |
String |
getVariableNameLike() |
String[] |
getVariableNames() |
String[] |
getVariableScopeIds() |
protected boolean |
hasExcludingConditions()
Whether or not the query has excluding conditions.
|
VariableInstanceQuery |
orderByActivityInstanceId()
Order by activity instance id (needs to be followed by
Query.asc() or Query.desc()). |
VariableInstanceQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc()). |
VariableInstanceQuery |
orderByVariableName()
Order by variable name (needs to be followed by
Query.asc() or Query.desc()). |
VariableInstanceQuery |
orderByVariableType()
Order by variable type (needs to be followed by
Query.asc() or Query.desc()). |
VariableInstanceQuery |
processInstanceIdIn(String... processInstanceIds)
Only select variable instances which have one of the process instance ids.
|
protected boolean |
shouldFetchValue(VariableInstanceEntity entity) |
VariableInstanceQuery |
taskIdIn(String... taskIds)
Only select variable instances which have one of the task ids.
|
VariableInstanceQuery |
tenantIdIn(String... tenantIds)
Only select variable instances with one of the given tenant ids.
|
VariableInstanceQuery |
variableId(String id)
Only select the variable with the given Id
|
VariableInstanceQuery |
variableName(String variableName)
Only select variable instances which have the variable name.
|
VariableInstanceQuery |
variableNameIn(String... variableNames)
Only select variable instances which have one of the variables names.
|
VariableInstanceQuery |
variableNameLike(String variableNameLike)
Only select variable instances which have the name like the assigned variable name.
|
VariableInstanceQuery |
variableScopeIdIn(String... variableScopeIds)
Only select variables instances which have on of the variable scope ids.
|
addVariable, ensureVariablesInitialized, getQueryVariableValues, isVariableNamesIgnoreCase, isVariableValuesIgnoreCase, matchVariableNamesIgnoreCase, matchVariableValuesIgnoreCase, variableValueEquals, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEqualsaddExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeDeploymentIdMappingsList, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, 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, waitmatchVariableNamesIgnoreCase, matchVariableValuesIgnoreCase, variableValueEquals, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEqualsasc, count, desc, list, listPage, singleResult, unlimitedListprotected String variableId
protected String variableName
protected String[] variableNames
protected String variableNameLike
protected String[] executionIds
protected String[] processInstanceIds
protected String[] caseExecutionIds
protected String[] caseInstanceIds
protected String[] taskIds
protected String[] variableScopeIds
protected String[] activityInstanceIds
protected String[] tenantIds
protected boolean isByteArrayFetchingEnabled
protected boolean isCustomObjectDeserializationEnabled
public VariableInstanceQueryImpl()
public VariableInstanceQueryImpl(CommandExecutor commandExecutor)
public VariableInstanceQuery variableId(String id)
VariableInstanceQueryvariableId in interface VariableInstanceQuerypublic VariableInstanceQuery variableName(String variableName)
VariableInstanceQueryvariableName in interface VariableInstanceQuerypublic VariableInstanceQuery variableNameIn(String... variableNames)
VariableInstanceQueryvariableNameIn in interface VariableInstanceQuerypublic VariableInstanceQuery variableNameLike(String variableNameLike)
VariableInstanceQueryvariableNameLike in interface VariableInstanceQuerypublic VariableInstanceQuery executionIdIn(String... executionIds)
VariableInstanceQueryexecutionIdIn in interface VariableInstanceQuerypublic VariableInstanceQuery processInstanceIdIn(String... processInstanceIds)
VariableInstanceQueryprocessInstanceIdIn in interface VariableInstanceQuerypublic VariableInstanceQuery caseExecutionIdIn(String... caseExecutionIds)
VariableInstanceQuerycaseExecutionIdIn in interface VariableInstanceQuerypublic VariableInstanceQuery caseInstanceIdIn(String... caseInstanceIds)
VariableInstanceQuerycaseInstanceIdIn in interface VariableInstanceQuerypublic VariableInstanceQuery taskIdIn(String... taskIds)
VariableInstanceQuerytaskIdIn in interface VariableInstanceQuerypublic VariableInstanceQuery variableScopeIdIn(String... variableScopeIds)
VariableInstanceQueryvariableScopeIdIn in interface VariableInstanceQuerypublic VariableInstanceQuery activityInstanceIdIn(String... activityInstanceIds)
VariableInstanceQueryactivityInstanceIdIn in interface VariableInstanceQuerypublic VariableInstanceQuery disableBinaryFetching()
VariableInstanceQuerydisableBinaryFetching in interface VariableInstanceQuerypublic VariableInstanceQuery disableCustomObjectDeserialization()
VariableInstanceQuerydisableCustomObjectDeserialization in interface VariableInstanceQuerypublic VariableInstanceQuery tenantIdIn(String... tenantIds)
VariableInstanceQuerytenantIdIn in interface VariableInstanceQuerypublic VariableInstanceQuery orderByVariableName()
VariableInstanceQueryQuery.asc() or Query.desc()).orderByVariableName in interface VariableInstanceQuerypublic VariableInstanceQuery orderByVariableType()
VariableInstanceQueryQuery.asc() or Query.desc()).orderByVariableType in interface VariableInstanceQuerypublic VariableInstanceQuery orderByActivityInstanceId()
VariableInstanceQueryQuery.asc() or Query.desc()).orderByActivityInstanceId in interface VariableInstanceQuerypublic VariableInstanceQuery orderByTenantId()
VariableInstanceQueryQuery.asc() or Query.desc()).
Note that the ordering of variable instances without tenant id is database-specific.orderByTenantId in interface VariableInstanceQueryprotected boolean hasExcludingConditions()
AbstractQueryhasExcludingConditions in class AbstractQuery<VariableInstanceQuery,VariableInstance>true if the query does have excluding conditions, false otherwisepublic long executeCount(CommandContext commandContext)
executeCount in class AbstractVariableQueryImpl<VariableInstanceQuery,VariableInstance>public List<VariableInstance> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList in class AbstractVariableQueryImpl<VariableInstanceQuery,VariableInstance>page - used if the results must be paged. If null, no paging will be applied.protected boolean shouldFetchValue(VariableInstanceEntity entity)
public String getVariableId()
public String getVariableName()
public String[] getVariableNames()
public String getVariableNameLike()
public String[] getExecutionIds()
public String[] getProcessInstanceIds()
public String[] getCaseExecutionIds()
public String[] getCaseInstanceIds()
public String[] getTaskIds()
public String[] getVariableScopeIds()
public String[] getActivityInstanceIds()
Copyright © 2021. All rights reserved.