Class ProcessInstanceQueryImpl
- java.lang.Object
- 
- org.camunda.bpm.engine.impl.db.ListQueryParameterObject
- 
- org.camunda.bpm.engine.impl.AbstractQuery<T,U>
- 
- org.camunda.bpm.engine.impl.AbstractVariableQueryImpl<ProcessInstanceQuery,ProcessInstance>
- 
- org.camunda.bpm.engine.impl.ProcessInstanceQueryImpl
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- Command<java.lang.Object>,- Query<ProcessInstanceQuery,ProcessInstance>,- ProcessInstanceQuery
 
 public class ProcessInstanceQueryImpl extends AbstractVariableQueryImpl<ProcessInstanceQuery,ProcessInstance> implements ProcessInstanceQuery, java.io.Serializable - Author:
- Tom Baeyens, Joram Barrez, Frederik Heremans, Falko Menge, Daniel Meyer
- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQueryAbstractQuery.ResultType
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected java.lang.String[]activityIdsprotected java.lang.StringbusinessKeyprotected java.lang.StringbusinessKeyLikeprotected java.lang.StringcaseInstanceIdprotected java.lang.StringdeploymentIdprotected java.lang.StringincidentIdprotected java.lang.StringincidentMessageprotected java.lang.StringincidentMessageLikeprotected java.lang.StringincidentTypeprotected booleanisLeafProcessInstancesprotected booleanisOrQueryActiveprotected booleanisProcessDefinitionWithoutTenantIdprotected booleanisRootProcessInstancesprotected booleanisTenantIdSetprotected java.lang.StringprocessDefinitionIdprotected java.lang.StringprocessDefinitionKeyprotected java.lang.String[]processDefinitionKeyNotInprotected java.lang.String[]processDefinitionKeysprotected java.lang.StringprocessInstanceIdprotected java.util.Set<java.lang.String>processInstanceIdsprotected java.util.List<ProcessInstanceQueryImpl>queriesprotected java.lang.StringsubCaseInstanceIdprotected java.lang.StringsubProcessInstanceIdprotected java.lang.StringsuperCaseInstanceIdprotected java.lang.StringsuperProcessInstanceIdprotected SuspensionStatesuspensionStateprotected java.lang.String[]tenantIdsprotected booleanwithIncident- 
Fields inherited from class org.camunda.bpm.engine.impl.AbstractVariableQueryImplqueryVariableValues, variableNamesIgnoreCase, variableValuesIgnoreCase
 - 
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuerycommandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
 - 
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObjectauthCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
 
- 
 - 
