public class HistoricProcessInstanceQueryImpl extends AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance> implements HistoricProcessInstanceQuery
Query.NullHandlingOnOrder
queryVariableValues
commandContext, commandExecutor, databaseType, nullHandlingOnOrder, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC
firstResult, maxResults, parameter
Constructor and Description |
---|
HistoricProcessInstanceQueryImpl() |
HistoricProcessInstanceQueryImpl(CommandContext commandContext) |
HistoricProcessInstanceQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkQueryOk() |
HistoricProcessInstanceQuery |
deleted()
Only select historic process instances that are deleted.
|
HistoricProcessInstanceQuery |
deploymentId(String deploymentId)
Only select historic process instances that are defined by a process definition with the given deployment identifier.
|
HistoricProcessInstanceQuery |
deploymentIdIn(List<String> deploymentIds)
Only select historic process instances that are defined by a process definition with one of the given deployment identifiers.
|
HistoricProcessInstanceQuery |
endOr()
End an OR statement.
|
protected void |
ensureVariablesInitialized() |
HistoricProcessInstanceQuery |
excludeSubprocesses(boolean excludeSubprocesses)
Exclude sub processes from the query result;
|
long |
executeCount(CommandContext commandContext) |
List<HistoricProcessInstance> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
HistoricProcessInstanceQuery |
finished()
Only select historic process instances that are completely finished.
|
HistoricProcessInstanceQuery |
finishedAfter(Date finishedAfter)
Only select historic process instances that were started after the given date.
|
HistoricProcessInstanceQuery |
finishedBefore(Date finishedBefore)
Only select historic process instances that were started before the given date.
|
String |
getBusinessKey() |
String |
getDeploymentId() |
List<String> |
getDeploymentIds() |
Date |
getFinishedAfter() |
Date |
getFinishedBefore() |
String |
getInvolvedUser() |
String |
getMssqlOrDB2OrderBy() |
String |
getName() |
String |
getNameLike() |
String |
getNameLikeIgnoreCase() |
List<HistoricProcessInstanceQueryImpl> |
getOrQueryObjects() |
String |
getProcessDefinitionCategory() |
String |
getProcessDefinitionId() |
String |
getProcessDefinitionIdLike() |
String |
getProcessDefinitionKey() |
List<String> |
getProcessDefinitionKeyIn() |
String |
getProcessDefinitionName() |
Integer |
getProcessDefinitionVersion() |
String |
getProcessInstanceId() |
Set<String> |
getProcessInstanceIds() |
Integer |
getProcessInstanceVariablesLimit() |
List<String> |
getProcessKeyNotIn() |
static long |
getSerialversionuid() |
Date |
getStartedAfter() |
Date |
getStartedBefore() |
String |
getStartedBy() |
String |
getSuperProcessInstanceId() |
String |
getTenantId() |
String |
getTenantIdLike() |
HistoricProcessInstanceQuery |
includeProcessVariables()
Include process variables in the process query result
|
HistoricProcessInstanceQuery |
involvedUser(String involvedUser)
Only select the historic process instances with which the user with the given id is involved.
|
boolean |
isDeleted() |
boolean |
isExcludeSubprocesses() |
boolean |
isFinished() |
boolean |
isIncludeProcessVariables() |
boolean |
isNotDeleted() |
boolean |
isOpen() |
boolean |
isUnfinished() |
boolean |
isWithException() |
boolean |
isWithoutTenantId() |
HistoricProcessInstanceQuery |
limitProcessInstanceVariables(Integer processInstanceVariablesLimit)
Limit process instance variables
|
HistoricProcessInstanceQuery |
locale(String locale)
Localize historic process name and description to specified locale.
|
protected void |
localize(HistoricProcessInstance processInstance,
CommandContext commandContext) |
HistoricProcessInstanceQuery |
notDeleted()
Only select historic process instance that are not deleted.
|
HistoricProcessInstanceQuery |
or()
Begin an OR statement.
|
HistoricProcessInstanceQuery |
orderByProcessDefinitionId()
Order by the process definition id (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() ). |
HistoricProcessInstanceQuery |
processDefinitionCategory(String processDefinitionCategory)
Only select historic process instances whose process definition category is processDefinitionCategory.
|
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(List<String> processDefinitionKeys)
Only select historic process instances that are defined by a process definition with one of the given process definition keys.
|
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)
Select process historic instances whose process definition name is processDefinitionName
|
HistoricProcessInstanceQuery |
processDefinitionVersion(Integer processDefinitionVersion)
Only select historic process instances with a certain process definition version.
|
HistoricProcessInstanceQuery |
processInstanceBusinessKey(String businessKey)
Only select historic process instances with the given business key
|
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 |
processInstanceName(String name)
Only select process instances with the given name.
|
HistoricProcessInstanceQuery |
processInstanceNameLike(String nameLike)
Only select process instances with a name like the given value.
|
HistoricProcessInstanceQuery |
processInstanceNameLikeIgnoreCase(String nameLikeIgnoreCase)
Only select process instances with a name like the given value, ignoring upper/lower case.
|
HistoricProcessInstanceQuery |
processInstanceTenantId(String tenantId)
Only select process instances that have the given tenant id.
|
HistoricProcessInstanceQuery |
processInstanceTenantIdLike(String tenantIdLike)
Only select process instances with a tenant id like the given one.
|
HistoricProcessInstanceQuery |
processInstanceWithoutTenantId()
Only select process instances that do not have a tenant id.
|
HistoricProcessInstanceQuery |
startedAfter(Date startedAfter)
Only select historic process instances that were started after the given date.
|
HistoricProcessInstanceQuery |
startedBefore(Date startedBefore)
Only select historic process instances that were started before the given date.
|
HistoricProcessInstanceQuery |
startedBy(String startedBy)
Only select historic process instance that are started by the given user.
|
HistoricProcessInstanceQuery |
superProcessInstanceId(String superProcessInstanceId)
Only select historic process instances started by the given process instance.
|
HistoricProcessInstanceQuery |
unfinished()
Only select historic process instance that are not yet finished.
|
HistoricProcessInstanceQuery |
variableValueEquals(Object variableValue)
Only select process instances which had at least one global variable with the given value when they ended.
|
HistoricProcessInstanceQuery |
variableValueEquals(String variableName,
Object variableValue)
Only select process instances which had a global variable with the given value when they ended.
|
HistoricProcessInstanceQuery |
variableValueEqualsIgnoreCase(String name,
String value)
Only select historic process instances which have a local string variable with the given value, case insensitive.
|
HistoricProcessInstanceQuery |
variableValueGreaterThan(String name,
Object value)
Only select process instances which had a global variable value greater than the passed value when they ended.
|
HistoricProcessInstanceQuery |
variableValueGreaterThanOrEqual(String name,
Object value)
Only select process instances which had a global variable value greater than or equal to the passed value when they ended.
|
HistoricProcessInstanceQuery |
variableValueLessThan(String name,
Object value)
Only select process instances which had a global variable value less than the passed value when the ended.
|
HistoricProcessInstanceQuery |
variableValueLessThanOrEqual(String name,
Object value)
Only select process instances which has a global variable value less than or equal to the passed value when they ended.
|
HistoricProcessInstanceQuery |
variableValueLike(String name,
String value)
Only select process instances which had global variable value like the given value when they ended.
|
HistoricProcessInstanceQuery |
variableValueLikeIgnoreCase(String name,
String value)
Only select process instances which had global variable value like (case insensitive)
the given value when they ended.
|
HistoricProcessInstanceQuery |
variableValueNotEquals(String variableName,
Object variableValue)
Only select process instances which had a global variable with the given name, but with a different value than the passed value when they ended.
|
HistoricProcessInstanceQuery |
variableValueNotEqualsIgnoreCase(String name,
String value) |
HistoricProcessInstanceQuery |
withJobException()
Only select process instances that failed due to an exception happening during a job execution.
|
HistoricProcessInstanceQuery |
withLocalizationFallback()
Instruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.
|
addVariable, getQueryVariableValues, hasLocalQueryVariableValue, hasNonLocalQueryVariableValue, isBoolean, variableValueEquals, variableValueEquals, variableValueEqualsIgnoreCase, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueLikeIgnoreCase, variableValueNotEquals, variableValueNotEqualsIgnoreCase
addOrder, asc, count, desc, direction, execute, executeSingleResult, getDatabaseType, getOrderBy, getOrderByColumns, list, listPage, orderBy, orderBy, setCommandExecutor, setDatabaseType, singleResult
getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setFirstResult, setMaxResults, setParameter
protected String processInstanceId
protected String processDefinitionId
protected String businessKey
protected String deploymentId
protected boolean finished
protected boolean unfinished
protected boolean deleted
protected boolean notDeleted
protected String startedBy
protected String superProcessInstanceId
protected boolean excludeSubprocesses
protected Date startedBefore
protected Date startedAfter
protected Date finishedBefore
protected Date finishedAfter
protected String processDefinitionKey
protected String processDefinitionCategory
protected String processDefinitionName
protected Integer processDefinitionVersion
protected String involvedUser
protected boolean includeProcessVariables
protected Integer processInstanceVariablesLimit
protected boolean withJobException
protected String tenantId
protected String tenantIdLike
protected boolean withoutTenantId
protected String name
protected String nameLike
protected String nameLikeIgnoreCase
protected String locale
protected boolean withLocalizationFallback
protected List<HistoricProcessInstanceQueryImpl> orQueryObjects
protected HistoricProcessInstanceQueryImpl currentOrQueryObject
protected boolean inOrStatement
public HistoricProcessInstanceQueryImpl()
public HistoricProcessInstanceQueryImpl(CommandContext commandContext)
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(List<String> processDefinitionKeys)
HistoricProcessInstanceQuery
processDefinitionKeyIn
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery processDefinitionCategory(String processDefinitionCategory)
HistoricProcessInstanceQuery
processDefinitionCategory
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery processDefinitionName(String processDefinitionName)
HistoricProcessInstanceQuery
processDefinitionName
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery processDefinitionVersion(Integer processDefinitionVersion)
HistoricProcessInstanceQuery
HistoricProcessInstanceQuery.processDefinitionKey(String)
processDefinitionVersion
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery processInstanceBusinessKey(String businessKey)
HistoricProcessInstanceQuery
processInstanceBusinessKey
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery deploymentId(String deploymentId)
HistoricProcessInstanceQuery
deploymentId
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery deploymentIdIn(List<String> deploymentIds)
HistoricProcessInstanceQuery
deploymentIdIn
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery finished()
HistoricProcessInstanceQuery
finished
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery unfinished()
HistoricProcessInstanceQuery
unfinished
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery deleted()
HistoricProcessInstanceQuery
deleted
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery notDeleted()
HistoricProcessInstanceQuery
notDeleted
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery startedBy(String startedBy)
HistoricProcessInstanceQuery
startedBy
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery processDefinitionKeyNotIn(List<String> processDefinitionKeys)
HistoricProcessInstanceQuery
processDefinitionKeyNotIn
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery startedAfter(Date startedAfter)
HistoricProcessInstanceQuery
startedAfter
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery startedBefore(Date startedBefore)
HistoricProcessInstanceQuery
startedBefore
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery finishedAfter(Date finishedAfter)
HistoricProcessInstanceQuery
finishedAfter
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery finishedBefore(Date finishedBefore)
HistoricProcessInstanceQuery
finishedBefore
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery superProcessInstanceId(String superProcessInstanceId)
HistoricProcessInstanceQuery
superProcessInstanceId
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery excludeSubprocesses(boolean excludeSubprocesses)
HistoricProcessInstanceQuery
excludeSubprocesses
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery involvedUser(String involvedUser)
HistoricProcessInstanceQuery
involvedUser
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery includeProcessVariables()
HistoricProcessInstanceQuery
includeProcessVariables
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery limitProcessInstanceVariables(Integer processInstanceVariablesLimit)
HistoricProcessInstanceQuery
limitProcessInstanceVariables
in interface HistoricProcessInstanceQuery
public Integer getProcessInstanceVariablesLimit()
public HistoricProcessInstanceQuery withJobException()
HistoricProcessInstanceQuery
withJobException
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery processInstanceTenantId(String tenantId)
HistoricProcessInstanceQuery
processInstanceTenantId
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery processInstanceTenantIdLike(String tenantIdLike)
HistoricProcessInstanceQuery
processInstanceTenantIdLike
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery processInstanceWithoutTenantId()
HistoricProcessInstanceQuery
processInstanceWithoutTenantId
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery processInstanceName(String name)
HistoricProcessInstanceQuery
processInstanceName
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery processInstanceNameLike(String nameLike)
HistoricProcessInstanceQuery
processInstanceNameLike
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery processInstanceNameLikeIgnoreCase(String nameLikeIgnoreCase)
HistoricProcessInstanceQuery
processInstanceNameLikeIgnoreCase
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery variableValueEquals(String variableName, Object variableValue)
HistoricProcessInstanceQuery
ProcessInstanceQuery
instead! of variable is determined based on the value, using types configured in ProcessEngineConfiguration#getVariableTypes()
. Byte-arrays and
Serializable
objects (which are not primitive type wrappers) are not supported.variableValueEquals
in interface HistoricProcessInstanceQuery
variableValueEquals
in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
variableName
- of the variable, cannot be null.public HistoricProcessInstanceQuery variableValueNotEquals(String variableName, Object variableValue)
HistoricProcessInstanceQuery
Serializable
objects (which are not primitive type wrappers) are not supported.variableValueNotEquals
in interface HistoricProcessInstanceQuery
variableValueNotEquals
in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
variableName
- of the variable, cannot be null.public HistoricProcessInstanceQuery variableValueEquals(Object variableValue)
HistoricProcessInstanceQuery
ProcessInstanceQuery
instead! of variable is determined based on the value, using types configured in ProcessEngineConfiguration#getVariableTypes()
. Byte-arrays and
Serializable
objects (which are not primitive type wrappers) are not supported.variableValueEquals
in interface HistoricProcessInstanceQuery
variableValueEquals
in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
public HistoricProcessInstanceQuery variableValueEqualsIgnoreCase(String name, String value)
HistoricProcessInstanceQuery
variableValueEqualsIgnoreCase
in interface HistoricProcessInstanceQuery
variableValueEqualsIgnoreCase
in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
name
- name of the variable, cannot be null.value
- value of the variable, cannot be null.public HistoricProcessInstanceQuery variableValueNotEqualsIgnoreCase(String name, String value)
public HistoricProcessInstanceQuery variableValueGreaterThan(String name, Object value)
HistoricProcessInstanceQuery
Serializable
objects (which are not primitive type
wrappers) are not supported. Only select process instances which have a variable value greater than the passed value.variableValueGreaterThan
in interface HistoricProcessInstanceQuery
variableValueGreaterThan
in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
name
- cannot be null.value
- cannot be null.public HistoricProcessInstanceQuery variableValueGreaterThanOrEqual(String name, Object value)
HistoricProcessInstanceQuery
Serializable
objects (which are not
primitive type wrappers) are not supported. Only applies to already ended process instances, otherwise use a ProcessInstanceQuery
instead!variableValueGreaterThanOrEqual
in interface HistoricProcessInstanceQuery
variableValueGreaterThanOrEqual
in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
name
- cannot be null.value
- cannot be null.public HistoricProcessInstanceQuery variableValueLessThan(String name, Object value)
HistoricProcessInstanceQuery
ProcessInstanceQuery
instead! Booleans, Byte-arrays and Serializable
objects (which are not primitive type wrappers) are not supported.variableValueLessThan
in interface HistoricProcessInstanceQuery
variableValueLessThan
in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
name
- cannot be null.value
- cannot be null.public HistoricProcessInstanceQuery variableValueLessThanOrEqual(String name, Object value)
HistoricProcessInstanceQuery
ProcessInstanceQuery
instead! Booleans, Byte-arrays and Serializable
objects (which are not primitive type wrappers) are not supported.variableValueLessThanOrEqual
in interface HistoricProcessInstanceQuery
variableValueLessThanOrEqual
in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
name
- cannot be null.value
- cannot be null.public HistoricProcessInstanceQuery variableValueLike(String name, String value)
HistoricProcessInstanceQuery
ProcessInstanceQuery
instead! This can be used on string variables only.variableValueLike
in interface HistoricProcessInstanceQuery
variableValueLike
in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
name
- cannot be null.value
- cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).public HistoricProcessInstanceQuery locale(String locale)
HistoricProcessInstanceQuery
locale
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery withLocalizationFallback()
HistoricProcessInstanceQuery
withLocalizationFallback
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery variableValueLikeIgnoreCase(String name, String value)
HistoricProcessInstanceQuery
ProcessInstanceQuery
instead! This can be used on string
variables only.variableValueLikeIgnoreCase
in interface HistoricProcessInstanceQuery
variableValueLikeIgnoreCase
in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
name
- cannot be null.value
- cannot be null. The string can include the
wildcard character '%' to express like-strategy: starts with
(string%), ends with (%string) or contains (%string%).public HistoricProcessInstanceQuery or()
HistoricProcessInstanceQuery
or
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery endOr()
HistoricProcessInstanceQuery
endOr
in interface HistoricProcessInstanceQuery
public 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 orderByProcessInstanceId()
HistoricProcessInstanceQuery
Query.asc()
or Query.desc()
).orderByProcessInstanceId
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery orderByTenantId()
HistoricProcessInstanceQuery
Query.asc()
or Query.desc()
).orderByTenantId
in interface HistoricProcessInstanceQuery
public String getMssqlOrDB2OrderBy()
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.protected void localize(HistoricProcessInstance processInstance, CommandContext commandContext)
protected void ensureVariablesInitialized()
protected void checkQueryOk()
checkQueryOk
in class AbstractQuery<HistoricProcessInstanceQuery,HistoricProcessInstance>
public String getBusinessKey()
public boolean isOpen()
public String getProcessDefinitionId()
public String getProcessDefinitionKey()
public String getProcessDefinitionIdLike()
public String getProcessDefinitionName()
public String getProcessDefinitionCategory()
public Integer getProcessDefinitionVersion()
public String getProcessInstanceId()
public String getStartedBy()
public String getSuperProcessInstanceId()
public boolean isExcludeSubprocesses()
public Date getStartedAfter()
public Date getStartedBefore()
public Date getFinishedAfter()
public Date getFinishedBefore()
public String getInvolvedUser()
public String getName()
public String getNameLike()
public static long getSerialversionuid()
public String getDeploymentId()
public boolean isFinished()
public boolean isUnfinished()
public boolean isDeleted()
public boolean isNotDeleted()
public boolean isIncludeProcessVariables()
public boolean isWithException()
public String getTenantId()
public String getTenantIdLike()
public boolean isWithoutTenantId()
public String getNameLikeIgnoreCase()
public List<HistoricProcessInstanceQueryImpl> getOrQueryObjects()
Copyright © 2016 Flowable. All rights reserved.