public class HistoricProcessInstanceQueryImpl extends AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance> implements HistoricProcessInstanceQuery
AbstractQuery.ResultType
queryVariableValues, variableNamesIgnoreCase, variableValuesIgnoreCase
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
Constructor and Description |
---|
HistoricProcessInstanceQueryImpl() |
HistoricProcessInstanceQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
HistoricProcessInstanceQuery |
active()
Only select historic process instances that are active.
|
HistoricProcessInstanceQuery |
activeActivityIdIn(String... ids)
Only select historic process instances that have active activities with given ids.
|
void |
addOrQuery(HistoricProcessInstanceQueryImpl orQuery) |
HistoricProcessInstanceQuery |
caseInstanceId(String caseInstanceId)
Only select historic process instances which are associated with the given case instance id.
|
HistoricProcessInstanceQuery |
completed()
Only select historic process instances that are completed.
|
HistoricProcessInstanceQuery |
endOr()
endOr() terminates an OR query on which an arbitrary amount of filter criteria were applied.
|
protected void |
ensureVariablesInitialized() |
long |
executeCount(CommandContext commandContext) |
HistoricProcessInstanceQuery |
executedActivityAfter(Date date)
Only select historic process instances that executed an activity after the given date.
|
HistoricProcessInstanceQuery |
executedActivityBefore(Date date)
Only select historic process instances that executed an activity before the given date.
|
HistoricProcessInstanceQuery |
executedActivityIdIn(String... ids)
Only select historic process instances that executed activities with given ids.
|
HistoricProcessInstanceQuery |
executedJobAfter(Date date)
Only select historic process instances that executed an job after the given date.
|
HistoricProcessInstanceQuery |
executedJobBefore(Date date)
Only select historic process instances that executed an job before the given date.
|
List<String> |
executeIdsList(CommandContext commandContext) |
List<HistoricProcessInstance> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
HistoricProcessInstanceQuery |
externallyTerminated()
Only select historic process instances that are externallyTerminated.
|
HistoricProcessInstanceQuery |
finishDateBy(Date date)
Deprecated.
|
HistoricProcessInstanceQuery |
finishDateOn(Date date)
Deprecated.
|
HistoricProcessInstanceQuery |
finished()
Only select historic process instances that are completely finished.
|
HistoricProcessInstanceQuery |
finishedAfter(Date date)
Only select historic process instances that were started after the given date.
|
HistoricProcessInstanceQuery |
finishedBefore(Date date)
Only select historic process instances that were started before the given date.
|
String[] |
getActiveActivityIds() |
String |
getBusinessKey() |
String |
getBusinessKeyLike() |
String |
getCaseInstanceId() |
Date |
getExecutedActivityAfter() |
Date |
getExecutedActivityBefore() |
String[] |
getExecutedActivityIds() |
Date |
getExecutedJobAfter() |
Date |
getExecutedJobBefore() |
Date |
getFinishDateBy() |
Date |
getFinishDateOn() |
Date |
getFinishDateOnBegin() |
Date |
getFinishDateOnEnd() |
Date |
getFinishedAfter() |
Date |
getFinishedBefore() |
String |
getIncidentMessage() |
String |
getIncidentMessageLike() |
String |
getIncidentStatus() |
String |
getIncidentType() |
boolean |
getIsTenantIdSet() |
String |
getProcessDefinitionId() |
String |
getProcessDefinitionIdLike() |
String |
getProcessDefinitionKey() |
String[] |
getProcessDefinitionKeys() |
String |
getProcessDefinitionName() |
String |
getProcessDefinitionNameLike() |
String |
getProcessInstanceId() |
Set<String> |
getProcessInstanceIds() |
List<String> |
getProcessKeyNotIn() |
List<HistoricProcessInstanceQueryImpl> |
getQueries() |
Date |
getStartDateBy() |
Date |
getStartDateOn() |
Date |
getStartDateOnBegin() |
Date |
getStartDateOnEnd() |
Date |
getStartedAfter() |
Date |
getStartedBefore() |
String |
getStartedBy() |
String |
getState() |
String |
getSubCaseInstanceId() |
String |
getSubProcessInstanceId() |
String |
getSuperCaseInstanceId() |
String |
getSuperProcessInstanceId() |
String[] |
getTenantIds() |
protected boolean |
hasExcludingConditions()
Whether or not the query has excluding conditions.
|
HistoricProcessInstanceQuery |
incidentMessage(String incidentMessage)
Only select historic process instances with the given incident message.
|
HistoricProcessInstanceQuery |
incidentMessageLike(String incidentMessageLike)
Only select historic process instances which had an incident message like the given value.
|
HistoricProcessInstanceQuery |
incidentStatus(String status)
Only select historic process instances with incident status either 'open' or 'resolved'.
|
HistoricProcessInstanceQuery |
incidentType(String incidentType)
Only selects process instances with the given incident type.
|
HistoricProcessInstanceQuery |
internallyTerminated()
Only select historic process instances that are internallyTerminated.
|
boolean |
isFinished() |
boolean |
isOpen() |
boolean |
isOrQueryActive() |
boolean |
isRootProcessInstances() |
boolean |
isTenantIdSet() |
boolean |
isUnfinished() |
boolean |
isWithIncidents() |
boolean |
isWithRootIncidents() |
HistoricProcessInstanceQuery |
or()
After calling or(), a chain of several filter criteria could follow.
|
HistoricProcessInstanceQuery |
orderByProcessDefinitionId()
Order by the process definition id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricProcessInstanceQuery |
orderByProcessDefinitionKey()
Order by the process definition key (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricProcessInstanceQuery |
orderByProcessDefinitionName()
Order by the process definition name (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricProcessInstanceQuery |
orderByProcessDefinitionVersion()
Order by the process definition version (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricProcessInstanceQuery |
orderByProcessInstanceBusinessKey()
Order by the business key (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricProcessInstanceQuery |
orderByProcessInstanceDuration()
Order by the duration of the process instance (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricProcessInstanceQuery |
orderByProcessInstanceEndTime()
Order by the end time (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricProcessInstanceQuery |
orderByProcessInstanceId()
Order by the process instance id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricProcessInstanceQuery |
orderByProcessInstanceStartTime()
Order by the start time (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricProcessInstanceQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricProcessInstanceQueryImpl |
processDefinitionId(String processDefinitionId)
Only select historic process instances for the given process definition
|
HistoricProcessInstanceQuery |
processDefinitionKey(String processDefinitionKey)
Only select historic process instances that are defined by a process
definition with the given key.
|
HistoricProcessInstanceQuery |
processDefinitionKeyIn(String... processDefinitionKeys)
Only select historic process instances that are defined by any given process
definition key.
|
HistoricProcessInstanceQuery |
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 list
|
HistoricProcessInstanceQuery |
processDefinitionName(String processDefinitionName)
Only select historic process instances that are defined by a process
definition with the given name.
|
HistoricProcessInstanceQuery |
processDefinitionNameLike(String nameLike)
Only select historic process instances that are defined by process definition which name
is like the given value.
|
HistoricProcessInstanceQuery |
processInstanceBusinessKey(String businessKey)
Only select historic process instances with the given business key
|
HistoricProcessInstanceQuery |
processInstanceBusinessKeyLike(String businessKeyLike)
Only select historic process instances which had a business key like the given value.
|
HistoricProcessInstanceQueryImpl |
processInstanceId(String processInstanceId)
Only select historic process instances with the given process instance.
|
HistoricProcessInstanceQuery |
processInstanceIds(Set<String> processInstanceIds)
Only select historic process instances whose id is in the given set of ids.
|
HistoricProcessInstanceQuery |
rootProcessInstances()
Only select historic process instances that are top level process instances.
|
void |
setOrQueryActive() |
void |
setSuperProcessInstanceId(String superProcessInstanceId) |
HistoricProcessInstanceQuery |
startDateBy(Date date)
Deprecated.
|
HistoricProcessInstanceQuery |
startDateOn(Date date)
Deprecated.
|
HistoricProcessInstanceQuery |
startedAfter(Date date)
Only select historic process instances that were started after the given date.
|
HistoricProcessInstanceQuery |
startedBefore(Date date)
Only select historic process instances that were started before the given date.
|
HistoricProcessInstanceQuery |
startedBy(String userId)
Only select historic process instance that are started by the given user.
|
HistoricProcessInstanceQuery |
subCaseInstanceId(String subCaseInstanceId)
Only select historic process instances having a sub case instance
with the given case instance id.
|
HistoricProcessInstanceQuery |
subProcessInstanceId(String subProcessInstanceId)
Only select historic process instances having a sub process instance
with the given process instance id.
|
HistoricProcessInstanceQuery |
superCaseInstanceId(String superCaseInstanceId)
Only select historic process instances started by the given case
instance.
|
HistoricProcessInstanceQuery |
superProcessInstanceId(String superProcessInstanceId)
Only select historic process instances started by the given process
instance.
|
HistoricProcessInstanceQuery |
suspended()
Only select historic process instances that are suspended.
|
HistoricProcessInstanceQuery |
tenantIdIn(String... tenantIds)
Only select historic process instances with one of the given tenant ids.
|
HistoricProcessInstanceQuery |
unfinished()
Only select historic process instance that are not yet finished.
|
HistoricProcessInstanceQuery |
withIncidents()
Only select historic process instances with incidents
|
HistoricProcessInstanceQuery |
withoutTenantId()
Only selects historic process instances which have no tenant id.
|
HistoricProcessInstanceQuery |
withRootIncidents()
Only select historic process instances with root incidents
|
addVariable, getQueryVariableValues, isVariableNamesIgnoreCase, isVariableValuesIgnoreCase, matchVariableNamesIgnoreCase, matchVariableValuesIgnoreCase, variableValueEquals, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEquals
addExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeResult, executeSingleResult, extend, getExpressions, getMethod, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
matchVariableNamesIgnoreCase, matchVariableValuesIgnoreCase, variableValueEquals, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEquals
asc, count, desc, list, listPage, singleResult, unlimitedList
protected String processInstanceId
protected String processDefinitionId
protected String processDefinitionName
protected String processDefinitionNameLike
protected String businessKey
protected String businessKeyLike
protected boolean finished
protected boolean unfinished
protected boolean withIncidents
protected boolean withRootIncidents
protected String incidentType
protected String incidentStatus
protected String incidentMessage
protected String incidentMessageLike
protected String startedBy
protected boolean isRootProcessInstances
protected String superProcessInstanceId
protected String subProcessInstanceId
protected String superCaseInstanceId
protected String subCaseInstanceId
protected Date startedBefore
protected Date startedAfter
protected Date finishedBefore
protected Date finishedAfter
protected Date executedActivityAfter
protected Date executedActivityBefore
protected Date executedJobAfter
protected Date executedJobBefore
protected String processDefinitionKey
protected String[] processDefinitionKeys
protected String[] tenantIds
protected boolean isTenantIdSet
protected String[] executedActivityIds
protected String[] activeActivityIds
protected String state
protected String caseInstanceId
protected List<HistoricProcessInstanceQueryImpl> queries
protected boolean isOrQueryActive
protected Date startDateBy
protected Date startDateOn
protected Date finishDateBy
protected Date finishDateOn
protected Date startDateOnBegin
protected Date startDateOnEnd
protected Date finishDateOnBegin
protected Date finishDateOnEnd
public HistoricProcessInstanceQueryImpl()
public HistoricProcessInstanceQueryImpl(CommandExecutor commandExecutor)
public HistoricProcessInstanceQueryImpl processInstanceId(String processInstanceId)
HistoricProcessInstanceQuery
processInstanceId
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery processInstanceIds(Set<String> processInstanceIds)
HistoricProcessInstanceQuery
processInstanceIds
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQueryImpl processDefinitionId(String processDefinitionId)
HistoricProcessInstanceQuery
processDefinitionId
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery processDefinitionKey(String processDefinitionKey)
HistoricProcessInstanceQuery
processDefinitionKey
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery processDefinitionKeyIn(String... processDefinitionKeys)
HistoricProcessInstanceQuery
processDefinitionKeyIn
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery processDefinitionName(String processDefinitionName)
HistoricProcessInstanceQuery
processDefinitionName
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery processDefinitionNameLike(String nameLike)
HistoricProcessInstanceQuery
processDefinitionNameLike
in interface HistoricProcessInstanceQuery
nameLike
- The string can include the wildcard character '%' to express
like-strategy: starts with (string%), ends with (%string) or contains (%string%).public HistoricProcessInstanceQuery processInstanceBusinessKey(String businessKey)
HistoricProcessInstanceQuery
processInstanceBusinessKey
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery processInstanceBusinessKeyLike(String businessKeyLike)
HistoricProcessInstanceQuery
processInstanceBusinessKeyLike
in interface HistoricProcessInstanceQuery
businessKeyLike
- The string can include the wildcard character '%' to express
like-strategy: starts with (string%), ends with (%string) or contains (%string%).public HistoricProcessInstanceQuery finished()
HistoricProcessInstanceQuery
finished
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery unfinished()
HistoricProcessInstanceQuery
unfinished
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery withIncidents()
HistoricProcessInstanceQuery
withIncidents
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery withRootIncidents()
HistoricProcessInstanceQuery
withRootIncidents
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery incidentType(String incidentType)
HistoricProcessInstanceQuery
incidentType
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery incidentStatus(String status)
HistoricProcessInstanceQuery
HistoricProcessInstanceQuery.withIncidents()
.incidentStatus
in interface HistoricProcessInstanceQuery
status
- indicates the incident status, which is either 'open' or 'resolved'HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery incidentMessage(String incidentMessage)
HistoricProcessInstanceQuery
incidentMessage
in interface HistoricProcessInstanceQuery
incidentMessage
- Incidents Message for which the historic process instances should be selectedpublic HistoricProcessInstanceQuery incidentMessageLike(String incidentMessageLike)
HistoricProcessInstanceQuery
incidentMessageLike
in interface HistoricProcessInstanceQuery
incidentMessageLike
- The string can include the wildcard character '%' to express
like-strategy: starts with (string%), ends with (%string) or contains (%string%).public HistoricProcessInstanceQuery startedBy(String userId)
HistoricProcessInstanceQuery
startedBy
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery processDefinitionKeyNotIn(List<String> processDefinitionKeys)
HistoricProcessInstanceQuery
processDefinitionKeyNotIn
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery startedAfter(Date date)
HistoricProcessInstanceQuery
startedAfter
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery startedBefore(Date date)
HistoricProcessInstanceQuery
startedBefore
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery finishedAfter(Date date)
HistoricProcessInstanceQuery
finishedAfter
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery finishedBefore(Date date)
HistoricProcessInstanceQuery
finishedBefore
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery rootProcessInstances()
HistoricProcessInstanceQuery
rootProcessInstances
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery superProcessInstanceId(String superProcessInstanceId)
HistoricProcessInstanceQuery
superProcessInstanceId
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery subProcessInstanceId(String subProcessInstanceId)
HistoricProcessInstanceQuery
subProcessInstanceId
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery superCaseInstanceId(String superCaseInstanceId)
HistoricProcessInstanceQuery
superCaseInstanceId
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery subCaseInstanceId(String subCaseInstanceId)
HistoricProcessInstanceQuery
subCaseInstanceId
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery caseInstanceId(String caseInstanceId)
HistoricProcessInstanceQuery
caseInstanceId
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery tenantIdIn(String... tenantIds)
HistoricProcessInstanceQuery
tenantIdIn
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery withoutTenantId()
HistoricProcessInstanceQuery
withoutTenantId
in interface HistoricProcessInstanceQuery
protected boolean hasExcludingConditions()
AbstractQuery
hasExcludingConditions
in class AbstractQuery<HistoricProcessInstanceQuery,HistoricProcessInstance>
true
if the query does have excluding conditions, false
otherwisepublic HistoricProcessInstanceQuery orderByProcessInstanceBusinessKey()
HistoricProcessInstanceQuery
Query.asc()
or Query.desc()
).orderByProcessInstanceBusinessKey
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery orderByProcessInstanceDuration()
HistoricProcessInstanceQuery
Query.asc()
or Query.desc()
).orderByProcessInstanceDuration
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery orderByProcessInstanceStartTime()
HistoricProcessInstanceQuery
Query.asc()
or Query.desc()
).orderByProcessInstanceStartTime
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery orderByProcessInstanceEndTime()
HistoricProcessInstanceQuery
Query.asc()
or Query.desc()
).orderByProcessInstanceEndTime
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery orderByProcessDefinitionId()
HistoricProcessInstanceQuery
Query.asc()
or Query.desc()
).orderByProcessDefinitionId
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery orderByProcessDefinitionKey()
HistoricProcessInstanceQuery
Query.asc()
or Query.desc()
).orderByProcessDefinitionKey
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery orderByProcessDefinitionName()
HistoricProcessInstanceQuery
Query.asc()
or Query.desc()
).orderByProcessDefinitionName
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery orderByProcessDefinitionVersion()
HistoricProcessInstanceQuery
Query.asc()
or Query.desc()
).orderByProcessDefinitionVersion
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery orderByProcessInstanceId()
HistoricProcessInstanceQuery
Query.asc()
or Query.desc()
).orderByProcessInstanceId
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery orderByTenantId()
HistoricProcessInstanceQuery
Query.asc()
or Query.desc()
).
Note that the ordering of historic process instances without tenant id is database-specific.orderByTenantId
in interface HistoricProcessInstanceQuery
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
public List<HistoricProcessInstance> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
page
- used if the results must be paged. If null, no paging will be applied.public List<String> executeIdsList(CommandContext commandContext)
executeIdsList
in class AbstractQuery<HistoricProcessInstanceQuery,HistoricProcessInstance>
protected void ensureVariablesInitialized()
public List<HistoricProcessInstanceQueryImpl> getQueries()
public void addOrQuery(HistoricProcessInstanceQueryImpl orQuery)
public void setOrQueryActive()
public boolean isOrQueryActive()
public String[] getActiveActivityIds()
public String getBusinessKey()
public String getBusinessKeyLike()
public String[] getExecutedActivityIds()
public Date getExecutedActivityAfter()
public Date getExecutedActivityBefore()
public Date getExecutedJobAfter()
public Date getExecutedJobBefore()
public boolean isOpen()
public boolean isUnfinished()
public boolean isFinished()
public String getProcessDefinitionId()
public String getProcessDefinitionKey()
public String[] getProcessDefinitionKeys()
public String getProcessDefinitionIdLike()
public String getProcessDefinitionName()
public String getProcessDefinitionNameLike()
public String getProcessInstanceId()
public String getStartedBy()
public String getSuperProcessInstanceId()
public void setSuperProcessInstanceId(String superProcessInstanceId)
public Date getStartedAfter()
public Date getStartedBefore()
public Date getFinishedAfter()
public Date getFinishedBefore()
public String getCaseInstanceId()
public String getIncidentType()
public String getIncidentMessage()
public String getIncidentMessageLike()
public String getIncidentStatus()
public String getState()
public Date getFinishDateBy()
public Date getStartDateBy()
public Date getStartDateOn()
public Date getStartDateOnBegin()
public Date getStartDateOnEnd()
public Date getFinishDateOn()
public Date getFinishDateOnBegin()
public Date getFinishDateOnEnd()
public boolean isTenantIdSet()
public boolean getIsTenantIdSet()
public boolean isWithIncidents()
public boolean isWithRootIncidents()
@Deprecated public HistoricProcessInstanceQuery startDateBy(Date date)
HistoricProcessInstanceQuery
startDateBy
in interface HistoricProcessInstanceQuery
@Deprecated public HistoricProcessInstanceQuery startDateOn(Date date)
HistoricProcessInstanceQuery
startDateOn
in interface HistoricProcessInstanceQuery
@Deprecated public HistoricProcessInstanceQuery finishDateBy(Date date)
HistoricProcessInstanceQuery
finishDateBy
in interface HistoricProcessInstanceQuery
@Deprecated public HistoricProcessInstanceQuery finishDateOn(Date date)
HistoricProcessInstanceQuery
finishDateOn
in interface HistoricProcessInstanceQuery
public boolean isRootProcessInstances()
public String getSubProcessInstanceId()
public String getSuperCaseInstanceId()
public String getSubCaseInstanceId()
public String[] getTenantIds()
public HistoricProcessInstanceQuery executedActivityAfter(Date date)
HistoricProcessInstanceQuery
executedActivityAfter
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery executedActivityBefore(Date date)
HistoricProcessInstanceQuery
executedActivityBefore
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery executedJobAfter(Date date)
HistoricProcessInstanceQuery
executedJobAfter
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery executedJobBefore(Date date)
HistoricProcessInstanceQuery
executedJobBefore
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery executedActivityIdIn(String... ids)
HistoricProcessInstanceQuery
executedActivityIdIn
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery activeActivityIdIn(String... ids)
HistoricProcessInstanceQuery
activeActivityIdIn
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery active()
HistoricProcessInstanceQuery
active
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery suspended()
HistoricProcessInstanceQuery
suspended
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery completed()
HistoricProcessInstanceQuery
completed
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery externallyTerminated()
HistoricProcessInstanceQuery
externallyTerminated
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery internallyTerminated()
HistoricProcessInstanceQuery
internallyTerminated
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery or()
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.
or
in interface HistoricProcessInstanceQuery
HistoricProcessInstanceQuery
on which an arbitrary amount of filter criteria could be applied.
The several filter criteria will be linked together by an OR expression.public HistoricProcessInstanceQuery endOr()
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.
endOr
in interface HistoricProcessInstanceQuery
HistoricProcessInstanceQuery
on which an arbitrary amount of filter criteria could be applied.
The filter criteria will be linked together by an AND expression.Copyright © 2019. All rights reserved.