Constructor SummaryConstructors Constructor Description ProcessInstanceQueryImpl()ProcessInstanceQueryImpl(CommandExecutor commandExecutor)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessInstanceQueryactive()Only selects process instances which are active, which means that neither the process instance nor the corresponding process definition are suspended.ProcessInstanceQueryactivityIdIn(java.lang.String... activityIds)Only selects process instances with leaf activity instances or transition instances (async before, async after) in at least one of the given activity ids.voidaddOrQuery(ProcessInstanceQueryImpl orQuery)ProcessInstanceQuerycaseInstanceId(java.lang.String caseInstanceId)Selects the process instances which are associated with the given case instance id.protected voidcheckQueryOk()ProcessInstanceQuerydeploymentId(java.lang.String deploymentId)Selects the process instances which belong to the given deployment id.ProcessInstanceQueryendOr()endOr() terminates an OR query on which an arbitrary amount of filter criteria were applied.protected voidensureVariablesInitialized()longexecuteCount(CommandContext commandContext)java.util.List<ImmutablePair<java.lang.String,java.lang.String>>executeDeploymentIdMappingsList(CommandContext commandContext)java.util.List<java.lang.String>executeIdsList(CommandContext commandContext)java.util.List<ProcessInstance>executeList(CommandContext commandContext, Page page)Executes the actual query to retrieve the list of results.java.lang.String[]getActivityIds()java.lang.StringgetBusinessKey()java.lang.StringgetBusinessKeyLike()java.lang.StringgetCaseInstanceId()java.lang.StringgetDeploymentId()java.lang.StringgetIncidentId()java.lang.StringgetIncidentMessage()java.lang.StringgetIncidentMessageLike()java.lang.StringgetIncidentType()java.lang.StringgetProcessDefinitionId()java.lang.StringgetProcessDefinitionKey()java.lang.String[]getProcessDefinitionKeyNotIn()java.lang.String[]getProcessDefinitionKeys()java.lang.StringgetProcessInstanceId()java.util.Set<java.lang.String>getProcessInstanceIds()java.util.List<ProcessInstanceQueryImpl>getQueries()java.lang.StringgetSubCaseInstanceId()java.lang.StringgetSubProcessInstanceId()java.lang.StringgetSuperCaseInstanceId()java.lang.StringgetSuperProcessInstanceId()SuspensionStategetSuspensionState()java.lang.String[]getTenantIds()ProcessInstanceQueryincidentId(java.lang.String incidentId)Only selects process instances with the given incident id.ProcessInstanceQueryincidentMessage(java.lang.String incidentMessage)Only selects process instances with the given incident message.ProcessInstanceQueryincidentMessageLike(java.lang.String incidentMessageLike)Only selects process instances with an incident message like the given.ProcessInstanceQueryincidentType(java.lang.String incidentType)Only selects process instances with the given incident type.booleanisLeafProcessInstances()booleanisOrQueryActive()booleanisProcessDefinitionWithoutTenantId()booleanisRootProcessInstances()booleanisTenantIdSet()booleanisWithIncident()ProcessInstanceQueryleafProcessInstances()Only selects process instances which don't have subprocesses and thus are leaves of the execution tree.ProcessInstanceQueryor()After calling or(), a chain of several filter criteria could follow.ProcessInstanceQueryorderByBusinessKey()Order by the business key (needs to be followed byQuery.asc()orQuery.desc()).ProcessInstanceQueryorderByProcessDefinitionId()Order by process definition id (needs to be followed byQuery.asc()orQuery.desc()).ProcessInstanceQueryorderByProcessDefinitionKey()Order by process definition key (needs to be followed byQuery.asc()orQuery.desc()).ProcessInstanceQueryorderByProcessInstanceId()Order by id (needs to be followed byQuery.asc()orQuery.desc()).ProcessInstanceQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).ProcessInstanceQueryImplprocessDefinitionId(java.lang.String processDefinitionId)Selects the process instances which are defined by a process definition with the given id.ProcessInstanceQueryImplprocessDefinitionKey(java.lang.String processDefinitionKey)Select the process instances which are defined by a process definition with the given key.ProcessInstanceQueryprocessDefinitionKeyIn(java.lang.String... processDefinitionKeys)Select the process instances for any given process definition keys.ProcessInstanceQueryprocessDefinitionKeyNotIn(java.lang.String... processDefinitionKeys)Select historic process instances that don't have a process-definition of which the key is present in the given listProcessInstanceQueryprocessDefinitionWithoutTenantId()Only selects process instances which process definition has no tenant id.ProcessInstanceQueryprocessInstanceBusinessKey(java.lang.String businessKey)Select process instances with the given business keyProcessInstanceQueryprocessInstanceBusinessKey(java.lang.String businessKey, java.lang.String processDefinitionKey)Select process instance with the given business key, unique for the given process definitionProcessInstanceQueryprocessInstanceBusinessKeyLike(java.lang.String businessKeyLike)Select process instances with a business key like the given value.ProcessInstanceQueryImplprocessInstanceId(java.lang.String processInstanceId)Select the process instance with the given idProcessInstanceQueryprocessInstanceIds(java.util.Set<java.lang.String> processInstanceIds)Select process instances whose id is in the given set of idsProcessInstanceQueryrootProcessInstances()Only selects process instances which are top level process instances.voidsetOrQueryActive()voidsetSuspensionState(SuspensionState suspensionState)ProcessInstanceQuerysubCaseInstanceId(java.lang.String subCaseInstanceId)Select the process instance that has as sub case instance the given case instance.ProcessInstanceQuerysubProcessInstanceId(java.lang.String subProcessInstanceId)Select the process instance that have as sub process instance the given process instance.ProcessInstanceQuerysuperCaseInstanceId(java.lang.String superCaseInstanceId)Select the process instances which are a sub process instance of the given super case instance.ProcessInstanceQuerysuperProcessInstanceId(java.lang.String superProcessInstanceId)Select the process instances which are a sub process instance of the given super process instance.ProcessInstanceQuerysuspended()Only selects process instances which are suspended, either because the process instance itself is suspended or because the corresponding process definition is suspendedProcessInstanceQuerytenantIdIn(java.lang.String... tenantIds)Only select process instances with one of the given tenant ids.ProcessInstanceQuerywithIncident()Only selects process instances with at least one incident.ProcessInstanceQuerywithoutTenantId()Only selects process instances which have no tenant id.- 
Methods inherited from class org.camunda.bpm.engine.impl.AbstractVariableQueryImpladdVariable, createQueryVariableValue, getQueryVariableValues, isVariableNamesIgnoreCase, isVariableValuesIgnoreCase, matchVariableNamesIgnoreCase, matchVariableValuesIgnoreCase, validateVariable, variableValueEquals, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEquals, variableValueNotLike
 - 
