|
||||||||||
| 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<CaseExecutionQuery,CaseExecution>
org.camunda.bpm.engine.impl.cmmn.entity.runtime.CaseExecutionQueryImpl
public class CaseExecutionQueryImpl
| Field Summary | |
|---|---|
protected String |
activityId
|
protected String |
businessKey
|
protected String |
caseDefinitionId
|
protected String |
caseDefinitionKey
|
protected String |
caseExecutionId
|
protected String |
caseInstanceId
|
protected String |
deploymentId
|
protected Boolean |
required
|
protected CaseExecutionState |
state
|
protected String |
subCaseInstanceId
|
protected String |
subProcessInstanceId
|
protected String |
superCaseInstanceId
|
protected String |
superProcessInstanceId
|
| Fields inherited from class org.camunda.bpm.engine.impl.AbstractVariableQueryImpl |
|---|
queryVariableValues |
| Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
|---|
commandExecutor, expressions, orderingProperties, resultType, SORTORDER_ASC, SORTORDER_DESC, validators |
| 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 | |
|---|---|
CaseExecutionQueryImpl()
|
|
CaseExecutionQueryImpl(CommandExecutor commandExecutor)
|
|
| Method Summary | |
|---|---|
CaseExecutionQuery |
active()
Only select case executions which are active. |
CaseExecutionQuery |
activityId(String activityId)
Only select case executions which contain an activity with the given id. |
CaseExecutionQuery |
available()
Only select case executions which are available. |
CaseExecutionQuery |
caseDefinitionId(String caseDefinitionId)
Only select case executions which have the given case definition id. |
CaseExecutionQuery |
caseDefinitionKey(String caseDefinitionKey)
Only select case executions which have the given case definition key. |
CaseExecutionQuery |
caseExecutionId(String caseExecutionId)
Only select case executions with the given id. |
CaseExecutionQuery |
caseInstanceBusinessKey(String caseInstanceBusinessKey)
Only select case executions that belong to a case instance with the given business key |
CaseExecutionQuery |
caseInstanceId(String caseInstanceId)
Only select case executions which have the given case instance id. |
CaseExecutionQuery |
caseInstanceVariableValueEquals(String name,
Object value)
Only select case executions which are part of a case instance that have a variable with the given name set to the given value. |
CaseExecutionQuery |
caseInstanceVariableValueGreaterThan(String name,
Object value)
Only select case executions which are part of a case instance that have a variable with the given name and a variable value greater than the passed value. |
CaseExecutionQuery |
caseInstanceVariableValueGreaterThanOrEqual(String name,
Object value)
Only select case executions which are part of a case instance that have a variable value greater than or equal to the passed value. |
CaseExecutionQuery |
caseInstanceVariableValueLessThan(String name,
Object value)
Only select case executions which are part of a case instance that have a variable value less than the passed value. |
CaseExecutionQuery |
caseInstanceVariableValueLessThanOrEqual(String name,
Object value)
Only select case executions which are part of a case instance that have a variable value less than or equal to the passed value. |
CaseExecutionQuery |
caseInstanceVariableValueLike(String name,
String value)
Only select case executions which are part of a case instance that have a variable value like the given value. |
CaseExecutionQuery |
caseInstanceVariableValueNotEquals(String name,
Object value)
Only select case executions which are part of a case instance that have a variable with the given name, but with a different value than the passed value. |
CaseExecutionQuery |
disabled()
Only select case executions which are disabled. |
CaseExecutionQuery |
enabled()
Only select case executions which are enabled. |
long |
executeCount(CommandContext commandContext)
|
List<CaseExecution> |
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()
|
String |
getDeploymentId()
|
CaseExecutionState |
getState()
|
String |
getSubCaseInstanceId()
|
String |
getSubProcessInstanceId()
|
String |
getSuperCaseInstanceId()
|
String |
getSuperProcessInstanceId()
|
boolean |
isCaseInstancesOnly()
|
Boolean |
isRequired()
|
CaseExecutionQuery |
orderByCaseDefinitionId()
Order by case definition id (needs to be followed by Query.asc() or Query.desc()). |
CaseExecutionQuery |
orderByCaseDefinitionKey()
Order by case definition key (needs to be followed by Query.asc() or Query.desc()). |
CaseExecutionQuery |
orderByCaseExecutionId()
Order by id (needs to be followed by Query.asc() or Query.desc()). |
CaseExecutionQuery |
required()
Only select case executions which are required. |
| 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, 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 |
| 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 |
|---|
addAtomicPermissionCheck, getAuthDefaultPerm, getAuthGroupIds, getAuthUserId, getPermissionChecks, isAuthorizationCheckEnabled, setAtomicPermissionChecks, 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.CaseExecutionQuery |
|---|
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 caseDefinitionId
protected String caseDefinitionKey
protected String activityId
protected String caseExecutionId
protected String caseInstanceId
protected String businessKey
protected CaseExecutionState state
protected Boolean required
protected String superProcessInstanceId
protected String subProcessInstanceId
protected String superCaseInstanceId
protected String subCaseInstanceId
protected String deploymentId
| Constructor Detail |
|---|
public CaseExecutionQueryImpl()
public CaseExecutionQueryImpl(CommandExecutor commandExecutor)
| Method Detail |
|---|
public CaseExecutionQuery caseInstanceId(String caseInstanceId)
CaseExecutionQuery
caseInstanceId in interface CaseExecutionQuerycaseInstanceId - the id of the case instancepublic CaseExecutionQuery caseDefinitionId(String caseDefinitionId)
CaseExecutionQuery
caseDefinitionId in interface CaseExecutionQuerycaseDefinitionId - the id of the case definitionpublic CaseExecutionQuery caseDefinitionKey(String caseDefinitionKey)
CaseExecutionQuery
caseDefinitionKey in interface CaseExecutionQuerycaseDefinitionKey - the key of the case definitionpublic CaseExecutionQuery caseInstanceBusinessKey(String caseInstanceBusinessKey)
CaseExecutionQuery
caseInstanceBusinessKey in interface CaseExecutionQuerycaseInstanceBusinessKey - the business key of the case instancepublic CaseExecutionQuery caseExecutionId(String caseExecutionId)
CaseExecutionQuery
caseExecutionId in interface CaseExecutionQuerycaseExecutionId - the id of the case executionpublic CaseExecutionQuery activityId(String activityId)
CaseExecutionQuery
activityId in interface CaseExecutionQueryactivityId - the id of the activitypublic CaseExecutionQuery required()
CaseExecutionQuery
required in interface CaseExecutionQuerypublic CaseExecutionQuery available()
CaseExecutionQuery
available in interface CaseExecutionQuerypublic CaseExecutionQuery enabled()
CaseExecutionQuery
enabled in interface CaseExecutionQuerypublic CaseExecutionQuery active()
CaseExecutionQuery
active in interface CaseExecutionQuerypublic CaseExecutionQuery disabled()
CaseExecutionQuery
disabled in interface CaseExecutionQuery
public CaseExecutionQuery caseInstanceVariableValueEquals(String name,
Object value)
CaseExecutionQueryProcessEngineConfiguration#getVariableSerializers().
Byte-arrays and Serializable objects (which are not primitive type wrappers)
are not supported.
caseInstanceVariableValueEquals in interface CaseExecutionQueryname - the name of the variable, cannot be nullvalue - the value of the variable
public CaseExecutionQuery caseInstanceVariableValueNotEquals(String name,
Object value)
CaseExecutionQuerySerializable objects (which are not primitive type wrappers)
are not supported.
caseInstanceVariableValueNotEquals in interface CaseExecutionQueryname - the name of the variable, cannot be nullvalue - the value of the variable
public CaseExecutionQuery caseInstanceVariableValueGreaterThan(String name,
Object value)
CaseExecutionQuerySerializable objects (which are not primitive type wrappers)
are not supported.
caseInstanceVariableValueGreaterThan in interface CaseExecutionQueryname - the name of the variable, cannot be nullvalue - the value of the variable, cannot be null
public CaseExecutionQuery caseInstanceVariableValueGreaterThanOrEqual(String name,
Object value)
CaseExecutionQuerySerializable objects (which
are not primitive type wrappers) are not supported.
caseInstanceVariableValueGreaterThanOrEqual in interface CaseExecutionQueryname - the name of the variable, cannot be nullvalue - the value of the variable, cannot be null
public CaseExecutionQuery caseInstanceVariableValueLessThan(String name,
Object value)
CaseExecutionQuerySerializable objects (which are not primitive type wrappers)
are not supported.
caseInstanceVariableValueLessThan in interface CaseExecutionQueryname - the name of the variable, cannot be nullvalue - the value of the variable, cannot be null
public CaseExecutionQuery caseInstanceVariableValueLessThanOrEqual(String name,
Object value)
CaseExecutionQuerySerializable objects (which are not primitive type wrappers)
are not supported.
caseInstanceVariableValueLessThanOrEqual in interface CaseExecutionQueryname - the name of the variable, cannot be nullvalue - the value of the variable, cannot be null
public CaseExecutionQuery caseInstanceVariableValueLike(String name,
String value)
CaseExecutionQuery
caseInstanceVariableValueLike in interface CaseExecutionQueryname - the name of the variable, cannot be nullvalue - the value of the variable, cannot be null. The string can include the
wildcard character '%' to express like-strategy:
starts with (string%), ends with (%string) or contains (%string%).public CaseExecutionQuery orderByCaseExecutionId()
CaseExecutionQueryQuery.asc() or Query.desc()).
orderByCaseExecutionId in interface CaseExecutionQuerypublic CaseExecutionQuery orderByCaseDefinitionKey()
CaseExecutionQueryQuery.asc() or Query.desc()).
orderByCaseDefinitionKey in interface CaseExecutionQuerypublic CaseExecutionQuery orderByCaseDefinitionId()
CaseExecutionQueryQuery.asc() or Query.desc()).
orderByCaseDefinitionId in interface CaseExecutionQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractVariableQueryImpl<CaseExecutionQuery,CaseExecution>
public List<CaseExecution> executeList(CommandContext commandContext,
Page page)
AbstractQuery
executeList in class AbstractVariableQueryImpl<CaseExecutionQuery,CaseExecution>page - used if the results must be paged. If null, no paging will be applied.public String getCaseDefinitionId()
public String getCaseDefinitionKey()
public String getActivityId()
public String getCaseExecutionId()
public String getCaseInstanceId()
public String getBusinessKey()
public CaseExecutionState getState()
public boolean isCaseInstancesOnly()
public String getSuperProcessInstanceId()
public String getSubProcessInstanceId()
public String getSuperCaseInstanceId()
public String getSubCaseInstanceId()
public String getDeploymentId()
public Boolean isRequired()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||