org.camunda.bpm.engine.impl
Class HistoricTaskInstanceQueryImpl

java.lang.Object
  extended by org.camunda.bpm.engine.impl.db.AuthorizationCheck
      extended by org.camunda.bpm.engine.impl.db.ListQueryParameterObject
          extended by org.camunda.bpm.engine.impl.AbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
              extended by org.camunda.bpm.engine.impl.HistoricTaskInstanceQueryImpl
All Implemented Interfaces:
Serializable, HistoricTaskInstanceQuery, Command<Object>, Query<HistoricTaskInstanceQuery,HistoricTaskInstance>

public class HistoricTaskInstanceQueryImpl
extends AbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
implements HistoricTaskInstanceQuery

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  String[] activityInstanceIds
           
protected  String caseDefinitionId
           
protected  String caseDefinitionKey
           
protected  String caseDefinitionName
           
protected  String caseExecutionId
           
protected  String caseInstanceId
           
protected  Date dueAfter
           
protected  Date dueBefore
           
protected  Date dueDate
           
protected  String executionId
           
protected  boolean finished
           
protected  Date followUpAfter
           
protected  Date followUpBefore
           
protected  Date followUpDate
           
protected  String processDefinitionId
           
protected  String processDefinitionKey
           
protected  String processDefinitionName
           
protected  boolean processFinished
           
protected  String processInstanceId
           
protected  boolean processUnfinished
           
protected  String taskAssignee
           
protected  String taskAssigneeLike
           
protected  String taskDefinitionKey
           
protected  String taskDeleteReason
           
protected  String taskDeleteReasonLike
           
protected  String taskDescription
           
protected  String taskDescriptionLike
           
protected  String taskId
           
protected  String taskName
           
protected  String taskNameLike
           
protected  String taskOwner
           
protected  String taskOwnerLike
           
protected  String taskParentTaskId
           
protected  Integer taskPriority
           
protected  boolean unfinished
           
protected  List<TaskQueryVariableValue> variables
           
 
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandContext, commandExecutor, expressions, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC
 
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter
 
Fields inherited from class org.camunda.bpm.engine.impl.db.AuthorizationCheck
authDefaultPerm, authGroupIds, authPerms, authResourceId, authResourceIdQueryParam, authResourceType, authUserId, isAuthorizationCheckEnabled
 
Constructor Summary
HistoricTaskInstanceQueryImpl()
           
HistoricTaskInstanceQueryImpl(CommandExecutor commandExecutor)
           
 
Method Summary
 HistoricTaskInstanceQuery activityInstanceIdIn(String... activityInstanceIds)
          Only select historic task instances which have one of the given activity instance ids.
 HistoricTaskInstanceQuery caseDefinitionId(String caseDefinitionId)
          Only select historic task instances for the given case definition.
 HistoricTaskInstanceQuery caseDefinitionKey(String caseDefinitionKey)
          Only select historic task instances which are part of a case instance which has the given case definition key.
 HistoricTaskInstanceQuery caseDefinitionName(String caseDefinitionName)
          Only select historic task instances which are part of a (historic) case instance which has the given case definition name.
 HistoricTaskInstanceQuery caseExecutionId(String caseExecutionId)
          Only select historic task instances for the given case execution id.
 HistoricTaskInstanceQuery caseInstanceId(String caseInstanceId)
          Only select historic task instances for the given case instance.
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 getCaseDefinitionId()
           
 String getCaseDefinitionKey()
           
 String getCaseDefinitionName()
           
 String getCaseExecutionId()
           
 String getCaseInstanceId()
           
 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()
           
 HistoricTaskInstanceQuery orderByCaseDefinitionId()
          Order by case definition id (needs to be followed by Query.asc() or Query.desc()).
 HistoricTaskInstanceQuery orderByCaseExecutionId()
          Order by case execution id (needs to be followed by Query.asc() or Query.desc()).
 HistoricTaskInstanceQuery orderByCaseInstanceId()
          Order by case instance id (needs to be followed by Query.asc() or Query.desc()).
 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.
 
Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery
addExpression, addOrder, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderProperty, list, listPage, mergeExpressions, mergeOrdering, orderBy, setCommandExecutor, setExpressions, singleResult
 
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter
 
Methods inherited from class org.camunda.bpm.engine.impl.db.AuthorizationCheck
getAuthDefaultPerm, getAuthGroupIds, getAuthPerms, getAuthResourceId, getAuthResourceIdQueryParam, getAuthResourceType, getAuthUserId, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthPerms, setAuthResourceId, setAuthResourceIdQueryParam, setAuthResourceType, setAuthUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult
 