Methods inherited from class org.camunda.bpm.engine.impl.AbstractQueryaddExpression, addValidator, asc, checkMaxResultsLimit, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listDeploymentIdMappings, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validate
 - 
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObjectgetAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.CommandisRetryable
 - 
Methods inherited from interface org.camunda.bpm.engine.runtime.ProcessInstanceQuerymatchVariableNamesIgnoreCase, matchVariableValuesIgnoreCase, variableValueEquals, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEquals
 - 
Methods inherited from interface org.camunda.bpm.engine.query.Queryasc, count, desc, list, listPage, singleResult, unlimitedList
 
- 
 
- 
- 
- 
Field Detail- 
processInstanceIdprotected java.lang.String processInstanceId 
 - 
businessKeyprotected java.lang.String businessKey 
 - 
businessKeyLikeprotected java.lang.String businessKeyLike 
 - 
processDefinitionIdprotected java.lang.String processDefinitionId 
 - 
processInstanceIdsprotected java.util.Set<java.lang.String> processInstanceIds 
 - 
processDefinitionKeyprotected java.lang.String processDefinitionKey 
 - 
processDefinitionKeysprotected java.lang.String[] processDefinitionKeys 
 - 
processDefinitionKeyNotInprotected java.lang.String[] processDefinitionKeyNotIn 
 - 
deploymentIdprotected java.lang.String deploymentId 
 - 
superProcessInstanceIdprotected java.lang.String superProcessInstanceId 
 - 
subProcessInstanceIdprotected java.lang.String subProcessInstanceId 
 - 
suspensionStateprotected SuspensionState suspensionState 
 - 
withIncidentprotected boolean withIncident 
 - 
incidentTypeprotected java.lang.String incidentType 
 - 
incidentIdprotected java.lang.String incidentId 
 - 
incidentMessageprotected java.lang.String incidentMessage 
 - 
incidentMessageLikeprotected java.lang.String incidentMessageLike 
 - 
caseInstanceIdprotected java.lang.String caseInstanceId 
 - 
superCaseInstanceIdprotected java.lang.String superCaseInstanceId 
 - 
subCaseInstanceIdprotected java.lang.String subCaseInstanceId 
 - 
activityIdsprotected java.lang.String[] activityIds 
 - 
isRootProcessInstancesprotected boolean isRootProcessInstances 
 - 
isLeafProcessInstancesprotected boolean isLeafProcessInstances 
 - 
isTenantIdSetprotected boolean isTenantIdSet 
 - 
tenantIdsprotected java.lang.String[] tenantIds 
 - 
