public class CaseInstanceQueryImpl extends AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance> implements CaseInstanceQuery
| Modifier and Type | Field and Description |
|---|---|
protected String |
businessKey |
protected String |
caseDefinitionId |
protected String |
caseDefinitionKey |
protected String |
caseExecutionId |
protected Boolean |
required |
protected CaseExecutionState |
state |
protected String |
subCaseInstanceId |
protected String |
subProcessInstanceId |
protected String |
superCaseInstanceId |
protected String |
superProcessInstanceId |
queryVariableValuescommandExecutor, expressions, orderingProperties, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsdatabaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameterauthDefaultPerm, authGroupIds, authUserId, isAuthorizationCheckEnabled, permissionChecks| Constructor and Description |
|---|
CaseInstanceQueryImpl() |
CaseInstanceQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
CaseInstanceQuery |
active()
Only select case instances which are active.
|
CaseInstanceQuery |
caseDefinitionId(String caseDefinitionId)
Selects the case instances which are defined by a case definition
with the given id.
|
CaseInstanceQuery |
caseDefinitionKey(String caseDefinitionKey)
Select the case instances which are defined by a case definition with
the given key.
|
CaseInstanceQuery |
caseInstanceBusinessKey(String caseInstanceBusinessKey)
Select case instances with the given business key
|
CaseInstanceQuery |
caseInstanceId(String caseInstanceId)
Select the case instance with the given id
|
CaseInstanceQuery |
completed()
Only select case instances which are completed.
|
long |
executeCount(CommandContext commandContext) |
List<CaseInstance> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
String |
getActivityId() |
String |
getBusinessKey() |
String |
getCaseDefinitionId() |
String |
getCaseDefinitionKey() |
String |
getCaseExecutionId() |
String |
getCaseInstanceId() |
CaseExecutionState |
getState() |
String |
getSubCaseInstanceId() |
String |
getSubProcessInstanceId() |
String |
getSuperCaseInstanceId() |
String |
getSuperProcessInstanceId() |
boolean |
isCaseInstancesOnly() |
Boolean |
isRequired() |
CaseInstanceQuery |
orderByCaseDefinitionId()
Order by case definition id (needs to be followed by
Query.asc() or Query.desc()). |
CaseInstanceQuery |
orderByCaseDefinitionKey()
Order by case definition key (needs to be followed by
Query.asc() or Query.desc()). |
CaseInstanceQuery |
orderByCaseInstanceId()
Order by id (needs to be followed by
Query.asc() or Query.desc()). |
CaseInstanceQuery |
subCaseInstanceId(String subCaseInstanceId)
Select the case instance that has as sub case instance the given
case instance.
|
CaseInstanceQuery |
subProcessInstanceId(String subProcessInstanceId)
Select the case instance that has as sub process instance the given
process instance.
|
CaseInstanceQuery |
superCaseInstanceId(String superCaseInstanceId)
Select the case instances which are a sub case instance of the given
super case instance.
|
CaseInstanceQuery |
superProcessInstanceId(String superProcessInstanceId)
Select the case instances which are a sub case instance of the given
super process instance.
|
CaseInstanceQuery |
terminated()
Only select case instances which are terminated.
|
addVariable, ensureVariablesInitialized, getQueryVariableValues, variableValueEquals, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEqualsaddExpression, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderingProperties, list, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, setOrderingProperties, singleResult, validate, validategetDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameteraddPermissionCheck, getAuthDefaultPerm, getAuthGroupIds, getAuthUserId, getPermissionChecks, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthUserId, setPermissionChecksclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvariableValueEquals, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEqualsprotected String caseExecutionId
protected String businessKey
protected String caseDefinitionId
protected String caseDefinitionKey
protected CaseExecutionState state
protected String superProcessInstanceId
protected String subProcessInstanceId
protected String superCaseInstanceId
protected String subCaseInstanceId
protected Boolean required
public CaseInstanceQueryImpl()
public CaseInstanceQueryImpl(CommandExecutor commandExecutor)
public CaseInstanceQuery caseInstanceId(String caseInstanceId)
CaseInstanceQuerycaseInstanceId in interface CaseInstanceQuerycaseInstanceId - the id of the case instancepublic CaseInstanceQuery caseInstanceBusinessKey(String caseInstanceBusinessKey)
CaseInstanceQuerycaseInstanceBusinessKey in interface CaseInstanceQuerycaseInstanceBusinessKey - the business key of the case instancepublic CaseInstanceQuery caseDefinitionKey(String caseDefinitionKey)
CaseInstanceQuerycaseDefinitionKey in interface CaseInstanceQuerycaseDefinitionKey - the key of the case definitionpublic CaseInstanceQuery caseDefinitionId(String caseDefinitionId)
CaseInstanceQuerycaseDefinitionId in interface CaseInstanceQuerycaseDefinitionId - the id of the case definitionpublic CaseInstanceQuery superProcessInstanceId(String superProcessInstanceId)
CaseInstanceQuerysuperProcessInstanceId in interface CaseInstanceQuerypublic CaseInstanceQuery subProcessInstanceId(String subProcessInstanceId)
CaseInstanceQuerysubProcessInstanceId in interface CaseInstanceQuerypublic CaseInstanceQuery superCaseInstanceId(String superCaseInstanceId)
CaseInstanceQuerysuperCaseInstanceId in interface CaseInstanceQuerypublic CaseInstanceQuery subCaseInstanceId(String subCaseInstanceId)
CaseInstanceQuerysubCaseInstanceId in interface CaseInstanceQuerypublic CaseInstanceQuery active()
CaseInstanceQueryactive in interface CaseInstanceQuerypublic CaseInstanceQuery completed()
CaseInstanceQuerycompleted in interface CaseInstanceQuerypublic CaseInstanceQuery terminated()
CaseInstanceQueryterminated in interface CaseInstanceQuerypublic CaseInstanceQuery orderByCaseInstanceId()
CaseInstanceQueryQuery.asc() or Query.desc()).orderByCaseInstanceId in interface CaseInstanceQuerypublic CaseInstanceQuery orderByCaseDefinitionKey()
CaseInstanceQueryQuery.asc() or Query.desc()).orderByCaseDefinitionKey in interface CaseInstanceQuerypublic CaseInstanceQuery orderByCaseDefinitionId()
CaseInstanceQueryQuery.asc() or Query.desc()).orderByCaseDefinitionId in interface CaseInstanceQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>public List<CaseInstance> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList in class AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>page - used if the results must be paged. If null, no paging will be applied.public String getCaseInstanceId()
public String getCaseExecutionId()
public String getActivityId()
public String getBusinessKey()
public String getCaseDefinitionId()
public String getCaseDefinitionKey()
public CaseExecutionState getState()
public boolean isCaseInstancesOnly()
public String getSuperProcessInstanceId()
public String getSubProcessInstanceId()
public String getSuperCaseInstanceId()
public String getSubCaseInstanceId()
public Boolean isRequired()
Copyright © 2018. All rights reserved.