org.camunda.bpm.engine.impl.cmmn.entity.runtime
Class CaseInstanceQueryImpl
java.lang.Object
org.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
- All Implemented Interfaces:
- Serializable, Command<Object>, Query<CaseInstanceQuery,CaseInstance>, CaseInstanceQuery
public class CaseInstanceQueryImpl
- extends AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>
- implements CaseInstanceQuery
- Author:
- Roman Smirnov
- See Also:
- Serialized Form
| Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
addOrder, asc, assertParamNotNull, assertParamNotNull, checkQueryOk, count, desc, direction, execute, executeSingleResult, getOrderBy, list, listPage, orderBy, setCommandExecutor, 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 |
caseExecutionId
protected String caseExecutionId
businessKey
protected String businessKey
caseDefinitionId
protected String caseDefinitionId
caseDefinitionKey
protected String caseDefinitionKey
state
protected CaseExecutionState state
CaseInstanceQueryImpl
public CaseInstanceQueryImpl()
CaseInstanceQueryImpl
public CaseInstanceQueryImpl(CommandContext commandContext)
CaseInstanceQueryImpl
public CaseInstanceQueryImpl(CommandExecutor commandExecutor)
caseInstanceId
public CaseInstanceQuery caseInstanceId(String caseInstanceId)
- Description copied from interface:
CaseInstanceQuery
- Select the case instance with the given id
- Specified by:
caseInstanceId in interface CaseInstanceQuery
caseInstanceBusinessKey
public CaseInstanceQuery caseInstanceBusinessKey(String caseInstanceBusinessKey)
- Description copied from interface:
CaseInstanceQuery
- Select case instances with the given business key
- Specified by:
caseInstanceBusinessKey in interface CaseInstanceQuery
caseDefinitionKey
public CaseInstanceQuery caseDefinitionKey(String caseDefinitionKey)
- Description copied from interface:
CaseInstanceQuery
- Select the case instances which are defined by a case definition with
the given key.
- Specified by:
caseDefinitionKey in interface CaseInstanceQuery
caseDefinitionId
public CaseInstanceQuery caseDefinitionId(String caseDefinitionId)
- Description copied from interface:
CaseInstanceQuery
- Selects the case instances which are defined by a case definition
with the given id.
- Specified by:
caseDefinitionId in interface CaseInstanceQuery
active
public CaseInstanceQuery active()
- Description copied from interface:
CaseInstanceQuery
- Only select case instances which are active.
- Specified by:
active in interface CaseInstanceQuery
orderByCaseInstanceId
public CaseInstanceQuery orderByCaseInstanceId()
- Description copied from interface:
CaseInstanceQuery
- Order by id (needs to be followed by
Query.asc() or Query.desc()).
- Specified by:
orderByCaseInstanceId in interface CaseInstanceQuery
orderByCaseDefinitionKey
public CaseInstanceQuery orderByCaseDefinitionKey()
- Description copied from interface:
CaseInstanceQuery
- Order by case definition key (needs to be followed by
Query.asc() or Query.desc()).
- Specified by:
orderByCaseDefinitionKey in interface CaseInstanceQuery
orderByCaseDefinitionId
public CaseInstanceQuery orderByCaseDefinitionId()
- Description copied from interface:
CaseInstanceQuery
- Order by case definition id (needs to be followed by
Query.asc() or Query.desc()).
- Specified by:
orderByCaseDefinitionId in interface CaseInstanceQuery
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount in class AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>
executeList
public List<CaseInstance> executeList(CommandContext commandContext,
Page page)
- Description copied from class:
AbstractQuery
- Executes the actual query to retrieve the list of results.
- Specified by:
executeList in class AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>
page - used if the results must be paged. If null, no paging will be applied.
getCaseInstanceId
public String getCaseInstanceId()
getCaseExecutionId
public String getCaseExecutionId()
getActivityId
public String getActivityId()
getBusinessKey
public String getBusinessKey()
getCaseDefinitionId
public String getCaseDefinitionId()
getCaseDefinitionKey
public String getCaseDefinitionKey()
getState
public CaseExecutionState getState()
isCaseInstancesOnly
public boolean isCaseInstancesOnly()
Copyright © 2014 camunda services GmbH. All Rights Reserved.