isProcessDefinitionWithoutTenantIdprotected boolean isProcessDefinitionWithoutTenantId 
 - 
queriesprotected java.util.List<ProcessInstanceQueryImpl> queries 
 - 
isOrQueryActiveprotected boolean isOrQueryActive 
 
- 
 - 
Constructor Detail- 
ProcessInstanceQueryImplpublic ProcessInstanceQueryImpl() 
 - 
ProcessInstanceQueryImplpublic ProcessInstanceQueryImpl(CommandExecutor commandExecutor) 
 
- 
 - 
Method Detail- 
processInstanceIdpublic ProcessInstanceQueryImpl processInstanceId(java.lang.String processInstanceId) Description copied from interface:ProcessInstanceQuerySelect the process instance with the given id- Specified by:
- processInstanceIdin interface- ProcessInstanceQuery
 
 - 
processInstanceIdspublic ProcessInstanceQuery processInstanceIds(java.util.Set<java.lang.String> processInstanceIds) Description copied from interface:ProcessInstanceQuerySelect process instances whose id is in the given set of ids- Specified by:
- processInstanceIdsin interface- ProcessInstanceQuery
 
 - 
processInstanceBusinessKeypublic ProcessInstanceQuery processInstanceBusinessKey(java.lang.String businessKey) Description copied from interface:ProcessInstanceQuerySelect process instances with the given business key- Specified by:
- processInstanceBusinessKeyin interface- ProcessInstanceQuery
 
 - 
processInstanceBusinessKeypublic ProcessInstanceQuery processInstanceBusinessKey(java.lang.String businessKey, java.lang.String processDefinitionKey) Description copied from interface:ProcessInstanceQuerySelect process instance with the given business key, unique for the given process definition- Specified by:
- processInstanceBusinessKeyin interface- ProcessInstanceQuery
 
 - 
processInstanceBusinessKeyLikepublic ProcessInstanceQuery processInstanceBusinessKeyLike(java.lang.String businessKeyLike) Description copied from interface:ProcessInstanceQuerySelect process instances with a business key like the given value.- Specified by:
- processInstanceBusinessKeyLikein interface- ProcessInstanceQuery
- Parameters:
- businessKeyLike- The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
 
 - 
processDefinitionIdpublic ProcessInstanceQueryImpl processDefinitionId(java.lang.String processDefinitionId) Description copied from interface:ProcessInstanceQuerySelects the process instances which are defined by a process definition with the given id.- Specified by:
- processDefinitionIdin interface- ProcessInstanceQuery
 
 - 
processDefinitionKeypublic ProcessInstanceQueryImpl processDefinitionKey(java.lang.String processDefinitionKey) Description copied from interface:ProcessInstanceQuerySelect the process instances which are defined by a process definition with the given key.- Specified by:
- processDefinitionKeyin interface- ProcessInstanceQuery
 
 - 
processDefinitionKeyInpublic ProcessInstanceQuery processDefinitionKeyIn(java.lang.String... processDefinitionKeys) Description copied from interface:ProcessInstanceQuerySelect the process instances for any given process definition keys.- Specified by:
- processDefinitionKeyInin interface- ProcessInstanceQuery
 
 - 
processDefinitionKeyNotInpublic ProcessInstanceQuery processDefinitionKeyNotIn(java.lang.String... processDefinitionKeys) Description copied from interface:ProcessInstanceQuerySelect historic process instances that don't have a process-definition of which the key is present in the given list- Specified by:
- processDefinitionKeyNotInin interface- ProcessInstanceQuery
 
 - 
deploymentIdpublic ProcessInstanceQuery deploymentId(java.lang.String deploymentId) Description copied from interface:ProcessInstanceQuerySelects the process instances which belong to the given deployment id.- Specified by:
- deploymentIdin interface- ProcessInstanceQuery
 
 - 
superProcessInstanceIdpublic ProcessInstanceQuery superProcessInstanceId(java.lang.String superProcessInstanceId) Description copied from interface:ProcessInstanceQuerySelect the process instances which are a sub process instance of the given super process instance.- Specified by:
- superProcessInstanceIdin interface- ProcessInstanceQuery
 
 - 
