public class HistoricTaskInstanceQueryImpl extends AbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> implements HistoricTaskInstanceQuery
commandContext, commandExecutor, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC
databaseType, firstResult, maxResults, parameter
authDefaultPerm, authGroupIds, authPerms, authResourceId, authResourceIdQueryParam, authResourceType, authUserId, isAuthorizationCheckEnabled
Constructor and Description |
---|
HistoricTaskInstanceQueryImpl() |
HistoricTaskInstanceQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
HistoricTaskInstanceQuery |
activityInstanceIdIn(String... activityInstanceIds)
Only select historic task instances which have one of the given activity instance ids.
|
protected void |
ensureVariablesInitialized() |
long |
executeCount(CommandContext commandContext) |
List<HistoricTaskInstance> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
HistoricTaskInstanceQueryImpl |
executionId(String executionId)
Only select historic task instances for the given execution.
|
HistoricTaskInstanceQueryImpl |
finished()
Only select historic task instances which are finished.
|
String[] |
getActivityInstanceIds() |
String |
getExecutionId() |
String |
getProcessDefinitionId() |
String |
getProcessInstanceId() |
String |
getTaskAssignee() |
String |
getTaskAssigneeLike() |
String |
getTaskDefinitionKey() |
String |
getTaskDeleteReason() |
String |
getTaskDeleteReasonLike() |
String |
getTaskDescription() |
String |
getTaskDescriptionLike() |
String |
getTaskId() |
String |
getTaskName() |
String |
getTaskNameLike() |
String |
getTaskOwner() |
String |
getTaskOwnerLike() |
String |
getTaskParentTaskId() |
List<TaskQueryVariableValue> |
getVariables() |
boolean |
isFinished() |
boolean |
isUnfinished() |
HistoricTaskInstanceQueryImpl |
orderByDeleteReason()
Order by task delete reason (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricTaskInstanceQueryImpl |
orderByExecutionId()
Order by execution id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricTaskInstanceQueryImpl |
orderByHistoricActivityInstanceId()
Order by the historic activity instance id this task was used in
(needs to be followed by
Query.asc() or Query.desc() ). |
HistoricTaskInstanceQueryImpl |
orderByHistoricActivityInstanceStartTime()
Order by start time (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricTaskInstanceQueryImpl |
orderByHistoricTaskInstanceDuration()
Order by duration (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricTaskInstanceQueryImpl |
orderByHistoricTaskInstanceEndTime()
Order by end time (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricTaskInstanceQueryImpl |
orderByProcessDefinitionId()
Order by process definition id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricTaskInstanceQueryImpl |
orderByProcessInstanceId()
Order by process instance id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByTaskAssignee()
Order by task assignee (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByTaskDefinitionKey()
Order by task definition key (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricTaskInstanceQueryImpl |
orderByTaskDescription()
Order by task description (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByTaskDueDate()
Order by task due date (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByTaskFollowUpDate()
Order by task follow-up date (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricTaskInstanceQueryImpl |
orderByTaskId()
Order by task id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricTaskInstanceQueryImpl |
orderByTaskName()
Order by task name (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByTaskOwner()
Order by task owner (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByTaskPriority()
Order by task priority key (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricTaskInstanceQueryImpl |
processDefinitionId(String processDefinitionId)
Only select historic task instances for the given process definition.
|
HistoricTaskInstanceQuery |
processDefinitionKey(String processDefinitionKey)
Only select historic task instances which are part of a (historic) process instance
which has the given process definition key.
|
HistoricTaskInstanceQuery |
processDefinitionName(String processDefinitionName)
Only select historic task instances which are part of a (historic) process instance
which has the given definition name.
|
HistoricTaskInstanceQuery |
processFinished()
Only select historic task instances which are part of a process
instance which is already finished.
|
HistoricTaskInstanceQueryImpl |
processInstanceId(String processInstanceId)
Only select historic task instances for the given process instance.
|
HistoricTaskInstanceQuery |
processUnfinished()
Only select historic task instances which are part of a process
instance which is not finished yet.
|
HistoricTaskInstanceQuery |
processVariableValueEquals(String variableName,
Object variableValue)
Only select historic task instances which are part of a process instance which have a variable
with the given name set to the given value.
|
HistoricTaskInstanceQueryImpl |
taskAssignee(String taskAssignee)
Only select historic task instances which were last assigned to the given assignee.
|
HistoricTaskInstanceQueryImpl |
taskAssigneeLike(String taskAssigneeLike)
Only select historic task instances which were last assigned to an assignee like
the given value.
|
HistoricTaskInstanceQuery |
taskDefinitionKey(String taskDefinitionKey)
Only select historic task instances with the given task definition key.
|
HistoricTaskInstanceQueryImpl |
taskDeleteReason(String taskDeleteReason)
Only select historic task instances with the given task delete reason.
|
HistoricTaskInstanceQueryImpl |
taskDeleteReasonLike(String taskDeleteReasonLike)
Only select historic task instances with a task description like the given value.
|
HistoricTaskInstanceQueryImpl |
taskDescription(String taskDescription)
Only select historic task instances with the given task description.
|
HistoricTaskInstanceQueryImpl |
taskDescriptionLike(String taskDescriptionLike)
Only select historic task instances with a task description like the given value.
|
HistoricTaskInstanceQuery |
taskDueAfter(Date dueAfter)
Only select select historic task instances which have a due date after the given date.
|
HistoricTaskInstanceQuery |
taskDueBefore(Date dueBefore)
Only select select historic task instances which have a due date before the given date.
|
HistoricTaskInstanceQuery |
taskDueDate(Date dueDate)
Only select select historic task instances with the given due date.
|
HistoricTaskInstanceQuery |
taskFollowUpAfter(Date followUpAfter)
Only select select historic task instances which have a follow-up date after the given date.
|
HistoricTaskInstanceQuery |
taskFollowUpBefore(Date followUpBefore)
Only select select historic task instances which have a follow-up date before the given date.
|
HistoricTaskInstanceQuery |
taskFollowUpDate(Date followUpDate)
Only select select historic task instances with the given follow-up date.
|
HistoricTaskInstanceQuery |
taskId(String taskId)
Only select historic task instances for the given task id.
|
HistoricTaskInstanceQueryImpl |
taskName(String taskName)
Only select historic task instances with the given task name.
|
HistoricTaskInstanceQueryImpl |
taskNameLike(String taskNameLike)
Only select historic task instances with a task name like the given value.
|
HistoricTaskInstanceQueryImpl |
taskOwner(String taskOwner)
Only select historic task instances which have the given owner.
|
HistoricTaskInstanceQueryImpl |
taskOwnerLike(String taskOwnerLike)
Only select historic task instances which have an owner like the one specified.
|
HistoricTaskInstanceQuery |
taskParentTaskId(String parentTaskId)
Only select subtasks of the given parent task
|
HistoricTaskInstanceQuery |
taskPriority(Integer taskPriority)
Only select historic task instances with the given priority.
|
HistoricTaskInstanceQueryImpl |
taskVariableValueEquals(String variableName,
Object variableValue)
Only select historic task instances which have a local task variable with the
given name set to the given value.
|
HistoricTaskInstanceQueryImpl |
unfinished()
Only select historic task instances which aren't finished yet.
|
addOrder, asc, assertParamNotNull, assertParamNotNull, checkQueryOk, count, desc, direction, execute, executeSingleResult, getOrderBy, list, listPage, orderBy, setCommandExecutor, singleResult
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter
getAuthDefaultPerm, getAuthGroupIds, getAuthPerms, getAuthResourceId, getAuthResourceIdQueryParam, getAuthResourceType, getAuthUserId, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthPerms, setAuthResourceId, setAuthResourceIdQueryParam, setAuthResourceType, setAuthUserId
protected String processDefinitionId
protected String processDefinitionKey
protected String processDefinitionName
protected String processInstanceId
protected String executionId
protected String[] activityInstanceIds
protected String taskId
protected String taskName
protected String taskNameLike
protected String taskParentTaskId
protected String taskDescription
protected String taskDescriptionLike
protected String taskDeleteReason
protected String taskDeleteReasonLike
protected String taskOwner
protected String taskOwnerLike
protected String taskAssignee
protected String taskAssigneeLike
protected String taskDefinitionKey
protected Integer taskPriority
protected boolean finished
protected boolean unfinished
protected boolean processFinished
protected boolean processUnfinished
protected List<TaskQueryVariableValue> variables
protected Date dueDate
protected Date dueAfter
protected Date dueBefore
protected Date followUpDate
protected Date followUpBefore
protected Date followUpAfter
public HistoricTaskInstanceQueryImpl()
public HistoricTaskInstanceQueryImpl(CommandExecutor commandExecutor)
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
public List<HistoricTaskInstance> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
page
- used if the results must be paged. If null, no paging will be applied.public HistoricTaskInstanceQueryImpl processInstanceId(String processInstanceId)
HistoricTaskInstanceQuery
processInstanceId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl executionId(String executionId)
HistoricTaskInstanceQuery
executionId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery activityInstanceIdIn(String... activityInstanceIds)
HistoricTaskInstanceQuery
activityInstanceIdIn
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl processDefinitionId(String processDefinitionId)
HistoricTaskInstanceQuery
processDefinitionId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery processDefinitionKey(String processDefinitionKey)
HistoricTaskInstanceQuery
processDefinitionKey
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery processDefinitionName(String processDefinitionName)
HistoricTaskInstanceQuery
processDefinitionName
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery taskId(String taskId)
HistoricTaskInstanceQuery
taskId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskName(String taskName)
HistoricTaskInstanceQuery
taskName
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskNameLike(String taskNameLike)
HistoricTaskInstanceQuery
taskNameLike
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery taskParentTaskId(String parentTaskId)
HistoricTaskInstanceQuery
taskParentTaskId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskDescription(String taskDescription)
HistoricTaskInstanceQuery
taskDescription
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskDescriptionLike(String taskDescriptionLike)
HistoricTaskInstanceQuery
taskDescriptionLike
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskDeleteReason(String taskDeleteReason)
HistoricTaskInstanceQuery
taskDeleteReason
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskDeleteReasonLike(String taskDeleteReasonLike)
HistoricTaskInstanceQuery
taskDeleteReasonLike
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskAssignee(String taskAssignee)
HistoricTaskInstanceQuery
taskAssignee
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskAssigneeLike(String taskAssigneeLike)
HistoricTaskInstanceQuery
taskAssigneeLike
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskOwner(String taskOwner)
HistoricTaskInstanceQuery
taskOwner
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskOwnerLike(String taskOwnerLike)
HistoricTaskInstanceQuery
taskOwnerLike
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl finished()
HistoricTaskInstanceQuery
finished
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl unfinished()
HistoricTaskInstanceQuery
unfinished
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskVariableValueEquals(String variableName, Object variableValue)
HistoricTaskInstanceQuery
HistoricDetail
) will be used, so make sure history-level is configured
to full when this feature is used.taskVariableValueEquals
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery processVariableValueEquals(String variableName, Object variableValue)
HistoricTaskInstanceQuery
HistoricDetail
) will be used, so make sure history-level is configured
to full when this feature is used.processVariableValueEquals
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery taskDefinitionKey(String taskDefinitionKey)
HistoricTaskInstanceQuery
taskDefinitionKey
in interface HistoricTaskInstanceQuery
Task.getTaskDefinitionKey()
public HistoricTaskInstanceQuery taskPriority(Integer taskPriority)
HistoricTaskInstanceQuery
taskPriority
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery processFinished()
HistoricTaskInstanceQuery
processFinished
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery processUnfinished()
HistoricTaskInstanceQuery
processUnfinished
in interface HistoricTaskInstanceQuery
protected void ensureVariablesInitialized()
public HistoricTaskInstanceQuery taskDueDate(Date dueDate)
HistoricTaskInstanceQuery
taskDueDate
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery taskDueAfter(Date dueAfter)
HistoricTaskInstanceQuery
taskDueAfter
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery taskDueBefore(Date dueBefore)
HistoricTaskInstanceQuery
taskDueBefore
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery taskFollowUpDate(Date followUpDate)
HistoricTaskInstanceQuery
taskFollowUpDate
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery taskFollowUpBefore(Date followUpBefore)
HistoricTaskInstanceQuery
taskFollowUpBefore
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery taskFollowUpAfter(Date followUpAfter)
HistoricTaskInstanceQuery
taskFollowUpAfter
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByTaskId()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByTaskId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByHistoricActivityInstanceId()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByHistoricActivityInstanceId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByProcessDefinitionId()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByProcessDefinitionId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByProcessInstanceId()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByProcessInstanceId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByExecutionId()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByExecutionId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByHistoricTaskInstanceDuration()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByHistoricTaskInstanceDuration
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByHistoricTaskInstanceEndTime()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByHistoricTaskInstanceEndTime
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByHistoricActivityInstanceStartTime()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByHistoricActivityInstanceStartTime
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByTaskName()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByTaskName
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByTaskDescription()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByTaskDescription
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery orderByTaskAssignee()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByTaskAssignee
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery orderByTaskOwner()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByTaskOwner
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery orderByTaskDueDate()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByTaskDueDate
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery orderByTaskFollowUpDate()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByTaskFollowUpDate
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByDeleteReason()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByDeleteReason
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery orderByTaskDefinitionKey()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByTaskDefinitionKey
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery orderByTaskPriority()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByTaskPriority
in interface HistoricTaskInstanceQuery
public String getProcessInstanceId()
public String getExecutionId()
public String[] getActivityInstanceIds()
public String getProcessDefinitionId()
public boolean isFinished()
public boolean isUnfinished()
public String getTaskName()
public String getTaskNameLike()
public String getTaskDescription()
public String getTaskDescriptionLike()
public String getTaskDeleteReason()
public String getTaskDeleteReasonLike()
public String getTaskAssignee()
public String getTaskAssigneeLike()
public String getTaskId()
public String getTaskDefinitionKey()
public List<TaskQueryVariableValue> getVariables()
public String getTaskOwnerLike()
public String getTaskOwner()
public String getTaskParentTaskId()
Copyright © 2015. All rights reserved.