Field Detail

processDefinitionId

protected String processDefinitionId

processDefinitionKey

protected String processDefinitionKey

processDefinitionName

protected String processDefinitionName

processInstanceId

protected String processInstanceId

executionId

protected String executionId

activityInstanceIds

protected String[] activityInstanceIds

taskId

protected String taskId

taskName

protected String taskName

taskNameLike

protected String taskNameLike

taskParentTaskId

protected String taskParentTaskId

taskDescription

protected String taskDescription

taskDescriptionLike

protected String taskDescriptionLike

taskDeleteReason

protected String taskDeleteReason

taskDeleteReasonLike

protected String taskDeleteReasonLike

taskOwner

protected String taskOwner

taskOwnerLike

protected String taskOwnerLike

taskAssignee

protected String taskAssignee

taskAssigneeLike

protected String taskAssigneeLike

taskDefinitionKey

protected String taskDefinitionKey

taskPriority

protected Integer taskPriority

finished

protected boolean finished

unfinished

protected boolean unfinished

processFinished

protected boolean processFinished

processUnfinished

protected boolean processUnfinished

variables

protected List<TaskQueryVariableValue> variables

dueDate

protected Date dueDate

dueAfter

protected Date dueAfter

dueBefore

protected Date dueBefore

followUpDate

protected Date followUpDate

followUpBefore

protected Date followUpBefore

followUpAfter

protected Date followUpAfter

caseDefinitionId

protected String caseDefinitionId

caseDefinitionKey

protected String caseDefinitionKey

caseDefinitionName

protected String caseDefinitionName

caseInstanceId

protected String caseInstanceId

caseExecutionId

protected String caseExecutionId
Constructor Detail

HistoricTaskInstanceQueryImpl

public HistoricTaskInstanceQueryImpl()

HistoricTaskInstanceQueryImpl

public HistoricTaskInstanceQueryImpl(CommandExecutor commandExecutor)
Method Detail

executeCount

public long executeCount(CommandContext commandContext)
Specified by:
executeCount in class AbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>

executeList

public List<HistoricTaskInstance> executeList(CommandContext commandContext,
                                              Page page)
Description copied from class: AbstractQuery
Executes the actual query to retrieve the list of results.

Specified by:
executeList in class AbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
page - used if the results must be paged. If null, no paging will be applied.

processInstanceId

public HistoricTaskInstanceQueryImpl processInstanceId(String processInstanceId)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances for the given process instance.

Specified by:
processInstanceId in interface HistoricTaskInstanceQuery

executionId

public HistoricTaskInstanceQueryImpl executionId(String executionId)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances for the given execution.

Specified by:
executionId in interface HistoricTaskInstanceQuery

activityInstanceIdIn

public HistoricTaskInstanceQuery activityInstanceIdIn(String... activityInstanceIds)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances which have one of the given activity instance ids.

Specified by:
activityInstanceIdIn in interface HistoricTaskInstanceQuery

processDefinitionId

public HistoricTaskInstanceQueryImpl processDefinitionId(String processDefinitionId)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances for the given process definition.

Specified by:
processDefinitionId in interface HistoricTaskInstanceQuery

processDefinitionKey

public HistoricTaskInstanceQuery processDefinitionKey(String processDefinitionKey)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances which are part of a (historic) process instance which has the given process definition key.

Specified by:
processDefinitionKey in interface HistoricTaskInstanceQuery

processDefinitionName

public HistoricTaskInstanceQuery processDefinitionName(String processDefinitionName)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances which are part of a (historic) process instance which has the given definition name.

Specified by:
processDefinitionName in interface HistoricTaskInstanceQuery

taskId

public HistoricTaskInstanceQuery taskId(String taskId)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances for the given task id.

Specified by:
taskId in interface HistoricTaskInstanceQuery

taskName

public HistoricTaskInstanceQueryImpl taskName(String taskName)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances with the given task name. This is the last name given to the task.

Specified by:
taskName in interface HistoricTaskInstanceQuery

taskNameLike

public HistoricTaskInstanceQueryImpl taskNameLike(String taskNameLike)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances with a task name like the given value. This is the last name given to the task. The syntax that should be used is the same as in SQL, eg. %activiti%.

Specified by:
taskNameLike in interface HistoricTaskInstanceQuery

taskParentTaskId

public HistoricTaskInstanceQuery taskParentTaskId(String parentTaskId)
Description copied from interface: HistoricTaskInstanceQuery
Only select subtasks of the given parent task

Specified by:
taskParentTaskId in interface HistoricTaskInstanceQuery

taskDescription