subProcessInstanceIdpublic ProcessInstanceQuery subProcessInstanceId(java.lang.String subProcessInstanceId) Description copied from interface:ProcessInstanceQuerySelect the process instance that have as sub process instance the given process instance. Note that there will always be maximum only one such process instance that can be the result of this query.- Specified by:
- subProcessInstanceIdin interface- ProcessInstanceQuery
 
 - 
caseInstanceIdpublic ProcessInstanceQuery caseInstanceId(java.lang.String caseInstanceId) Description copied from interface:ProcessInstanceQuerySelects the process instances which are associated with the given case instance id.- Specified by:
- caseInstanceIdin interface- ProcessInstanceQuery
 
 - 
superCaseInstanceIdpublic ProcessInstanceQuery superCaseInstanceId(java.lang.String superCaseInstanceId) Description copied from interface:ProcessInstanceQuerySelect the process instances which are a sub process instance of the given super case instance.- Specified by:
- superCaseInstanceIdin interface- ProcessInstanceQuery
 
 - 
subCaseInstanceIdpublic ProcessInstanceQuery subCaseInstanceId(java.lang.String subCaseInstanceId) Description copied from interface:ProcessInstanceQuerySelect the process instance that has as sub case instance the given case instance. Note that there will always be at most one such process instance that can be the result of this query.- Specified by:
- subCaseInstanceIdin interface- ProcessInstanceQuery
 
 - 
orderByProcessInstanceIdpublic ProcessInstanceQuery orderByProcessInstanceId() Description copied from interface:ProcessInstanceQueryOrder by id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByProcessInstanceIdin interface- ProcessInstanceQuery
 
 - 
orderByProcessDefinitionIdpublic ProcessInstanceQuery orderByProcessDefinitionId() Description copied from interface:ProcessInstanceQueryOrder by process definition id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByProcessDefinitionIdin interface- ProcessInstanceQuery
 
 - 
orderByProcessDefinitionKeypublic ProcessInstanceQuery orderByProcessDefinitionKey() Description copied from interface:ProcessInstanceQueryOrder by process definition key (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByProcessDefinitionKeyin interface- ProcessInstanceQuery
 
 - 
orderByTenantIdpublic ProcessInstanceQuery orderByTenantId() Description copied from interface:ProcessInstanceQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()). Note that the ordering of process instances without tenant id is database-specific.- Specified by:
- orderByTenantIdin interface- ProcessInstanceQuery
 
 - 
