Class HistoricProcessInstanceQueryImpl
- All Implemented Interfaces:
Serializable
,HistoricProcessInstanceQuery
,Command<Object>
,Query<HistoricProcessInstanceQuery,
HistoricProcessInstance>
- Author:
- Tom Baeyens, Falko Menge, Bernd Ruecker
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
-
Field Summary
Modifier and TypeFieldDescriptionprotected String[]
protected String[]
protected String
protected String[]
protected String
protected String
protected Date
protected Date
protected String[]
protected Date
protected Date
protected Date
protected Date
protected Date
protected Date
protected boolean
protected Date
protected Date
protected String[]
protected String
protected String
protected String
protected String
protected boolean
protected boolean
protected boolean
protected String
protected String
protected String[]
protected String
protected String
protected String
protected List<HistoricProcessInstanceQueryImpl>
protected Map<String,
Set<QueryVariableValue>> protected Date
protected Date
protected Date
protected Date
protected Date
protected Date
protected String
protected String
protected String
protected String
protected String
protected String
protected String[]
protected boolean
protected boolean
protected boolean
Fields inherited from class org.camunda.bpm.engine.impl.AbstractVariableQueryImpl
queryVariableValues, variableNamesIgnoreCase, variableValuesIgnoreCase
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactive()
Only select historic process instances that are active.activeActivityIdIn
(String... ids) Only select historic process instances that have active activities with given ids.activityIdIn
(String... ids) Only select historic process instances with an active activity with one of the given ids.void
protected void
addVariable
(String name, Object value, QueryOperator operator, boolean processInstanceScope) caseInstanceId
(String caseInstanceId) Only select historic process instances which are associated with the given case instance id.Only select historic process instances that are completed.endOr()
endOr() terminates an OR query on which an arbitrary amount of filter criteria were applied.protected void
long
executeCount
(CommandContext commandContext) executedActivityAfter
(Date date) Only select historic process instances that executed an activity after the given date.executedActivityBefore
(Date date) Only select historic process instances that executed an activity before the given date.executedActivityIdIn
(String... ids) Only select historic process instances that executed activities with given ids.executeDeploymentIdMappingsList
(CommandContext commandContext) executedJobAfter
(Date date) Only select historic process instances that executed an job after the given date.executedJobBefore
(Date date) Only select historic process instances that executed an job before the given date.executeIdsList
(CommandContext commandContext) executeList
(CommandContext commandContext, Page page) Executes the actual query to retrieve the list of results.Only select historic process instances that are externallyTerminated.finishDateBy
(Date date) Deprecated.finishDateOn
(Date date) Deprecated.finished()
Only select historic process instances that are completely finished.finishedAfter
(Date date) Only select historic process instances that were started after the given date.finishedBefore
(Date date) Only select historic process instances that were started before the given date.String[]
String[]
String[]
String[]
String[]
boolean
String[]
getState()
String[]
protected boolean
Whether or not the query has excluding conditions.incidentIdIn
(String... incidentIds) Only select historic process instances that have incidents with given ids.incidentMessage
(String incidentMessage) Only select historic process instances with the given incident message.incidentMessageLike
(String incidentMessageLike) Only select historic process instances which had an incident message like the given value.incidentStatus
(String status) Only select historic process instances with incident status either 'open' or 'resolved'.incidentType
(String incidentType) Only selects process instances with the given incident type.Only select historic process instances that are internallyTerminated.boolean
boolean
isOpen()
boolean
boolean
boolean
boolean
boolean
boolean
or()
After calling or(), a chain of several filter criteria could follow.Order by the process definition id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the process definition key (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the process definition name (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the process definition version (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the business key (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the duration of the process instance (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the end time (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the process instance id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the start time (needs to be followed byQuery.asc()
orQuery.desc()
).Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).processDefinitionId
(String processDefinitionId) Only select historic process instances for the given process definitionprocessDefinitionKey
(String processDefinitionKey) Only select historic process instances that are defined by a process definition with the given key.processDefinitionKeyIn
(String... processDefinitionKeys) Only select historic process instances that are defined by any given process definition key.processDefinitionKeyNotIn
(List<String> processDefinitionKeys) Only select historic process instances that don't have a process-definition of which the key is present in the given listprocessDefinitionName
(String processDefinitionName) Only select historic process instances that are defined by a process definition with the given name.processDefinitionNameLike
(String nameLike) Only select historic process instances that are defined by process definition which name is like the given value.processInstanceBusinessKey
(String businessKey) Only select historic process instances with the given business keyprocessInstanceBusinessKeyIn
(String... businessKeyIn) Only select historic process instances whose business key is in the given set.processInstanceBusinessKeyLike
(String businessKeyLike) Only select historic process instances which had a business key like the given value.processInstanceId
(String processInstanceId) Only select historic process instances with the given process instance.processInstanceIds
(Set<String> processInstanceIds) Only select historic process instances whose id is in the given set of ids.Only select historic process instances that are top level process instances.void
void
setSuperProcessInstanceId
(String superProcessInstanceId) startDateBy
(Date date) Deprecated.startDateOn
(Date date) Deprecated.startedAfter
(Date date) Only select historic process instances that were started after the given date.startedBefore
(Date date) Only select historic process instances that were started before the given date.Only select historic process instance that are started by the given user.subCaseInstanceId
(String subCaseInstanceId) Only select historic process instances having a sub case instance with the given case instance id.subProcessInstanceId
(String subProcessInstanceId) Only select historic process instances having a sub process instance with the given process instance id.superCaseInstanceId
(String superCaseInstanceId) Only select historic process instances started by the given case instance.superProcessInstanceId
(String superProcessInstanceId) Only select historic process instances started by the given process instance.Only select historic process instances that are suspended.tenantIdIn
(String... tenantIds) Only select historic process instances with one of the given tenant ids.Only select historic process instance that are not yet finished.Only select historic process instances with incidentsOnly selects historic process instances which have no tenant id.Only select historic process instances with root incidentsMethods inherited from class org.camunda.bpm.engine.impl.AbstractVariableQueryImpl
createQueryVariableValue, isVariableNamesIgnoreCase, isVariableValuesIgnoreCase, matchVariableNamesIgnoreCase, matchVariableValuesIgnoreCase, validateVariable, variableValueEquals, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEquals, variableValueNotLike
Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery
addExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeResult, executeSingleResult, extend, getExpressions, getMethod, 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.ListQueryParameterObject
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
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.history.HistoricProcessInstanceQuery
matchVariableNamesIgnoreCase, matchVariableValuesIgnoreCase, variableValueEquals, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEquals
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Field Details
-
processInstanceId
-
processDefinitionId
-
processDefinitionName
-
processDefinitionNameLike
-
businessKey
-
businessKeyIn
-
businessKeyLike
-
finished
protected boolean finished -
unfinished
protected boolean unfinished -
withIncidents
protected boolean withIncidents -
withRootIncidents
protected boolean withRootIncidents -
incidentType
-
incidentStatus
-
incidentMessage
-
incidentMessageLike
-
startedBy
-
isRootProcessInstances
protected boolean isRootProcessInstances -
superProcessInstanceId
-
subProcessInstanceId
-
superCaseInstanceId
-
subCaseInstanceId
-
processKeyNotIn
-
startedBefore
-
startedAfter
-
finishedBefore
-
finishedAfter
-
executedActivityAfter
-
executedActivityBefore
-
executedJobAfter
-
executedJobBefore
-
processDefinitionKey
-
processDefinitionKeys
-
processInstanceIds
-
tenantIds
-
isTenantIdSet
protected boolean isTenantIdSet -
executedActivityIds
-
activeActivityIds
-
activityIds
-
state
-
incidentIds
-
caseInstanceId
-
queries
-
isOrQueryActive
protected boolean isOrQueryActive -
queryVariableNameToValuesMap
-
startDateBy
-
startDateOn
-
finishDateBy
-
finishDateOn
-
startDateOnBegin
-
startDateOnEnd
-
finishDateOnBegin
-
finishDateOnEnd
-
-
Constructor Details
-
HistoricProcessInstanceQueryImpl
public HistoricProcessInstanceQueryImpl() -
HistoricProcessInstanceQueryImpl
-
-
Method Details
-
processInstanceId
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances with the given process instance. {@link ProcessInstance) ids and {@link HistoricProcessInstance} ids match.- Specified by:
processInstanceId
in interfaceHistoricProcessInstanceQuery
-
processInstanceIds
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances whose id is in the given set of ids. {@link ProcessInstance) ids and {@link HistoricProcessInstance} ids match.- Specified by:
processInstanceIds
in interfaceHistoricProcessInstanceQuery
-
processDefinitionId
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances for the given process definition- Specified by:
processDefinitionId
in interfaceHistoricProcessInstanceQuery
-
processDefinitionKey
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that are defined by a process definition with the given key.- Specified by:
processDefinitionKey
in interfaceHistoricProcessInstanceQuery
-
processDefinitionKeyIn
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that are defined by any given process definition key.- Specified by:
processDefinitionKeyIn
in interfaceHistoricProcessInstanceQuery
-
processDefinitionName
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that are defined by a process definition with the given name.- Specified by:
processDefinitionName
in interfaceHistoricProcessInstanceQuery
-
processDefinitionNameLike
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that are defined by process definition which name is like the given value.- Specified by:
processDefinitionNameLike
in interfaceHistoricProcessInstanceQuery
- Parameters:
nameLike
- The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
processInstanceBusinessKey
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances with the given business key- Specified by:
processInstanceBusinessKey
in interfaceHistoricProcessInstanceQuery
-
processInstanceBusinessKeyIn
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances whose business key is in the given set.- Specified by:
processInstanceBusinessKeyIn
in interfaceHistoricProcessInstanceQuery
-
processInstanceBusinessKeyLike
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances which had a business key like the given value.- Specified by:
processInstanceBusinessKeyLike
in interfaceHistoricProcessInstanceQuery
- Parameters:
businessKeyLike
- The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
finished
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that are completely finished.- Specified by:
finished
in interfaceHistoricProcessInstanceQuery
-
unfinished
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instance that are not yet finished.- Specified by:
unfinished
in interfaceHistoricProcessInstanceQuery
-
withIncidents
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances with incidents- Specified by:
withIncidents
in interfaceHistoricProcessInstanceQuery
- Returns:
- HistoricProcessInstanceQuery
-
withRootIncidents
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances with root incidents- Specified by:
withRootIncidents
in interfaceHistoricProcessInstanceQuery
- Returns:
- HistoricProcessInstanceQuery
-
incidentIdIn
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that have incidents with given ids.- Specified by:
incidentIdIn
in interfaceHistoricProcessInstanceQuery
-
incidentType
Description copied from interface:HistoricProcessInstanceQuery
Only selects process instances with the given incident type.- Specified by:
incidentType
in interfaceHistoricProcessInstanceQuery
-
incidentStatus
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances with incident status either 'open' or 'resolved'. To get all process instances with incidents, useHistoricProcessInstanceQuery.withIncidents()
.- Specified by:
incidentStatus
in interfaceHistoricProcessInstanceQuery
- Parameters:
status
- indicates the incident status, which is either 'open' or 'resolved'- Returns:
HistoricProcessInstanceQuery
-
incidentMessage
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances with the given incident message.- Specified by:
incidentMessage
in interfaceHistoricProcessInstanceQuery
- Parameters:
incidentMessage
- Incidents Message for which the historic process instances should be selected- Returns:
- HistoricProcessInstanceQuery
-
incidentMessageLike
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances which had an incident message like the given value.- Specified by:
incidentMessageLike
in interfaceHistoricProcessInstanceQuery
- Parameters:
incidentMessageLike
- The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).- Returns:
- HistoricProcessInstanceQuery
-
startedBy
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instance that are started by the given user.- Specified by:
startedBy
in interfaceHistoricProcessInstanceQuery
-
processDefinitionKeyNotIn
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that don't have a process-definition of which the key is present in the given list- Specified by:
processDefinitionKeyNotIn
in interfaceHistoricProcessInstanceQuery
-
startedAfter
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that were started after the given date.- Specified by:
startedAfter
in interfaceHistoricProcessInstanceQuery
-
startedBefore
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that were started before the given date.- Specified by:
startedBefore
in interfaceHistoricProcessInstanceQuery
-
finishedAfter
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that were started after the given date.- Specified by:
finishedAfter
in interfaceHistoricProcessInstanceQuery
-
finishedBefore
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that were started before the given date.- Specified by:
finishedBefore
in interfaceHistoricProcessInstanceQuery
-
rootProcessInstances
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that are top level process instances.- Specified by:
rootProcessInstances
in interfaceHistoricProcessInstanceQuery
-
superProcessInstanceId
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances started by the given process instance. {@link ProcessInstance) ids and {@link HistoricProcessInstance} ids match.- Specified by:
superProcessInstanceId
in interfaceHistoricProcessInstanceQuery
-
subProcessInstanceId
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances having a sub process instance with the given process instance id.Note that there will always be maximum only one such process instance that can be the result of this query.
- Specified by:
subProcessInstanceId
in interfaceHistoricProcessInstanceQuery
-
superCaseInstanceId
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances started by the given case instance.- Specified by:
superCaseInstanceId
in interfaceHistoricProcessInstanceQuery
-
subCaseInstanceId
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances having a sub case instance with the given case instance id.Note that there will always be maximum only one such process instance that can be the result of this query.
- Specified by:
subCaseInstanceId
in interfaceHistoricProcessInstanceQuery
-
caseInstanceId
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances which are associated with the given case instance id.- Specified by:
caseInstanceId
in interfaceHistoricProcessInstanceQuery
-
tenantIdIn
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances with one of the given tenant ids.- Specified by:
tenantIdIn
in interfaceHistoricProcessInstanceQuery
-
withoutTenantId
Description copied from interface:HistoricProcessInstanceQuery
Only selects historic process instances which have no tenant id.- Specified by:
withoutTenantId
in interfaceHistoricProcessInstanceQuery
-
hasExcludingConditions
protected boolean hasExcludingConditions()Description copied from class:AbstractQuery
Whether or not the query has excluding conditions. If the query has excluding conditions, (e.g. task due date before and after are excluding), the SQL query is avoided and a default result is returned. The returned result is the same as if the SQL was executed and there were no entries.- Overrides:
hasExcludingConditions
in classAbstractQuery<HistoricProcessInstanceQuery,
HistoricProcessInstance> - Returns:
true
if the query does have excluding conditions,false
otherwise
-
orderByProcessInstanceBusinessKey
Description copied from interface:HistoricProcessInstanceQuery
Order by the business key (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessInstanceBusinessKey
in interfaceHistoricProcessInstanceQuery
-
orderByProcessInstanceDuration
Description copied from interface:HistoricProcessInstanceQuery
Order by the duration of the process instance (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessInstanceDuration
in interfaceHistoricProcessInstanceQuery
-
orderByProcessInstanceStartTime
Description copied from interface:HistoricProcessInstanceQuery
Order by the start time (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessInstanceStartTime
in interfaceHistoricProcessInstanceQuery
-
orderByProcessInstanceEndTime
Description copied from interface:HistoricProcessInstanceQuery
Order by the end time (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessInstanceEndTime
in interfaceHistoricProcessInstanceQuery
-
orderByProcessDefinitionId
Description copied from interface:HistoricProcessInstanceQuery
Order by the process definition id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessDefinitionId
in interfaceHistoricProcessInstanceQuery
-
orderByProcessDefinitionKey
Description copied from interface:HistoricProcessInstanceQuery
Order by the process definition key (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessDefinitionKey
in interfaceHistoricProcessInstanceQuery
-
orderByProcessDefinitionName
Description copied from interface:HistoricProcessInstanceQuery
Order by the process definition name (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessDefinitionName
in interfaceHistoricProcessInstanceQuery
-
orderByProcessDefinitionVersion
Description copied from interface:HistoricProcessInstanceQuery
Order by the process definition version (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessDefinitionVersion
in interfaceHistoricProcessInstanceQuery
-
orderByProcessInstanceId
Description copied from interface:HistoricProcessInstanceQuery
Order by the process instance id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessInstanceId
in interfaceHistoricProcessInstanceQuery
-
orderByTenantId
Description copied from interface:HistoricProcessInstanceQuery
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
). Note that the ordering of historic process instances without tenant id is database-specific.- Specified by:
orderByTenantId
in interfaceHistoricProcessInstanceQuery
-
executeCount
- Specified by:
executeCount
in classAbstractVariableQueryImpl<HistoricProcessInstanceQuery,
HistoricProcessInstance>
-
executeList
Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractVariableQueryImpl<HistoricProcessInstanceQuery,
HistoricProcessInstance> page
- used if the results must be paged. If null, no paging will be applied.
-
executeIdsList
- Overrides:
executeIdsList
in classAbstractQuery<HistoricProcessInstanceQuery,
HistoricProcessInstance>
-
executeDeploymentIdMappingsList
public List<ImmutablePair<String,String>> executeDeploymentIdMappingsList(CommandContext commandContext) - Overrides:
executeDeploymentIdMappingsList
in classAbstractQuery<HistoricProcessInstanceQuery,
HistoricProcessInstance>
-
getQueryVariableValues
-
getQueryVariableNameToValuesMap
-
ensureVariablesInitialized
protected void ensureVariablesInitialized() -
addVariable
protected void addVariable(String name, Object value, QueryOperator operator, boolean processInstanceScope) - Overrides:
addVariable
in classAbstractVariableQueryImpl<HistoricProcessInstanceQuery,
HistoricProcessInstance>
-
getQueries
-
addOrQuery
-
setOrQueryActive
public void setOrQueryActive() -
isOrQueryActive
public boolean isOrQueryActive() -
getActiveActivityIds
-
getActivityIds
-
getBusinessKey
-
getBusinessKeyIn
-
getBusinessKeyLike
-
getExecutedActivityIds
-
getExecutedActivityAfter
-
getExecutedActivityBefore
-
getExecutedJobAfter
-
getExecutedJobBefore
-
isOpen
public boolean isOpen() -
isUnfinished
public boolean isUnfinished() -
isFinished
public boolean isFinished() -
getProcessDefinitionId
-
getProcessDefinitionKey
-
getProcessDefinitionKeys
-
getProcessDefinitionIdLike
-
getProcessDefinitionName
-
getProcessDefinitionNameLike
-
getProcessInstanceId
-
getProcessInstanceIds
-
getStartedBy
-
getSuperProcessInstanceId
-
setSuperProcessInstanceId
-
getProcessKeyNotIn
-
getStartedAfter
-
getStartedBefore
-
getFinishedAfter
-
getFinishedBefore
-
getCaseInstanceId
-
getIncidentType
-
getIncidentMessage
-
getIncidentMessageLike
-
getIncidentStatus
-
getState
-
getFinishDateBy
-
getStartDateBy
-
getStartDateOn
-
getStartDateOnBegin
-
getStartDateOnEnd
-
getFinishDateOn
-
getFinishDateOnBegin
-
getFinishDateOnEnd
-
isTenantIdSet
public boolean isTenantIdSet() -
getIsTenantIdSet
public boolean getIsTenantIdSet() -
isWithIncidents
public boolean isWithIncidents() -
isWithRootIncidents
public boolean isWithRootIncidents() -
startDateBy
Deprecated.Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that were started as of the provided date. (Date will be adjusted to reflect midnight)- Specified by:
startDateBy
in interfaceHistoricProcessInstanceQuery
-
startDateOn
Deprecated.Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that were started on the provided date.- Specified by:
startDateOn
in interfaceHistoricProcessInstanceQuery
-
finishDateBy
Deprecated.Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that were finished as of the provided date. (Date will be adjusted to reflect one second before midnight)- Specified by:
finishDateBy
in interfaceHistoricProcessInstanceQuery
-
finishDateOn
Deprecated.Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that were finished on provided date.- Specified by:
finishDateOn
in interfaceHistoricProcessInstanceQuery
-
isRootProcessInstances
public boolean isRootProcessInstances() -
getSubProcessInstanceId
-
getSuperCaseInstanceId
-
getSubCaseInstanceId
-
getTenantIds
-
getIncidentIds
-
executedActivityAfter
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that executed an activity after the given date.- Specified by:
executedActivityAfter
in interfaceHistoricProcessInstanceQuery
-
executedActivityBefore
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that executed an activity before the given date.- Specified by:
executedActivityBefore
in interfaceHistoricProcessInstanceQuery
-
executedJobAfter
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that executed an job after the given date.- Specified by:
executedJobAfter
in interfaceHistoricProcessInstanceQuery
-
executedJobBefore
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that executed an job before the given date.- Specified by:
executedJobBefore
in interfaceHistoricProcessInstanceQuery
-
executedActivityIdIn
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that executed activities with given ids.- Specified by:
executedActivityIdIn
in interfaceHistoricProcessInstanceQuery
-
activeActivityIdIn
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that have active activities with given ids.- Specified by:
activeActivityIdIn
in interfaceHistoricProcessInstanceQuery
-
activityIdIn
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances with an active activity with one of the given ids. In contrast to the `activeActivityIdIn` filter, it can query for async and incident activities.- Specified by:
activityIdIn
in interfaceHistoricProcessInstanceQuery
-
active
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that are active.- Specified by:
active
in interfaceHistoricProcessInstanceQuery
-
suspended
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that are suspended.- Specified by:
suspended
in interfaceHistoricProcessInstanceQuery
-
completed
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that are completed.- Specified by:
completed
in interfaceHistoricProcessInstanceQuery
-
externallyTerminated
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that are externallyTerminated.- Specified by:
externallyTerminated
in interfaceHistoricProcessInstanceQuery
-
internallyTerminated
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that are internallyTerminated.- Specified by:
internallyTerminated
in interfaceHistoricProcessInstanceQuery
-
or
Description copied from interface:HistoricProcessInstanceQuery
After 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,
HistoricProcessInstanceQuery.endOr()
must be invoked.- Specified by:
or
in interfaceHistoricProcessInstanceQuery
- Returns:
- an object of the type
HistoricProcessInstanceQuery
on which an arbitrary amount of filter criteria could be applied. The several filter criteria will be linked together by an OR expression.
-
endOr
Description copied from interface:HistoricProcessInstanceQuery
endOr() 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
HistoricProcessInstanceQuery.or()
, endOr() must be invoked. Filter criteria which are applied after calling endOr() are linked together by an AND expression.- Specified by:
endOr
in interfaceHistoricProcessInstanceQuery
- Returns:
- an object of the type
HistoricProcessInstanceQuery
on which an arbitrary amount of filter criteria could be applied. The filter criteria will be linked together by an AND expression.
-