|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.db.AuthorizationCheck
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<T,U>
org.camunda.bpm.engine.impl.AbstractVariableQueryImpl<VariableInstanceQuery,VariableInstance>
org.camunda.bpm.engine.impl.VariableInstanceQueryImpl
public class VariableInstanceQueryImpl
| Field Summary | |
|---|---|
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 List<PermissionCheck> |
taskPermissionChecks
|
protected String |
variableId
|
protected String |
variableName
|
protected String |
variableNameLike
|
protected String[] |
variableNames
|
protected String[] |
variableScopeIds
|
| Fields inherited from class org.camunda.bpm.engine.impl.AbstractVariableQueryImpl |
|---|
queryVariableValues |
| Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
|---|
commandContext, commandExecutor, expressions, orderingProperties, resultType, SORTORDER_ASC, SORTORDER_DESC |
| Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject |
|---|
databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter |
| Fields inherited from class org.camunda.bpm.engine.impl.db.AuthorizationCheck |
|---|
authDefaultPerm, authGroupIds, authUserId, isAuthorizationCheckEnabled, permissionChecks |
| Constructor Summary | |
|---|---|
VariableInstanceQueryImpl()
|
|
VariableInstanceQueryImpl(CommandExecutor commandExecutor)
|
|
| Method Summary | |
|---|---|
VariableInstanceQuery |
activityInstanceIdIn(String... activityInstanceIds)
Only select variable instances which have one of the activity instance ids. |
void |
addTaskPermissionCheck(PermissionCheck permissionCheck)
|
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 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()
|
List<PermissionCheck> |
getTaskPermissionChecks()
|
String |
getVariableId()
|
String |
getVariableName()
|
String |
getVariableNameLike()
|
String[] |
getVariableNames()
|
String[] |
getVariableScopeIds()
|
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. |
void |
setTaskPermissionChecks(List<PermissionCheck> taskPermissionChecks)
|
protected boolean |
shouldFetchValue(VariableInstanceEntity entity)
|
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 |
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. |
| Methods inherited from class org.camunda.bpm.engine.impl.AbstractVariableQueryImpl |
|---|
addVariable, ensureVariablesInitialized, getQueryVariableValues, variableValueEquals, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEquals |
| Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
|---|
addExpression, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderingProperties, list, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, setCommandExecutor, setExpressions, setOrderingProperties, singleResult |
| Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject |
|---|
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter |
| Methods inherited from class org.camunda.bpm.engine.impl.db.AuthorizationCheck |
|---|
addPermissionCheck, getAuthDefaultPerm, getAuthGroupIds, getAuthUserId, getPermissionChecks, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthUserId, setPermissionChecks |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.camunda.bpm.engine.runtime.VariableInstanceQuery |
|---|
variableValueEquals, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEquals |
| Methods inherited from interface org.camunda.bpm.engine.query.Query |
|---|
asc, count, desc, list, listPage, singleResult |
| Field Detail |
|---|
protected 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 boolean isByteArrayFetchingEnabled
protected boolean isCustomObjectDeserializationEnabled
protected List<PermissionCheck> taskPermissionChecks
| Constructor Detail |
|---|
public VariableInstanceQueryImpl()
public VariableInstanceQueryImpl(CommandExecutor commandExecutor)
| Method Detail |
|---|
public VariableInstanceQuery variableId(String id)
VariableInstanceQuery
variableId in interface VariableInstanceQuerypublic VariableInstanceQuery variableName(String variableName)
VariableInstanceQuery
variableName in interface VariableInstanceQuerypublic VariableInstanceQuery variableNameIn(String... variableNames)
VariableInstanceQuery
variableNameIn in interface VariableInstanceQuerypublic VariableInstanceQuery variableNameLike(String variableNameLike)
VariableInstanceQuery
variableNameLike in interface VariableInstanceQuerypublic VariableInstanceQuery executionIdIn(String... executionIds)
VariableInstanceQuery
executionIdIn in interface VariableInstanceQuerypublic VariableInstanceQuery processInstanceIdIn(String... processInstanceIds)
VariableInstanceQuery
processInstanceIdIn in interface VariableInstanceQuerypublic VariableInstanceQuery caseExecutionIdIn(String... caseExecutionIds)
VariableInstanceQuery
caseExecutionIdIn in interface VariableInstanceQuerypublic VariableInstanceQuery caseInstanceIdIn(String... caseInstanceIds)
VariableInstanceQuery
caseInstanceIdIn in interface VariableInstanceQuerypublic VariableInstanceQuery taskIdIn(String... taskIds)
VariableInstanceQuery
taskIdIn in interface VariableInstanceQuerypublic VariableInstanceQuery variableScopeIdIn(String... variableScopeIds)
VariableInstanceQuery
variableScopeIdIn in interface VariableInstanceQuerypublic VariableInstanceQuery activityInstanceIdIn(String... activityInstanceIds)
VariableInstanceQuery
activityInstanceIdIn in interface VariableInstanceQuerypublic VariableInstanceQuery disableBinaryFetching()
VariableInstanceQuery
disableBinaryFetching in interface VariableInstanceQuerypublic VariableInstanceQuery disableCustomObjectDeserialization()
VariableInstanceQuery
disableCustomObjectDeserialization 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 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.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()
public List<PermissionCheck> getTaskPermissionChecks()
public void setTaskPermissionChecks(List<PermissionCheck> taskPermissionChecks)
public void addTaskPermissionCheck(PermissionCheck permissionCheck)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||