public HistoricTaskInstanceQueryImpl taskDescription(String taskDescription)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances with the given task description. This is the last description given to the task.

Specified by:
taskDescription in interface HistoricTaskInstanceQuery

taskDescriptionLike

public HistoricTaskInstanceQueryImpl taskDescriptionLike(String taskDescriptionLike)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances with a task description like the given value. This is the last description given to the task. The syntax that should be used is the same as in SQL, eg. %activiti%.

Specified by:
taskDescriptionLike in interface HistoricTaskInstanceQuery

taskDeleteReason

public HistoricTaskInstanceQueryImpl taskDeleteReason(String taskDeleteReason)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances with the given task delete reason.

Specified by:
taskDeleteReason in interface HistoricTaskInstanceQuery

taskDeleteReasonLike

public HistoricTaskInstanceQueryImpl taskDeleteReasonLike(String taskDeleteReasonLike)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances with a task description like the given value. The syntax that should be used is the same as in SQL, eg. %activiti%.

Specified by:
taskDeleteReasonLike in interface HistoricTaskInstanceQuery

taskAssignee

public HistoricTaskInstanceQueryImpl taskAssignee(String taskAssignee)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances which were last assigned to the given assignee.

Specified by:
taskAssignee in interface HistoricTaskInstanceQuery

taskAssigneeLike

public HistoricTaskInstanceQueryImpl taskAssigneeLike(String taskAssigneeLike)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances which were last assigned to an assignee like the given value. The syntax that should be used is the same as in SQL, eg. %activiti%.

Specified by:
taskAssigneeLike in interface HistoricTaskInstanceQuery

taskOwner

public HistoricTaskInstanceQueryImpl taskOwner(String taskOwner)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances which have the given owner.

Specified by:
taskOwner in interface HistoricTaskInstanceQuery

taskOwnerLike

public HistoricTaskInstanceQueryImpl taskOwnerLike(String taskOwnerLike)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances which have an owner like the one specified. The syntax that should be used is the same as in SQL, eg. %activiti%.

Specified by:
taskOwnerLike in interface HistoricTaskInstanceQuery

caseDefinitionId

public HistoricTaskInstanceQuery caseDefinitionId(String caseDefinitionId)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances for the given case definition.

Specified by:
caseDefinitionId in interface HistoricTaskInstanceQuery

caseDefinitionKey

public HistoricTaskInstanceQuery caseDefinitionKey(String caseDefinitionKey)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances which are part of a case instance which has the given case definition key.

Specified by:
caseDefinitionKey in interface HistoricTaskInstanceQuery

caseDefinitionName

public HistoricTaskInstanceQuery caseDefinitionName(String caseDefinitionName)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances which are part of a (historic) case instance which has the given case definition name.

Specified by:
caseDefinitionName in interface HistoricTaskInstanceQuery

caseInstanceId

public HistoricTaskInstanceQuery caseInstanceId(String caseInstanceId)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances for the given case instance.

Specified by:
caseInstanceId in interface HistoricTaskInstanceQuery

caseExecutionId

public HistoricTaskInstanceQuery caseExecutionId(String caseExecutionId)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances for the given case execution id.

Specified by:
caseExecutionId in interface HistoricTaskInstanceQuery

finished

public HistoricTaskInstanceQueryImpl finished()
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances which are finished.

Specified by:
finished in interface HistoricTaskInstanceQuery

unfinished

public HistoricTaskInstanceQueryImpl unfinished()
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances which aren't finished yet.

Specified by:
unfinished in interface HistoricTaskInstanceQuery

taskVariableValueEquals

public HistoricTaskInstanceQueryImpl taskVariableValueEquals(String variableName,
                                                             Object variableValue)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances which have a local task variable with the given name set to the given value. The last variable value in the variable updates (HistoricDetail) will be used, so make sure history-level is configured to full when this feature is used.

Specified by:
taskVariableValueEquals in interface HistoricTaskInstanceQuery

processVariableValueEquals

public HistoricTaskInstanceQuery processVariableValueEquals(String variableName,
                                                            Object variableValue)
Description copied from interface: HistoricTaskInstanceQuery
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. The last variable value in the variable updates (HistoricDetail) will be used, so make sure history-level is configured to full when this feature is used.

Specified by:
processVariableValueEquals in interface HistoricTaskInstanceQuery

taskDefinitionKey

public HistoricTaskInstanceQuery taskDefinitionKey(String taskDefinitionKey)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances with the given task definition key.

Specified by:
taskDefinitionKey in interface HistoricTaskInstanceQuery
See Also:
Task.getTaskDefinitionKey()