orderByBusinessKeypublic ProcessInstanceQuery orderByBusinessKey() Description copied from interface:ProcessInstanceQueryOrder by the business key (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByBusinessKeyin interface- ProcessInstanceQuery
 
 - 
activepublic ProcessInstanceQuery active() Description copied from interface:ProcessInstanceQueryOnly selects process instances which are active, which means that neither the process instance nor the corresponding process definition are suspended.- Specified by:
- activein interface- ProcessInstanceQuery
 
 - 
suspendedpublic ProcessInstanceQuery suspended() Description copied from interface:ProcessInstanceQueryOnly selects process instances which are suspended, either because the process instance itself is suspended or because the corresponding process definition is suspended- Specified by:
- suspendedin interface- ProcessInstanceQuery
 
 - 
withIncidentpublic ProcessInstanceQuery withIncident() Description copied from interface:ProcessInstanceQueryOnly selects process instances with at least one incident.- Specified by:
- withIncidentin interface- ProcessInstanceQuery
 
 - 
incidentTypepublic ProcessInstanceQuery incidentType(java.lang.String incidentType) Description copied from interface:ProcessInstanceQueryOnly selects process instances with the given incident type.- Specified by:
- incidentTypein interface- ProcessInstanceQuery
 
 - 
incidentIdpublic ProcessInstanceQuery incidentId(java.lang.String incidentId) Description copied from interface:ProcessInstanceQueryOnly selects process instances with the given incident id.- Specified by:
- incidentIdin interface- ProcessInstanceQuery
 
 - 
incidentMessagepublic ProcessInstanceQuery incidentMessage(java.lang.String incidentMessage) Description copied from interface:ProcessInstanceQueryOnly selects process instances with the given incident message.- Specified by:
- incidentMessagein interface- ProcessInstanceQuery
 
 - 
incidentMessageLikepublic ProcessInstanceQuery incidentMessageLike(java.lang.String incidentMessageLike) Description copied from interface:ProcessInstanceQueryOnly selects process instances with an incident message like the given.- Specified by:
- incidentMessageLikein interface- ProcessInstanceQuery
 
 - 
tenantIdInpublic ProcessInstanceQuery tenantIdIn(java.lang.String... tenantIds) Description copied from interface:ProcessInstanceQueryOnly select process instances with one of the given tenant ids.- Specified by:
- tenantIdInin interface- ProcessInstanceQuery
 
 - 
withoutTenantIdpublic ProcessInstanceQuery withoutTenantId() Description copied from interface:ProcessInstanceQueryOnly selects process instances which have no tenant id.- Specified by:
- withoutTenantIdin interface- ProcessInstanceQuery
 
 - 
activityIdInpublic ProcessInstanceQuery activityIdIn(java.lang.String... activityIds) Description copied from interface:ProcessInstanceQueryOnly selects process instances with leaf activity instances or transition instances (async before, async after) in at least one of the given activity ids. Leaf instance means this filter works for instances of a user task is matched, but not the embedded sub process it is contained in. - Specified by:
- activityIdInin interface- ProcessInstanceQuery
 
 - 
rootProcessInstancespublic ProcessInstanceQuery rootProcessInstances() Description copied from interface:ProcessInstanceQueryOnly selects process instances which are top level process instances.- Specified by:
- rootProcessInstancesin interface- ProcessInstanceQuery
 
 - 
leafProcessInstancespublic ProcessInstanceQuery leafProcessInstances() Description copied from interface:ProcessInstanceQueryOnly selects process instances which don't have subprocesses and thus are leaves of the execution tree.- Specified by:
- leafProcessInstancesin interface- ProcessInstanceQuery
 
 - 
processDefinitionWithoutTenantIdpublic ProcessInstanceQuery processDefinitionWithoutTenantId() Description copied from interface:ProcessInstanceQueryOnly selects process instances which process definition has no tenant id.- Specified by:
- processDefinitionWithoutTenantIdin interface- ProcessInstanceQuery
 
 - 
checkQueryOkprotected void checkQueryOk() - Overrides:
- checkQueryOkin class- AbstractQuery<ProcessInstanceQuery,ProcessInstance>
 
 - 
executeCountpublic long executeCount(CommandContext commandContext) - Specified by:
- executeCountin class- AbstractVariableQueryImpl<ProcessInstanceQuery,ProcessInstance>
 
 - 
executeListpublic java.util.List<ProcessInstance> executeList(CommandContext commandContext, Page page) Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
- executeListin class- AbstractVariableQueryImpl<ProcessInstanceQuery,ProcessInstance>
- page- used if the results must be paged. If null, no paging will be applied.
 
 - 
executeIdsListpublic java.util.List<java.lang.String> executeIdsList(CommandContext commandContext) - Overrides:
- executeIdsListin class- AbstractQuery<ProcessInstanceQuery,ProcessInstance>
 
 - 
executeDeploymentIdMappingsListpublic java.util.List<ImmutablePair<java.lang.String,java.lang.String>> executeDeploymentIdMappingsList(CommandContext commandContext) - Overrides:
- executeDeploymentIdMappingsListin class- AbstractQuery<ProcessInstanceQuery,ProcessInstance>
 
 - 
ensureVariablesInitializedprotected void ensureVariablesInitialized() - Overrides:
- ensureVariablesInitializedin class- AbstractVariableQueryImpl<ProcessInstanceQuery,ProcessInstance>
 
 - 
getProcessInstanceIdpublic java.lang.String getProcessInstanceId() 
 - 
getProcessInstanceIdspublic java.util.Set<java.lang.String> getProcessInstanceIds() 
 - 
getQueriespublic java.util.List<ProcessInstanceQueryImpl> getQueries() 
 - 
addOrQuerypublic void addOrQuery(ProcessInstanceQueryImpl orQuery) 
 - 
setOrQueryActivepublic void setOrQueryActive() 
 - 
isOrQueryActivepublic boolean isOrQueryActive() 
 - 
getActivityIdspublic java.lang.String[] getActivityIds() 
 - 
getBusinessKeypublic java.lang.String getBusinessKey() 
 - 
getBusinessKeyLikepublic java.lang.String getBusinessKeyLike() 
 - 
getProcessDefinitionIdpublic java.lang.String getProcessDefinitionId() 
 - 
getProcessDefinitionKeypublic java.lang.String getProcessDefinitionKey() 
 - 
getProcessDefinitionKeyspublic java.lang.String[] getProcessDefinitionKeys() 
 - 
getProcessDefinitionKeyNotInpublic java.lang.String[] getProcessDefinitionKeyNotIn() 
 - 
getDeploymentIdpublic java.lang.String getDeploymentId() 
 - 
getSuperProcessInstanceIdpublic java.lang.String getSuperProcessInstanceId() 
 - 
getSubProcessInstanceIdpublic java.lang.String getSubProcessInstanceId() 
 - 
getSuspensionStatepublic SuspensionState getSuspensionState() 
 - 
setSuspensionStatepublic void setSuspensionState(SuspensionState suspensionState) 
 - 
isWithIncidentpublic boolean isWithIncident() 
 - 
getIncidentIdpublic java.lang.String getIncidentId() 
 - 
getIncidentTypepublic java.lang.String getIncidentType() 
 - 
getIncidentMessagepublic java.lang.String getIncidentMessage() 
 - 
getIncidentMessageLikepublic java.lang.String getIncidentMessageLike() 
 - 
getCaseInstanceIdpublic java.lang.String getCaseInstanceId() 
 - 
getSuperCaseInstanceIdpublic java.lang.String getSuperCaseInstanceId() 
 - 
getSubCaseInstanceIdpublic java.lang.String getSubCaseInstanceId() 
 - 
isTenantIdSetpublic boolean isTenantIdSet() 
 - 
isRootProcessInstancespublic boolean isRootProcessInstances() 
 - 
isProcessDefinitionWithoutTenantIdpublic boolean isProcessDefinitionWithoutTenantId() 
 - 
isLeafProcessInstancespublic boolean isLeafProcessInstances() 
 - 
getTenantIdspublic java.lang.String[] getTenantIds() 
 - 
orpublic ProcessInstanceQuery or() Description copied from interface:ProcessInstanceQueryAfter calling or(), a chain of several filter criteria could follow. Each filter criterion that follows or() will be linked together with an OR expression until the OR query is terminated. To terminate the OR query right after the last filter criterion was applied, ProcessInstanceQuery.endOr()must be invoked.- Specified by:
- orin interface- ProcessInstanceQuery
- Returns:
- an object of the type ProcessInstanceQueryon which an arbitrary amount of filter criteria could be applied. The several filter criteria will be linked together by an OR expression.
 
 - 
endOrpublic ProcessInstanceQuery endOr() Description copied from interface:ProcessInstanceQueryendOr() terminates an OR query on which an arbitrary amount of filter criteria were applied. To terminate the OR query which has been started by invoking ProcessInstanceQuery.or(), endOr() must be invoked. Filter criteria which are applied after calling endOr() are linked together by an AND expression.- Specified by:
- endOrin interface- ProcessInstanceQuery
- Returns:
- an object of the type ProcessInstanceQueryon which an arbitrary amount of filter criteria could be applied. The filter criteria will be linked together by an AND expression.
 
 
- 
 
-