public class HistoricActivityInstanceQueryImpl extends AbstractQuery<HistoricActivityInstanceQuery,HistoricActivityInstance> implements HistoricActivityInstanceQuery
Modifier and Type | Field and Description |
---|---|
protected String |
activityId |
protected String |
activityInstanceId |
protected String |
activityName |
protected String |
activityType |
protected String |
assignee |
protected String |
executionId |
protected boolean |
finished |
protected String |
processDefinitionId |
protected String |
processInstanceId |
protected boolean |
unfinished |
commandContext, commandExecutor, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC
databaseType, firstResult, maxResults, parameter
authDefaultPerm, authGroupIds, authPerms, authResourceId, authResourceIdQueryParam, authResourceType, authUserId, isAuthorizationCheckEnabled
Constructor and Description |
---|
HistoricActivityInstanceQueryImpl() |
HistoricActivityInstanceQueryImpl(CommandContext commandContext) |
HistoricActivityInstanceQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
HistoricActivityInstanceQueryImpl |
activityId(String activityId)
Only select historic activity instances for the given activity (id from BPMN 2.0 XML)
|
HistoricActivityInstanceQueryImpl |
activityInstanceId(String activityInstanceId)
Only select historic activity instances with the given id (primary key within history tables).
|
HistoricActivityInstanceQueryImpl |
activityName(String activityName)
Only select historic activity instances for activities with the given name
|
HistoricActivityInstanceQueryImpl |
activityType(String activityType)
Only select historic activity instances for activities with the given activity type
|
long |
executeCount(CommandContext commandContext) |
List<HistoricActivityInstance> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
HistoricActivityInstanceQueryImpl |
executionId(String executionId)
Only select historic activity instances for the given execution
|
HistoricActivityInstanceQueryImpl |
finished()
Only select historic activity instances that are finished.
|
String |
getActivityId() |
String |
getActivityInstanceId() |
String |
getActivityName() |
String |
getActivityType() |
String |
getAssignee() |
String |
getExecutionId() |
String |
getProcessDefinitionId() |
String |
getProcessInstanceId() |
boolean |
isFinished() |
boolean |
isUnfinished() |
HistoricActivityInstanceQuery |
orderByActivityId()
Order by activityId (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQueryImpl |
orderByActivityName()
Order by activityName (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQueryImpl |
orderByActivityType()
Order by activityType (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQueryImpl |
orderByExecutionId()
Order by executionId (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQueryImpl |
orderByHistoricActivityInstanceDuration()
Order by duration (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQueryImpl |
orderByHistoricActivityInstanceEndTime()
Order by end (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQueryImpl |
orderByHistoricActivityInstanceId()
Order by id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQueryImpl |
orderByHistoricActivityInstanceStartTime()
Order by start (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQueryImpl |
orderByProcessDefinitionId()
Order by processDefinitionId (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQueryImpl |
orderByProcessInstanceId()
Order by processInstanceId (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQueryImpl |
processDefinitionId(String processDefinitionId)
Only select historic activity instances for the given process definition
|
HistoricActivityInstanceQueryImpl |
processInstanceId(String processInstanceId)
Only select historic activity instances with the given process instance.
|
HistoricActivityInstanceQueryImpl |
taskAssignee(String assignee)
Only select historic activity instances for userTask activities assigned to the given user
|
HistoricActivityInstanceQueryImpl |
unfinished()
Only select historic activity instances that are not finished yet.
|
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
protected String activityInstanceId
protected String processInstanceId
protected String executionId
protected String processDefinitionId
protected String activityId
protected String activityName
protected String activityType
protected String assignee
protected boolean finished
protected boolean unfinished
public HistoricActivityInstanceQueryImpl()
public HistoricActivityInstanceQueryImpl(CommandContext commandContext)
public HistoricActivityInstanceQueryImpl(CommandExecutor commandExecutor)
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<HistoricActivityInstanceQuery,HistoricActivityInstance>
public List<HistoricActivityInstance> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<HistoricActivityInstanceQuery,HistoricActivityInstance>
page
- used if the results must be paged. If null, no paging will be applied.public HistoricActivityInstanceQueryImpl processInstanceId(String processInstanceId)
HistoricActivityInstanceQuery
processInstanceId
in interface HistoricActivityInstanceQuery
public HistoricActivityInstanceQueryImpl executionId(String executionId)
HistoricActivityInstanceQuery
executionId
in interface HistoricActivityInstanceQuery
public HistoricActivityInstanceQueryImpl processDefinitionId(String processDefinitionId)
HistoricActivityInstanceQuery
processDefinitionId
in interface HistoricActivityInstanceQuery
public HistoricActivityInstanceQueryImpl activityId(String activityId)
HistoricActivityInstanceQuery
activityId
in interface HistoricActivityInstanceQuery
public HistoricActivityInstanceQueryImpl activityName(String activityName)
HistoricActivityInstanceQuery
activityName
in interface HistoricActivityInstanceQuery
public HistoricActivityInstanceQueryImpl activityType(String activityType)
HistoricActivityInstanceQuery
activityType
in interface HistoricActivityInstanceQuery
public HistoricActivityInstanceQueryImpl taskAssignee(String assignee)
HistoricActivityInstanceQuery
taskAssignee
in interface HistoricActivityInstanceQuery
public HistoricActivityInstanceQueryImpl finished()
HistoricActivityInstanceQuery
finished
in interface HistoricActivityInstanceQuery
public HistoricActivityInstanceQueryImpl unfinished()
HistoricActivityInstanceQuery
unfinished
in interface HistoricActivityInstanceQuery
public HistoricActivityInstanceQueryImpl orderByHistoricActivityInstanceDuration()
HistoricActivityInstanceQuery
Query.asc()
or Query.desc()
).orderByHistoricActivityInstanceDuration
in interface HistoricActivityInstanceQuery
public HistoricActivityInstanceQueryImpl orderByHistoricActivityInstanceEndTime()
HistoricActivityInstanceQuery
Query.asc()
or Query.desc()
).orderByHistoricActivityInstanceEndTime
in interface HistoricActivityInstanceQuery
public HistoricActivityInstanceQueryImpl orderByExecutionId()
HistoricActivityInstanceQuery
Query.asc()
or Query.desc()
).orderByExecutionId
in interface HistoricActivityInstanceQuery
public HistoricActivityInstanceQueryImpl orderByHistoricActivityInstanceId()
HistoricActivityInstanceQuery
Query.asc()
or Query.desc()
).orderByHistoricActivityInstanceId
in interface HistoricActivityInstanceQuery
public HistoricActivityInstanceQueryImpl orderByProcessDefinitionId()
HistoricActivityInstanceQuery
Query.asc()
or Query.desc()
).orderByProcessDefinitionId
in interface HistoricActivityInstanceQuery
public HistoricActivityInstanceQueryImpl orderByProcessInstanceId()
HistoricActivityInstanceQuery
Query.asc()
or Query.desc()
).orderByProcessInstanceId
in interface HistoricActivityInstanceQuery
public HistoricActivityInstanceQueryImpl orderByHistoricActivityInstanceStartTime()
HistoricActivityInstanceQuery
Query.asc()
or Query.desc()
).orderByHistoricActivityInstanceStartTime
in interface HistoricActivityInstanceQuery
public HistoricActivityInstanceQuery orderByActivityId()
HistoricActivityInstanceQuery
Query.asc()
or Query.desc()
).orderByActivityId
in interface HistoricActivityInstanceQuery
public HistoricActivityInstanceQueryImpl orderByActivityName()
HistoricActivityInstanceQuery
Query.asc()
or Query.desc()
).orderByActivityName
in interface HistoricActivityInstanceQuery
public HistoricActivityInstanceQueryImpl orderByActivityType()
HistoricActivityInstanceQuery
Query.asc()
or Query.desc()
).orderByActivityType
in interface HistoricActivityInstanceQuery
public HistoricActivityInstanceQueryImpl activityInstanceId(String activityInstanceId)
HistoricActivityInstanceQuery
activityInstanceId
in interface HistoricActivityInstanceQuery
public String getProcessInstanceId()
public String getExecutionId()
public String getProcessDefinitionId()
public String getActivityId()
public String getActivityName()
public String getActivityType()
public String getAssignee()
public boolean isFinished()
public boolean isUnfinished()
public String getActivityInstanceId()
Copyright © 2015. All rights reserved.