taskPriority

public HistoricTaskInstanceQuery taskPriority(Integer taskPriority)
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances with the given priority.

Specified by:
taskPriority in interface HistoricTaskInstanceQuery

processFinished

public HistoricTaskInstanceQuery processFinished()
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances which are part of a process instance which is already finished.

Specified by:
processFinished in interface HistoricTaskInstanceQuery

processUnfinished

public HistoricTaskInstanceQuery processUnfinished()
Description copied from interface: HistoricTaskInstanceQuery
Only select historic task instances which are part of a process instance which is not finished yet.

Specified by:
processUnfinished in interface HistoricTaskInstanceQuery

ensureVariablesInitialized

protected void ensureVariablesInitialized()

taskDueDate

public HistoricTaskInstanceQuery taskDueDate(Date dueDate)
Description copied from interface: HistoricTaskInstanceQuery
Only select select historic task instances with the given due date.

Specified by:
taskDueDate in interface HistoricTaskInstanceQuery

taskDueAfter

public HistoricTaskInstanceQuery taskDueAfter(Date dueAfter)
Description copied from interface: HistoricTaskInstanceQuery
Only select select historic task instances which have a due date after the given date.

Specified by:
taskDueAfter in interface HistoricTaskInstanceQuery

taskDueBefore

public HistoricTaskInstanceQuery taskDueBefore(Date dueBefore)
Description copied from interface: HistoricTaskInstanceQuery
Only select select historic task instances which have a due date before the given date.

Specified by:
taskDueBefore in interface HistoricTaskInstanceQuery

taskFollowUpDate

public HistoricTaskInstanceQuery taskFollowUpDate(Date followUpDate)
Description copied from interface: HistoricTaskInstanceQuery
Only select select historic task instances with the given follow-up date.

Specified by:
taskFollowUpDate in interface HistoricTaskInstanceQuery

taskFollowUpBefore

public HistoricTaskInstanceQuery taskFollowUpBefore(Date followUpBefore)
Description copied from interface: HistoricTaskInstanceQuery
Only select select historic task instances which have a follow-up date before the given date.

Specified by:
taskFollowUpBefore in interface HistoricTaskInstanceQuery

taskFollowUpAfter

public HistoricTaskInstanceQuery taskFollowUpAfter(Date followUpAfter)
Description copied from interface: HistoricTaskInstanceQuery
Only select select historic task instances which have a follow-up date after the given date.

Specified by:
taskFollowUpAfter in interface HistoricTaskInstanceQuery

orderByTaskId

