public class VariableInstanceQueryImpl extends AbstractVariableQueryImpl<VariableInstanceQuery,VariableInstance> implements VariableInstanceQuery, Serializable
Modifier and Type | Field and Description |
---|---|
protected String[] |
activityInstanceIds |
protected String[] |
executionIds |
protected boolean |
isByteArrayFetchingEnabled |
protected String[] |
processInstanceIds |
protected String[] |
taskIds |
protected String |
variableId |
protected String |
variableName |
protected String |
variableNameLike |
queryVariableValues
commandContext, commandExecutor, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC
databaseType, firstResult, maxResults, parameter
authDefaultPerm, authGroupIds, authPerms, authResourceId, authResourceIdQueryParam, authResourceType, authUserId, isAuthorizationCheckEnabled
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 |
disableBinaryFetching()
Disable fetching of byte array values.
|
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[] |
getExecutionIds() |
String[] |
getProcessInstanceIds() |
String[] |
getTaskIds() |
String |
getVariableId() |
String |
getVariableName() |
String |
getVariableNameLike() |
VariableInstanceQuery |
orderByActivityInstanceId()
Order by activity instance 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.
|
VariableInstanceQuery |
taskIdIn(String... taskIds)
Only select variable instances which have one of the task 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 |
variableNameLike(String variableNameLike)
Only select variable instances which have the name like the assigned variable name.
|
addVariable, ensureVariablesInitialized, getQueryVariableValues, variableValueEquals, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEquals
addOrder, asc, assertParamNotNull, assertParamNotNull, checkQueryOk, count, desc, direction, execute, executeSingleResult, getOrderBy, list, listPage, orderBy, setCommandExecutor, singleResult
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter
getAuthDefaultPerm, getAuthGroupIds, getAuthPerms, getAuthResourceId, getAuthResourceIdQueryParam, getAuthResourceType, getAuthUserId, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthPerms, setAuthResourceId, setAuthResourceIdQueryParam, setAuthResourceType, setAuthUserId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
variableValueEquals, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEquals
protected String variableId
protected String variableName
protected String variableNameLike
protected String[] executionIds
protected String[] processInstanceIds
protected String[] taskIds
protected String[] activityInstanceIds
protected boolean isByteArrayFetchingEnabled
public VariableInstanceQueryImpl()
public VariableInstanceQueryImpl(CommandExecutor commandExecutor)
public VariableInstanceQuery variableId(String id)
VariableInstanceQuery
variableId
in interface VariableInstanceQuery
public VariableInstanceQuery variableName(String variableName)
VariableInstanceQuery
variableName
in interface VariableInstanceQuery
public VariableInstanceQuery variableNameLike(String variableNameLike)
VariableInstanceQuery
variableNameLike
in interface VariableInstanceQuery
public VariableInstanceQuery executionIdIn(String... executionIds)
VariableInstanceQuery
executionIdIn
in interface VariableInstanceQuery
public VariableInstanceQuery processInstanceIdIn(String... processInstanceIds)
VariableInstanceQuery
processInstanceIdIn
in interface VariableInstanceQuery
public VariableInstanceQuery taskIdIn(String... taskIds)
VariableInstanceQuery
taskIdIn
in interface VariableInstanceQuery
public VariableInstanceQuery activityInstanceIdIn(String... activityInstanceIds)
VariableInstanceQuery
activityInstanceIdIn
in interface VariableInstanceQuery
public VariableInstanceQuery disableBinaryFetching()
VariableInstanceQuery
disableBinaryFetching
in interface VariableInstanceQuery
public VariableInstanceQuery orderByVariableName()
VariableInstanceQuery
Query.asc()
or Query.desc()
).orderByVariableName
in interface VariableInstanceQuery
public VariableInstanceQuery orderByVariableType()
VariableInstanceQuery
Query.asc()
or Query.desc()
).orderByVariableType
in interface VariableInstanceQuery
public VariableInstanceQuery orderByActivityInstanceId()
VariableInstanceQuery
Query.asc()
or Query.desc()
).orderByActivityInstanceId
in interface VariableInstanceQuery
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractVariableQueryImpl<VariableInstanceQuery,VariableInstance>
public List<VariableInstance> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractVariableQueryImpl<VariableInstanceQuery,VariableInstance>
page
- used if the results must be paged. If null, no paging will be applied.public String getVariableId()
public String getVariableName()
public String getVariableNameLike()
public String[] getExecutionIds()
public String[] getProcessInstanceIds()
public String[] getTaskIds()
public String[] getActivityInstanceIds()
Copyright © 2015. All rights reserved.