public class HistoricVariableInstanceQueryImpl extends AbstractQuery<HistoricVariableInstanceQuery,HistoricVariableInstance> implements HistoricVariableInstanceQuery
Modifier and Type | Field and Description |
---|---|
protected String[] |
activityInstanceIds |
protected String[] |
caseExecutionIds |
protected String |
caseInstanceId |
protected String[] |
executionIds |
protected boolean |
isByteArrayFetchingEnabled |
protected boolean |
isCustomObjectDeserializationEnabled |
protected String |
processInstanceId |
protected QueryVariableValue |
queryVariableValue |
protected String[] |
taskIds |
protected String |
variableId |
protected String |
variableName |
protected String |
variableNameLike |
commandExecutor, expressions, orderingProperties, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter
authDefaultPerm, authGroupIds, authUserId, isAuthorizationCheckEnabled, permissionChecks
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 |
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[] |
getCaseExecutionIds() |
String |
getCaseInstanceId() |
String[] |
getExecutionIds() |
String |
getProcessInstanceId() |
QueryVariableValue |
getQueryVariableValue() |
String[] |
getTaskIds() |
String |
getVariableName() |
String |
getVariableNameLike() |
HistoricVariableInstanceQuery |
orderByProcessInstanceId() |
HistoricVariableInstanceQuery |
orderByVariableName() |
HistoricVariableInstanceQueryImpl |
processInstanceId(String processInstanceId)
Only select historic process variables with the given process instance.
|
protected boolean |
shouldFetchValue(HistoricVariableInstanceEntity entity) |
HistoricVariableInstanceQuery |
taskIdIn(String... taskIds)
Only select historic variable instances which have one of the task 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 |
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, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderingProperties, hasExcludingConditions, list, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, setOrderingProperties, singleResult, validate, validate
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter
addAtomicPermissionCheck, getAuthDefaultPerm, getAuthGroupIds, getAuthUserId, getPermissionChecks, isAuthorizationCheckEnabled, setAtomicPermissionChecks, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthUserId, setPermissionChecks
protected String variableId
protected String processInstanceId
protected String caseInstanceId
protected String variableName
protected String variableNameLike
protected QueryVariableValue queryVariableValue
protected String[] taskIds
protected String[] executionIds
protected String[] caseExecutionIds
protected String[] activityInstanceIds
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 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 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 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 String getProcessInstanceId()
public String getCaseInstanceId()
public String[] getActivityInstanceIds()
public String[] getTaskIds()
public String[] getExecutionIds()
public String[] getCaseExecutionIds()
public String getVariableName()
public String getVariableNameLike()
public QueryVariableValue getQueryVariableValue()
Copyright © 2018. All rights reserved.