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
FieldsModifier and TypeFieldDescriptionprotected String[]protected String[]protected Stringprotected String[]protected Stringprotected Stringprotected Dateprotected Dateprotected String[]protected Dateprotected Dateprotected Dateprotected Dateprotected Dateprotected Dateprotected booleanprotected Dateprotected Dateprotected String[]protected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected booleanprotected booleanprotected Stringprotected Stringprotected String[]protected Stringprotected Stringprotected Stringprotected List<HistoricProcessInstanceQueryImpl>protected Map<String,Set<QueryVariableValue>> protected Dateprotected Dateprotected Dateprotected Dateprotected Dateprotected Dateprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected String[]protected booleanprotected booleanprotected booleanFields inherited from class org.camunda.bpm.engine.impl.AbstractVariableQueryImpl
queryVariableValues, variableNamesIgnoreCase, variableValuesIgnoreCaseFields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsFields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck -
Constructor Summary
Constructors -
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.voidprotected voidaddVariable(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 voidlongexecuteCount(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[]booleanString[]getState()String[]protected booleanWhether 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.booleanbooleanisOpen()booleanbooleanbooleanbooleanbooleanbooleanor()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.voidvoidsetSuperProcessInstanceId(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, variableValueNotLikeMethods 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, validateMethods 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, setTenantCheckMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.history.HistoricProcessInstanceQuery
matchVariableNamesIgnoreCase, matchVariableValuesIgnoreCase, variableValueEquals, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEqualsMethods 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:HistoricProcessInstanceQueryOnly select historic process instances with the given process instance. {@link ProcessInstance) ids and {@link HistoricProcessInstance} ids match.- Specified by:
processInstanceIdin interfaceHistoricProcessInstanceQuery
-
processInstanceIds
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances whose id is in the given set of ids. {@link ProcessInstance) ids and {@link HistoricProcessInstance} ids match.- Specified by:
processInstanceIdsin interfaceHistoricProcessInstanceQuery
-
processDefinitionId
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances for the given process definition- Specified by:
processDefinitionIdin interfaceHistoricProcessInstanceQuery
-
processDefinitionKey
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that are defined by a process definition with the given key.- Specified by:
processDefinitionKeyin interfaceHistoricProcessInstanceQuery
-
processDefinitionKeyIn
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that are defined by any given process definition key.- Specified by:
processDefinitionKeyInin interfaceHistoricProcessInstanceQuery
-
processDefinitionName
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that are defined by a process definition with the given name.- Specified by:
processDefinitionNamein interfaceHistoricProcessInstanceQuery
-
processDefinitionNameLike
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that are defined by process definition which name is like the given value.- Specified by:
processDefinitionNameLikein 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:HistoricProcessInstanceQueryOnly select historic process instances with the given business key- Specified by:
processInstanceBusinessKeyin interfaceHistoricProcessInstanceQuery
-
processInstanceBusinessKeyIn
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances whose business key is in the given set.- Specified by:
processInstanceBusinessKeyInin interfaceHistoricProcessInstanceQuery
-
processInstanceBusinessKeyLike
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances which had a business key like the given value.- Specified by:
processInstanceBusinessKeyLikein 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:HistoricProcessInstanceQueryOnly select historic process instances that are completely finished.- Specified by:
finishedin interfaceHistoricProcessInstanceQuery
-
unfinished
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instance that are not yet finished.- Specified by:
unfinishedin interfaceHistoricProcessInstanceQuery
-
withIncidents
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances with incidents- Specified by:
withIncidentsin interfaceHistoricProcessInstanceQuery- Returns:
- HistoricProcessInstanceQuery
-
withRootIncidents
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances with root incidents- Specified by:
withRootIncidentsin interfaceHistoricProcessInstanceQuery- Returns:
- HistoricProcessInstanceQuery
-
incidentIdIn
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that have incidents with given ids.- Specified by:
incidentIdInin interfaceHistoricProcessInstanceQuery
-
incidentType
Description copied from interface:HistoricProcessInstanceQueryOnly selects process instances with the given incident type.- Specified by:
incidentTypein interfaceHistoricProcessInstanceQuery
-
incidentStatus
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances with incident status either 'open' or 'resolved'. To get all process instances with incidents, useHistoricProcessInstanceQuery.withIncidents().- Specified by:
incidentStatusin interfaceHistoricProcessInstanceQuery- Parameters:
status- indicates the incident status, which is either 'open' or 'resolved'- Returns:
HistoricProcessInstanceQuery
-
incidentMessage
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances with the given incident message.- Specified by:
incidentMessagein interfaceHistoricProcessInstanceQuery- Parameters:
incidentMessage- Incidents Message for which the historic process instances should be selected- Returns:
- HistoricProcessInstanceQuery
-
incidentMessageLike
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances which had an incident message like the given value.- Specified by:
incidentMessageLikein 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:HistoricProcessInstanceQueryOnly select historic process instance that are started by the given user.- Specified by:
startedByin interfaceHistoricProcessInstanceQuery
-
processDefinitionKeyNotIn
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that don't have a process-definition of which the key is present in the given list- Specified by:
processDefinitionKeyNotInin interfaceHistoricProcessInstanceQuery
-
startedAfter
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that were started after the given date.- Specified by:
startedAfterin interfaceHistoricProcessInstanceQuery
-
startedBefore
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that were started before the given date.- Specified by:
startedBeforein interfaceHistoricProcessInstanceQuery
-
finishedAfter
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that were started after the given date.- Specified by:
finishedAfterin interfaceHistoricProcessInstanceQuery
-
finishedBefore
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that were started before the given date.- Specified by:
finishedBeforein interfaceHistoricProcessInstanceQuery
-
rootProcessInstances
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that are top level process instances.- Specified by:
rootProcessInstancesin interfaceHistoricProcessInstanceQuery
-
superProcessInstanceId
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances started by the given process instance. {@link ProcessInstance) ids and {@link HistoricProcessInstance} ids match.- Specified by:
superProcessInstanceIdin interfaceHistoricProcessInstanceQuery
-
subProcessInstanceId
Description copied from interface:HistoricProcessInstanceQueryOnly 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:
subProcessInstanceIdin interfaceHistoricProcessInstanceQuery
-
superCaseInstanceId
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances started by the given case instance.- Specified by:
superCaseInstanceIdin interfaceHistoricProcessInstanceQuery
-
subCaseInstanceId
Description copied from interface:HistoricProcessInstanceQueryOnly 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:
subCaseInstanceIdin interfaceHistoricProcessInstanceQuery
-
caseInstanceId
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances which are associated with the given case instance id.- Specified by:
caseInstanceIdin interfaceHistoricProcessInstanceQuery
-
tenantIdIn
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances with one of the given tenant ids.- Specified by:
tenantIdInin interfaceHistoricProcessInstanceQuery
-
withoutTenantId
Description copied from interface:HistoricProcessInstanceQueryOnly selects historic process instances which have no tenant id.- Specified by:
withoutTenantIdin interfaceHistoricProcessInstanceQuery
-
hasExcludingConditions
protected boolean hasExcludingConditions()Description copied from class:AbstractQueryWhether 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:
hasExcludingConditionsin classAbstractQuery<HistoricProcessInstanceQuery,HistoricProcessInstance> - Returns:
trueif the query does have excluding conditions,falseotherwise
-
orderByProcessInstanceBusinessKey
Description copied from interface:HistoricProcessInstanceQueryOrder by the business key (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceBusinessKeyin interfaceHistoricProcessInstanceQuery
-
orderByProcessInstanceDuration
Description copied from interface:HistoricProcessInstanceQueryOrder by the duration of the process instance (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceDurationin interfaceHistoricProcessInstanceQuery
-
orderByProcessInstanceStartTime
Description copied from interface:HistoricProcessInstanceQueryOrder by the start time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceStartTimein interfaceHistoricProcessInstanceQuery
-
orderByProcessInstanceEndTime
Description copied from interface:HistoricProcessInstanceQueryOrder by the end time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceEndTimein interfaceHistoricProcessInstanceQuery
-
orderByProcessDefinitionId
Description copied from interface:HistoricProcessInstanceQueryOrder by the process definition id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessDefinitionIdin interfaceHistoricProcessInstanceQuery
-
orderByProcessDefinitionKey
Description copied from interface:HistoricProcessInstanceQueryOrder by the process definition key (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessDefinitionKeyin interfaceHistoricProcessInstanceQuery
-
orderByProcessDefinitionName
Description copied from interface:HistoricProcessInstanceQueryOrder by the process definition name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessDefinitionNamein interfaceHistoricProcessInstanceQuery
-
orderByProcessDefinitionVersion
Description copied from interface:HistoricProcessInstanceQueryOrder by the process definition version (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessDefinitionVersionin interfaceHistoricProcessInstanceQuery
-
orderByProcessInstanceId
Description copied from interface:HistoricProcessInstanceQueryOrder by the process instance id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceIdin interfaceHistoricProcessInstanceQuery
-
orderByTenantId
Description copied from interface:HistoricProcessInstanceQueryOrder 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:
orderByTenantIdin interfaceHistoricProcessInstanceQuery
-
executeCount
- Specified by:
executeCountin classAbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance> page- used if the results must be paged. If null, no paging will be applied.
-
executeIdsList
- Overrides:
executeIdsListin classAbstractQuery<HistoricProcessInstanceQuery,HistoricProcessInstance>
-
executeDeploymentIdMappingsList
public List<ImmutablePair<String,String>> executeDeploymentIdMappingsList(CommandContext commandContext) - Overrides:
executeDeploymentIdMappingsListin classAbstractQuery<HistoricProcessInstanceQuery,HistoricProcessInstance>
-
getQueryVariableValues
-
getQueryVariableNameToValuesMap
-
ensureVariablesInitialized
protected void ensureVariablesInitialized() -
addVariable
protected void addVariable(String name, Object value, QueryOperator operator, boolean processInstanceScope) - Overrides:
addVariablein 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:HistoricProcessInstanceQueryOnly select historic process instances that were started as of the provided date. (Date will be adjusted to reflect midnight)- Specified by:
startDateByin interfaceHistoricProcessInstanceQuery
-
startDateOn
Deprecated.Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that were started on the provided date.- Specified by:
startDateOnin interfaceHistoricProcessInstanceQuery
-
finishDateBy
Deprecated.Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that were finished as of the provided date. (Date will be adjusted to reflect one second before midnight)- Specified by:
finishDateByin interfaceHistoricProcessInstanceQuery
-
finishDateOn
Deprecated.Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that were finished on provided date.- Specified by:
finishDateOnin interfaceHistoricProcessInstanceQuery
-
isRootProcessInstances
public boolean isRootProcessInstances() -
getSubProcessInstanceId
-
getSuperCaseInstanceId
-
getSubCaseInstanceId
-
getTenantIds
-
getIncidentIds
-
executedActivityAfter
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that executed an activity after the given date.- Specified by:
executedActivityAfterin interfaceHistoricProcessInstanceQuery
-
executedActivityBefore
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that executed an activity before the given date.- Specified by:
executedActivityBeforein interfaceHistoricProcessInstanceQuery
-
executedJobAfter
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that executed an job after the given date.- Specified by:
executedJobAfterin interfaceHistoricProcessInstanceQuery
-
executedJobBefore
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that executed an job before the given date.- Specified by:
executedJobBeforein interfaceHistoricProcessInstanceQuery
-
executedActivityIdIn
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that executed activities with given ids.- Specified by:
executedActivityIdInin interfaceHistoricProcessInstanceQuery
-
activeActivityIdIn
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that have active activities with given ids.- Specified by:
activeActivityIdInin interfaceHistoricProcessInstanceQuery
-
activityIdIn
Description copied from interface:HistoricProcessInstanceQueryOnly 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:
activityIdInin interfaceHistoricProcessInstanceQuery
-
active
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that are active.- Specified by:
activein interfaceHistoricProcessInstanceQuery
-
suspended
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that are suspended.- Specified by:
suspendedin interfaceHistoricProcessInstanceQuery
-
completed
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that are completed.- Specified by:
completedin interfaceHistoricProcessInstanceQuery
-
externallyTerminated
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that are externallyTerminated.- Specified by:
externallyTerminatedin interfaceHistoricProcessInstanceQuery
-
internallyTerminated
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that are internallyTerminated.- Specified by:
internallyTerminatedin interfaceHistoricProcessInstanceQuery
-
or
Description copied from interface:HistoricProcessInstanceQueryAfter 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:
orin interfaceHistoricProcessInstanceQuery- Returns:
- an object of the type
HistoricProcessInstanceQueryon 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:HistoricProcessInstanceQueryendOr() 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:
endOrin interfaceHistoricProcessInstanceQuery- Returns:
- an object of the type
HistoricProcessInstanceQueryon which an arbitrary amount of filter criteria could be applied. The filter criteria will be linked together by an AND expression.
-