public HistoricTaskInstanceQueryImpl orderByTaskId()
Description copied from interface: HistoricTaskInstanceQuery
Order by task id (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByTaskId in interface HistoricTaskInstanceQuery

orderByHistoricActivityInstanceId

public HistoricTaskInstanceQueryImpl orderByHistoricActivityInstanceId()
Description copied from interface: HistoricTaskInstanceQuery
Order by the historic activity instance id this task was used in (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByHistoricActivityInstanceId in interface HistoricTaskInstanceQuery

orderByProcessDefinitionId

public HistoricTaskInstanceQueryImpl orderByProcessDefinitionId()
Description copied from interface: HistoricTaskInstanceQuery
Order by process definition id (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByProcessDefinitionId in interface HistoricTaskInstanceQuery

orderByProcessInstanceId

public HistoricTaskInstanceQueryImpl orderByProcessInstanceId()
Description copied from interface: HistoricTaskInstanceQuery
Order by process instance id (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByProcessInstanceId in interface HistoricTaskInstanceQuery

orderByExecutionId

public HistoricTaskInstanceQueryImpl orderByExecutionId()
Description copied from interface: HistoricTaskInstanceQuery
Order by execution id (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByExecutionId in interface HistoricTaskInstanceQuery

orderByHistoricTaskInstanceDuration

public HistoricTaskInstanceQueryImpl orderByHistoricTaskInstanceDuration()
Description copied from interface: HistoricTaskInstanceQuery
Order by duration (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByHistoricTaskInstanceDuration in interface HistoricTaskInstanceQuery

orderByHistoricTaskInstanceEndTime

public HistoricTaskInstanceQueryImpl orderByHistoricTaskInstanceEndTime()
Description copied from interface: HistoricTaskInstanceQuery
Order by end time (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByHistoricTaskInstanceEndTime in interface HistoricTaskInstanceQuery

orderByHistoricActivityInstanceStartTime

public HistoricTaskInstanceQueryImpl orderByHistoricActivityInstanceStartTime()
Description copied from interface: HistoricTaskInstanceQuery
Order by start time (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByHistoricActivityInstanceStartTime in interface HistoricTaskInstanceQuery

orderByTaskName

public HistoricTaskInstanceQueryImpl orderByTaskName()
Description copied from interface: HistoricTaskInstanceQuery
Order by task name (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByTaskName in interface HistoricTaskInstanceQuery

orderByTaskDescription

public HistoricTaskInstanceQueryImpl orderByTaskDescription()
Description copied from interface: HistoricTaskInstanceQuery
Order by task description (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByTaskDescription in interface HistoricTaskInstanceQuery

orderByTaskAssignee

public HistoricTaskInstanceQuery orderByTaskAssignee()
Description copied from interface: HistoricTaskInstanceQuery
Order by task assignee (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByTaskAssignee in interface HistoricTaskInstanceQuery

orderByTaskOwner

public HistoricTaskInstanceQuery orderByTaskOwner()
Description copied from interface: HistoricTaskInstanceQuery
Order by task owner (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByTaskOwner in interface HistoricTaskInstanceQuery

orderByTaskDueDate

public HistoricTaskInstanceQuery orderByTaskDueDate()
Description copied from interface: HistoricTaskInstanceQuery
Order by task due date (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByTaskDueDate in interface HistoricTaskInstanceQuery

orderByTaskFollowUpDate

public HistoricTaskInstanceQuery orderByTaskFollowUpDate()
Description copied from interface: HistoricTaskInstanceQuery
Order by task follow-up date (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByTaskFollowUpDate in interface HistoricTaskInstanceQuery

orderByDeleteReason

public HistoricTaskInstanceQueryImpl orderByDeleteReason()
Description copied from interface: HistoricTaskInstanceQuery
Order by task delete reason (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByDeleteReason in interface HistoricTaskInstanceQuery

orderByTaskDefinitionKey

public HistoricTaskInstanceQuery orderByTaskDefinitionKey()
Description copied from interface: HistoricTaskInstanceQuery
Order by task definition key (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByTaskDefinitionKey in interface HistoricTaskInstanceQuery

orderByTaskPriority

public HistoricTaskInstanceQuery orderByTaskPriority()
Description copied from interface: HistoricTaskInstanceQuery
Order by task priority key (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByTaskPriority in interface HistoricTaskInstanceQuery

orderByCaseDefinitionId

public HistoricTaskInstanceQuery orderByCaseDefinitionId()
Description copied from interface: HistoricTaskInstanceQuery
Order by case definition id (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByCaseDefinitionId in interface HistoricTaskInstanceQuery

orderByCaseInstanceId

public HistoricTaskInstanceQuery orderByCaseInstanceId()
Description copied from interface: HistoricTaskInstanceQuery
Order by case instance id (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByCaseInstanceId in interface HistoricTaskInstanceQuery

orderByCaseExecutionId

public HistoricTaskInstanceQuery orderByCaseExecutionId()
Description copied from interface: HistoricTaskInstanceQuery
Order by case execution id (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByCaseExecutionId in interface HistoricTaskInstanceQuery

getProcessInstanceId

public String getProcessInstanceId()

getExecutionId

public String getExecutionId()

getActivityInstanceIds

public String[] getActivityInstanceIds()

getProcessDefinitionId

public String getProcessDefinitionId()

isFinished

public boolean isFinished()

isUnfinished

public boolean isUnfinished()

getTaskName

public String getTaskName()

getTaskNameLike

public String getTaskNameLike()

getTaskDescription

public String getTaskDescription()

getTaskDescriptionLike

public String getTaskDescriptionLike()

getTaskDeleteReason

public String getTaskDeleteReason()

getTaskDeleteReasonLike

public String getTaskDeleteReasonLike()

getTaskAssignee

public String getTaskAssignee()

getTaskAssigneeLike

public String getTaskAssigneeLike()

getTaskId

public String getTaskId()

getTaskDefinitionKey

public String getTaskDefinitionKey()

getVariables

public List<TaskQueryVariableValue> getVariables()

getTaskOwnerLike

public String getTaskOwnerLike()

getTaskOwner

public String getTaskOwner()

getTaskParentTaskId

public String getTaskParentTaskId()

getCaseDefinitionId

public String getCaseDefinitionId()

getCaseDefinitionKey

public String getCaseDefinitionKey()

getCaseDefinitionName

public String getCaseDefinitionName()

getCaseInstanceId

public String getCaseInstanceId()

getCaseExecutionId

public String getCaseExecutionId()


Copyright © 2014 camunda services GmbH. All rights reserved.