public class HistoricProcessInstanceQueryImpl extends AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance> implements HistoricProcessInstanceQuery
Modifier and Type | Field and Description |
---|---|
protected String |
businessKey |
protected Date |
finishDateBy |
protected Date |
finishDateOn |
protected Date |
finishDateOnBegin |
protected Date |
finishDateOnEnd |
protected boolean |
finished |
protected Date |
finishedAfter |
protected Date |
finishedBefore |
protected String |
processDefinitionId |
protected String |
processDefinitionKey |
protected String |
processInstanceId |
protected Set<String> |
processInstanceIds |
protected List<String> |
processKeyNotIn |
protected Date |
startDateBy |
protected Date |
startDateOn |
protected Date |
startDateOnBegin |
protected Date |
startDateOnEnd |
protected Date |
startedAfter |
protected Date |
startedBefore |
protected String |
startedBy |
protected String |
superProcessInstanceId |
protected boolean |
unfinished |
queryVariableValues
commandContext, commandExecutor, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC
databaseType, firstResult, maxResults, parameter
authDefaultPerm, authGroupIds, authPerms, authResourceId, authResourceIdQueryParam, authResourceType, authUserId, isAuthorizationCheckEnabled
Constructor and Description |
---|
HistoricProcessInstanceQueryImpl() |
HistoricProcessInstanceQueryImpl(CommandContext commandContext) |
HistoricProcessInstanceQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
long |
executeCount(CommandContext commandContext) |
List<HistoricProcessInstance> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
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 |
getBusinessKey() |
Date |
getFinishedAfter() |
Date |
getFinishedBefore() |
String |
getProcessDefinitionId() |
String |
getProcessDefinitionIdLike() |
String |
getProcessDefinitionKey() |
String |
getProcessInstanceId() |
Set<String> |
getProcessInstanceIds() |
List<String> |
getProcessKeyNotIn() |
Date |
getStartedAfter() |
Date |
getStartedBefore() |
String |
getStartedBy() |
String |
getSuperProcessInstanceId() |
boolean |
isOpen() |
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() ). |
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 |
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 |
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.
|
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 |
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.
|
addVariable, ensureVariablesInitialized, getQueryVariableValues, variableValueEquals, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEquals
addOrder, asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, getOrderBy, list, listPage, orderBy, setCommandExecutor, singleResult
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setParameter
getAuthDefaultPerm, getAuthGroupIds, getAuthPerms, getAuthResourceId, getAuthResourceIdQueryParam, getAuthResourceType, getAuthUserId, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthPerms, setAuthResourceId, setAuthResourceIdQueryParam, setAuthResourceType, setAuthUserId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
variableValueEquals, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEquals
protected String processInstanceId
protected String processDefinitionId
protected String businessKey
protected boolean finished
protected boolean unfinished
protected String startedBy
protected String superProcessInstanceId
protected Date startedBefore
protected Date startedAfter
protected Date finishedBefore
protected Date finishedAfter
protected String processDefinitionKey
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(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 processInstanceBusinessKey(String businessKey)
HistoricProcessInstanceQuery
processInstanceBusinessKey
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery finished()
HistoricProcessInstanceQuery
finished
in interface HistoricProcessInstanceQuery
public HistoricProcessInstanceQuery unfinished()
HistoricProcessInstanceQuery
unfinished
in interface HistoricProcessInstanceQuery
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 superProcessInstanceId(String superProcessInstanceId)
HistoricProcessInstanceQuery
superProcessInstanceId
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 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 String getBusinessKey()
public boolean isOpen()
public String getProcessDefinitionId()
public String getProcessDefinitionKey()
public String getProcessDefinitionIdLike()
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()
@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
Copyright © 2015. All rights reserved.