|
||||||||||
| 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<CaseInstanceQuery,CaseInstance>
org.camunda.bpm.engine.impl.cmmn.entity.runtime.CaseInstanceQueryImpl
public class CaseInstanceQueryImpl
| Field Summary | |
|---|---|
protected String |
businessKey
|
protected String |
caseDefinitionId
|
protected String |
caseDefinitionKey
|
protected String |
caseExecutionId
|
protected CaseExecutionState |
state
|
| Fields inherited from class org.camunda.bpm.engine.impl.AbstractVariableQueryImpl |
|---|
queryVariableValues |
| Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
|---|
commandContext, commandExecutor, expressions, orderProperty, 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, authPerms, authResourceId, authResourceIdQueryParam, authResourceType, authUserId, isAuthorizationCheckEnabled |
| Constructor Summary | |
|---|---|
CaseInstanceQueryImpl()
|
|
CaseInstanceQueryImpl(CommandContext commandContext)
|
|
CaseInstanceQueryImpl(CommandExecutor commandExecutor)
|
|
| Method Summary | |
|---|---|
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()
|
boolean |
isCaseInstancesOnly()
|
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 |
terminated()
Only select case instances which are terminated. |
| 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, addOrder, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderProperty, list, listPage, mergeExpressions, mergeOrdering, orderBy, setCommandExecutor, setExpressions, 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 |
|---|
getAuthDefaultPerm, getAuthGroupIds, getAuthPerms, getAuthResourceId, getAuthResourceIdQueryParam, getAuthResourceType, getAuthUserId, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthPerms, setAuthResourceId, setAuthResourceIdQueryParam, setAuthResourceType, setAuthUserId |
| 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.CaseInstanceQuery |
|---|
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 caseExecutionId
protected String businessKey
protected String caseDefinitionId
protected String caseDefinitionKey
protected CaseExecutionState state
| Constructor Detail |
|---|
public CaseInstanceQueryImpl()
public CaseInstanceQueryImpl(CommandContext commandContext)
public CaseInstanceQueryImpl(CommandExecutor commandExecutor)
| Method Detail |
|---|
public CaseInstanceQuery caseInstanceId(String caseInstanceId)
CaseInstanceQuery
caseInstanceId in interface CaseInstanceQuerycaseInstanceId - the id of the case instancepublic CaseInstanceQuery caseInstanceBusinessKey(String caseInstanceBusinessKey)
CaseInstanceQuery
caseInstanceBusinessKey in interface CaseInstanceQuerycaseInstanceBusinessKey - the business key of the case instancepublic CaseInstanceQuery caseDefinitionKey(String caseDefinitionKey)
CaseInstanceQuery
caseDefinitionKey in interface CaseInstanceQuerycaseDefinitionKey - the key of the case definitionpublic CaseInstanceQuery caseDefinitionId(String caseDefinitionId)
CaseInstanceQuery
caseDefinitionId in interface CaseInstanceQuerycaseDefinitionId - the id of the case definitionpublic CaseInstanceQuery active()
CaseInstanceQuery
active in interface CaseInstanceQuerypublic CaseInstanceQuery completed()
CaseInstanceQuery
completed in interface CaseInstanceQuerypublic CaseInstanceQuery terminated()
CaseInstanceQuery
terminated 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)
AbstractQuery
executeList 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||