public class HistoricTaskInstanceQueryImpl extends AbstractVariableQueryImpl<HistoricTaskInstanceQuery,HistoricTaskInstance> implements HistoricTaskInstanceQuery
queryVariableValuescommandContext, commandExecutor, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESCdatabaseType, firstResult, maxResults, parameter| Constructor and Description |
|---|
HistoricTaskInstanceQueryImpl() |
HistoricTaskInstanceQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkQueryOk() |
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.
|
HistoricTaskInstanceQuery |
finished()
Only select historic task instances which are finished.
|
String |
getCandidateGroup() |
List<String> |
getCandidateGroups() |
String |
getCandidateUser() |
Date |
getCreationDate() |
String |
getExecutionId() |
protected List<String> |
getGroupsForCandidateUser(String candidateUser) |
String |
getInvolvedUser() |
String |
getMssqlOrDB2OrderBy() |
String |
getProcessDefinitionId() |
String |
getProcessInstanceBusinessKey() |
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() |
HistoricTaskInstanceQuery |
includeProcessVariables()
Include global task variables in the task query result
|
HistoricTaskInstanceQuery |
includeTaskLocalVariables()
Include local task variables in the task query result
|
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()). |
HistoricTaskInstanceQuery |
orderByHistoricTaskInstanceStartTime()
Order by start 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()). |
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()). |
HistoricTaskInstanceQuery |
orderByTenantId()
Order by tenant id (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 |
processDefinitionKeyLike(String processDefinitionKeyLike)
Only select historic task instances which are part of a (historic) process instance
which has a process definition key like the given value.
|
HistoricTaskInstanceQuery |
processDefinitionName(String processDefinitionName)
Only select historic task instances which are part of a (historic) process instance
which has the given definition name.
|
HistoricTaskInstanceQuery |
processDefinitionNameLike(String processDefinitionNameLike)
Only select historic task instances which are part of a (historic) process instance
which has a definition name like the given value.
|
HistoricTaskInstanceQuery |
processFinished()
Only select historic task instances which are part of a process
instance which is already finished.
|
HistoricTaskInstanceQueryImpl |
processInstanceBusinessKey(String processInstanceBusinessKey)
Only select historic process instances with the given business key
|
HistoricTaskInstanceQueryImpl |
processInstanceBusinessKeyLike(String processInstanceBusinessKeyLike)
Only select historic process instances with a business key like the given value
The syntax that should be used is the same as in SQL, eg.
|
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(Object variableValue)
Only select tasks which are part of a process that has at least one variable
with the given value.
|
HistoricTaskInstanceQuery |
processVariableValueEquals(String variableName,
Object variableValue)
Only select tasks which are part of a process that has a variable
with the given name set to the given value.
|
HistoricTaskInstanceQuery |
processVariableValueEqualsIgnoreCase(String name,
String value)
Only select tasks which are part of a process that has a local string variable which
is not the given value, case insensitive.
|
HistoricTaskInstanceQuery |
processVariableValueGreaterThan(String name,
Object value)
Only select tasks which have a global variable value greater than the
passed value when they ended.
|
HistoricTaskInstanceQuery |
processVariableValueGreaterThanOrEqual(String name,
Object value)
Only select tasks which have a global variable value greater than or
equal to the passed value when they ended.
|
HistoricTaskInstanceQuery |
processVariableValueLessThan(String name,
Object value)
Only select tasks which have a global variable value less than the
passed value when the ended.Booleans,
Byte-arrays and
Serializable objects (which are not primitive type
wrappers) are not supported. |
HistoricTaskInstanceQuery |
processVariableValueLessThanOrEqual(String name,
Object value)
Only select tasks which have a global variable value less than or equal
to the passed value when they ended.
|
HistoricTaskInstanceQuery |
processVariableValueLike(String name,
String value)
Only select tasks which have a global variable value like the given value
when they ended.
|
HistoricTaskInstanceQuery |
processVariableValueNotEquals(String variableName,
Object variableValue)
Only select tasks which have a variable with the given name, but
with a different value than the passed value.
|
HistoricTaskInstanceQuery |
processVariableValueNotEqualsIgnoreCase(String name,
String value)
Only select tasks which are part of a process that has a string variable with
the given value, case insensitive.
|
HistoricTaskInstanceQuery |
taskAssignee(String taskAssignee)
Only select historic task instances which were last assigned to the given assignee.
|
HistoricTaskInstanceQuery |
taskAssigneeLike(String taskAssigneeLike)
Only select historic task instances which were last assigned to an assignee like
the given value.
|
HistoricTaskInstanceQuery |
taskCandidateGroup(String candidateGroup)
Only select historic tasks for which users in the given group are candidates.
|
HistoricTaskInstanceQuery |
taskCandidateGroupIn(List<String> candidateGroups)
Only select tasks for which the 'candidateGroup' is one of the given groups.
|
HistoricTaskInstanceQuery |
taskCandidateUser(String candidateUser)
Only select historic tasks for which the given user is a candidate.
|
HistoricTaskInstanceQuery |
taskCategory(String category)
Only select tasks with the given category.
|
HistoricTaskInstanceQuery |
taskCompletedAfter(Date completedAfterDate)
Only select select historic task instances which are completed after the given date
|
HistoricTaskInstanceQuery |
taskCompletedBefore(Date completedBeforeDate)
Only select select historic task instances which are completed before the given date
|
HistoricTaskInstanceQuery |
taskCompletedOn(Date completedDate)
Only select select historic task instances which are completed on the given date
|
HistoricTaskInstanceQuery |
taskCreatedAfter(Date creationAfterDate)
Only select select historic task instances which are created after the given date
|
HistoricTaskInstanceQuery |
taskCreatedBefore(Date creationBeforeDate)
Only select select historic task instances which are created before the given date
|
HistoricTaskInstanceQuery |
taskCreatedOn(Date creationDate)
Only select select historic task instances which are created on the given date
|
HistoricTaskInstanceQuery |
taskDefinitionKey(String taskDefinitionKey)
Only select historic task instances with the given task definition key.
|
HistoricTaskInstanceQuery |
taskDefinitionKeyLike(String taskDefinitionKeyLike)
Only select historic task instances with a task definition key like the given value.
|
HistoricTaskInstanceQuery |
taskDeleteReason(String taskDeleteReason)
Only select historic task instances with the given task delete reason.
|
HistoricTaskInstanceQuery |
taskDeleteReasonLike(String taskDeleteReasonLike)
Only select historic task instances with a task description like the given value.
|
HistoricTaskInstanceQuery |
taskDescription(String taskDescription)
Only select historic task instances with the given task description.
|
HistoricTaskInstanceQuery |
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 |
taskId(String taskId)
Only select historic task instances for the given task id.
|
HistoricTaskInstanceQuery |
taskInvolvedUser(String involvedUser)
Only select historic task for which there exist an
HistoricIdentityLink with the given user, including tasks
which have been assigned to the given user (assignee) or owned by the given user (owner). |
HistoricTaskInstanceQuery |
taskMaxPriority(Integer taskMaxPriority)
Only select historic tasks with the given priority or lower.
|
HistoricTaskInstanceQuery |
taskMinPriority(Integer taskMinPriority)
Only select historic tasks with the given priority or higher.
|
HistoricTaskInstanceQuery |
taskName(String taskName)
Only select historic task instances with the given task name.
|
HistoricTaskInstanceQuery |
taskNameLike(String taskNameLike)
Only select historic task instances with a task name like the given value.
|
HistoricTaskInstanceQuery |
taskOwner(String taskOwner)
Only select historic task instances which have the given owner.
|
HistoricTaskInstanceQuery |
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.
|
HistoricTaskInstanceQuery |
taskTenantId(String tenantId)
Only select tasks that have the given tenant id.
|
HistoricTaskInstanceQuery |
taskTenantIdLike(String tenantIdLike)
Only select tasks with a tenant id like the given one.
|
HistoricTaskInstanceQuery |
taskVariableValueEquals(Object variableValue)
Only select tasks which have at least one local task variable with the given value.
|
HistoricTaskInstanceQuery |
taskVariableValueEquals(String variableName,
Object variableValue)
Only select tasks which have a local task variable with the given name
set to the given value.
|
HistoricTaskInstanceQuery |
taskVariableValueEqualsIgnoreCase(String name,
String value)
Only select tasks which have a local string variable with the given value,
case insensitive.
|
HistoricTaskInstanceQuery |
taskVariableValueGreaterThan(String name,
Object value)
Only select tasks which have a local variable value greater than the
passed value when they ended.
|
HistoricTaskInstanceQuery |
taskVariableValueGreaterThanOrEqual(String name,
Object value)
Only select tasks which have a local variable value greater than or
equal to the passed value when they ended.
|
HistoricTaskInstanceQuery |
taskVariableValueLessThan(String name,
Object value)
Only select tasks which have a local variable value less than the
passed value when the ended.Booleans,
Byte-arrays and
Serializable objects (which are not primitive type
wrappers) are not supported. |
HistoricTaskInstanceQuery |
taskVariableValueLessThanOrEqual(String name,
Object value)
Only select tasks which have a local variable value less than or equal
to the passed value when they ended.
|
HistoricTaskInstanceQuery |
taskVariableValueLike(String name,
String value)
Only select tasks which have a local variable value like the given value
when they ended.
|
HistoricTaskInstanceQuery |
taskVariableValueNotEquals(String variableName,
Object variableValue)
Only select tasks which have a local task variable with the given name, but
with a different value than the passed value.
|
HistoricTaskInstanceQuery |
taskVariableValueNotEqualsIgnoreCase(String name,
String value)
Only select tasks which have a local string variable with is not the given value,
case insensitive.
|
HistoricTaskInstanceQuery |
taskWithoutTenantId()
Only select tasks that do not have a tenant id.
|
HistoricTaskInstanceQuery |
unfinished()
Only select historic task instances which aren't finished yet.
|
HistoricTaskInstanceQuery |
withoutTaskDueDate()
Only select historic tasks instances with no due date.
|
getQueryVariableValues, variableValueEquals, variableValueEquals, variableValueEquals, variableValueEquals, variableValueEqualsIgnoreCase, variableValueEqualsIgnoreCase, variableValueGreaterThan, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThan, variableValueLessThanOrEqual, variableValueLessThanOrEqual, variableValueLike, variableValueLike, variableValueNotEquals, variableValueNotEquals, variableValueNotEqualsIgnoreCase, variableValueNotEqualsIgnoreCaseaddOrder, asc, count, desc, direction, execute, executeSingleResult, getOrderBy, list, listPage, orderBy, setCommandExecutor, singleResultgetDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setParameterprotected String processDefinitionId
protected String processDefinitionKey
protected String processDefinitionKeyLike
protected String processDefinitionName
protected String processDefinitionNameLike
protected String processInstanceId
protected String processInstanceBusinessKey
protected String processInstanceBusinessKeyLike
protected String executionId
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 String taskDefinitionKeyLike
protected String candidateUser
protected String candidateGroup
protected String involvedUser
protected Integer taskPriority
protected Integer taskMinPriority
protected Integer taskMaxPriority
protected boolean finished
protected boolean unfinished
protected boolean processFinished
protected boolean processUnfinished
protected Date dueDate
protected Date dueAfter
protected Date dueBefore
protected boolean withoutDueDate
protected Date creationDate
protected Date creationAfterDate
protected Date creationBeforeDate
protected Date completedDate
protected Date completedAfterDate
protected Date completedBeforeDate
protected String category
protected String tenantId
protected String tenantIdLike
protected boolean withoutTenantId
protected boolean includeTaskLocalVariables
protected boolean includeProcessVariables
public HistoricTaskInstanceQueryImpl()
public HistoricTaskInstanceQueryImpl(CommandExecutor commandExecutor)
public long executeCount(CommandContext commandContext)
executeCount in class AbstractVariableQueryImpl<HistoricTaskInstanceQuery,HistoricTaskInstance>public List<HistoricTaskInstance> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList in class AbstractVariableQueryImpl<HistoricTaskInstanceQuery,HistoricTaskInstance>page - used if the results must be paged. If null, no paging will be applied.public HistoricTaskInstanceQueryImpl processInstanceId(String processInstanceId)
HistoricTaskInstanceQueryprocessInstanceId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl processInstanceBusinessKey(String processInstanceBusinessKey)
HistoricTaskInstanceQueryprocessInstanceBusinessKey in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl processInstanceBusinessKeyLike(String processInstanceBusinessKeyLike)
HistoricTaskInstanceQueryprocessInstanceBusinessKeyLike in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl executionId(String executionId)
HistoricTaskInstanceQueryexecutionId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl processDefinitionId(String processDefinitionId)
HistoricTaskInstanceQueryprocessDefinitionId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processDefinitionKey(String processDefinitionKey)
HistoricTaskInstanceQueryprocessDefinitionKey in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processDefinitionKeyLike(String processDefinitionKeyLike)
HistoricTaskInstanceQueryprocessDefinitionKeyLike in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processDefinitionName(String processDefinitionName)
HistoricTaskInstanceQueryprocessDefinitionName in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processDefinitionNameLike(String processDefinitionNameLike)
HistoricTaskInstanceQueryprocessDefinitionNameLike in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskId(String taskId)
HistoricTaskInstanceQuerytaskId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskName(String taskName)
HistoricTaskInstanceQuerytaskName in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskNameLike(String taskNameLike)
HistoricTaskInstanceQuerytaskNameLike in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskParentTaskId(String parentTaskId)
HistoricTaskInstanceQuerytaskParentTaskId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskDescription(String taskDescription)
HistoricTaskInstanceQuerytaskDescription in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskDescriptionLike(String taskDescriptionLike)
HistoricTaskInstanceQuerytaskDescriptionLike in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskDeleteReason(String taskDeleteReason)
HistoricTaskInstanceQuerytaskDeleteReason in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskDeleteReasonLike(String taskDeleteReasonLike)
HistoricTaskInstanceQuerytaskDeleteReasonLike in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskAssignee(String taskAssignee)
HistoricTaskInstanceQuerytaskAssignee in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskAssigneeLike(String taskAssigneeLike)
HistoricTaskInstanceQuerytaskAssigneeLike in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskOwner(String taskOwner)
HistoricTaskInstanceQuerytaskOwner in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskOwnerLike(String taskOwnerLike)
HistoricTaskInstanceQuerytaskOwnerLike in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery finished()
HistoricTaskInstanceQueryfinished in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery unfinished()
HistoricTaskInstanceQueryunfinished in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskVariableValueEquals(String variableName, Object variableValue)
HistoricTaskInstanceQuerytaskVariableValueEquals in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskVariableValueEquals(Object variableValue)
HistoricTaskInstanceQuerytaskVariableValueEquals in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskVariableValueEqualsIgnoreCase(String name, String value)
HistoricTaskInstanceQueryThis method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
taskVariableValueEqualsIgnoreCase in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskVariableValueNotEqualsIgnoreCase(String name, String value)
HistoricTaskInstanceQueryThis method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
taskVariableValueNotEqualsIgnoreCase in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskVariableValueNotEquals(String variableName, Object variableValue)
HistoricTaskInstanceQuerySerializable objects (which are not primitive type wrappers)
are not supported.taskVariableValueNotEquals in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskVariableValueGreaterThan(String name, Object value)
HistoricTaskInstanceQuerySerializable objects (which are not primitive type wrappers) are
not supported.taskVariableValueGreaterThan in interface HistoricTaskInstanceQueryname - cannot be null.value - cannot be null.public HistoricTaskInstanceQuery taskVariableValueGreaterThanOrEqual(String name, Object value)
HistoricTaskInstanceQuerySerializable objects (which are not primitive type wrappers) are
not supported.taskVariableValueGreaterThanOrEqual in interface HistoricTaskInstanceQueryname - cannot be null.value - cannot be null.public HistoricTaskInstanceQuery taskVariableValueLessThan(String name, Object value)
HistoricTaskInstanceQuerySerializable objects (which are not primitive type
wrappers) are not supported.taskVariableValueLessThan in interface HistoricTaskInstanceQueryname - cannot be null.value - cannot be null.public HistoricTaskInstanceQuery taskVariableValueLessThanOrEqual(String name, Object value)
HistoricTaskInstanceQuerySerializable objects (which are not primitive type
wrappers) are not supported.taskVariableValueLessThanOrEqual in interface HistoricTaskInstanceQueryname - cannot be null.value - cannot be null.public HistoricTaskInstanceQuery taskVariableValueLike(String name, String value)
HistoricTaskInstanceQuerytaskVariableValueLike in interface HistoricTaskInstanceQueryname - 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 HistoricTaskInstanceQuery processVariableValueEquals(String variableName, Object variableValue)
HistoricTaskInstanceQueryprocessVariableValueEquals in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processVariableValueNotEquals(String variableName, Object variableValue)
HistoricTaskInstanceQuerySerializable objects (which are not primitive type wrappers)
are not supported.processVariableValueNotEquals in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processVariableValueEquals(Object variableValue)
HistoricTaskInstanceQueryprocessVariableValueEquals in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processVariableValueEqualsIgnoreCase(String name, String value)
HistoricTaskInstanceQueryThis method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
processVariableValueEqualsIgnoreCase in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processVariableValueNotEqualsIgnoreCase(String name, String value)
HistoricTaskInstanceQueryThis method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
processVariableValueNotEqualsIgnoreCase in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processVariableValueGreaterThan(String name, Object value)
HistoricTaskInstanceQuerySerializable objects (which are not primitive type wrappers) are
not supported.processVariableValueGreaterThan in interface HistoricTaskInstanceQueryname - cannot be null.value - cannot be null.public HistoricTaskInstanceQuery processVariableValueGreaterThanOrEqual(String name, Object value)
HistoricTaskInstanceQuerySerializable objects (which are not primitive type wrappers) are
not supported.processVariableValueGreaterThanOrEqual in interface HistoricTaskInstanceQueryname - cannot be null.value - cannot be null.public HistoricTaskInstanceQuery processVariableValueLessThan(String name, Object value)
HistoricTaskInstanceQuerySerializable objects (which are not primitive type
wrappers) are not supported.processVariableValueLessThan in interface HistoricTaskInstanceQueryname - cannot be null.value - cannot be null.public HistoricTaskInstanceQuery processVariableValueLessThanOrEqual(String name, Object value)
HistoricTaskInstanceQuerySerializable objects (which are not primitive type
wrappers) are not supported.processVariableValueLessThanOrEqual in interface HistoricTaskInstanceQueryname - cannot be null.value - cannot be null.public HistoricTaskInstanceQuery processVariableValueLike(String name, String value)
HistoricTaskInstanceQueryprocessVariableValueLike in interface HistoricTaskInstanceQueryname - 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 HistoricTaskInstanceQuery taskDefinitionKey(String taskDefinitionKey)
HistoricTaskInstanceQuerytaskDefinitionKey in interface HistoricTaskInstanceQueryTask.getTaskDefinitionKey()public HistoricTaskInstanceQuery taskDefinitionKeyLike(String taskDefinitionKeyLike)
HistoricTaskInstanceQuerytaskDefinitionKeyLike in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskPriority(Integer taskPriority)
HistoricTaskInstanceQuerytaskPriority in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskMinPriority(Integer taskMinPriority)
HistoricTaskInstanceQuerytaskMinPriority in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskMaxPriority(Integer taskMaxPriority)
HistoricTaskInstanceQuerytaskMaxPriority in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processFinished()
HistoricTaskInstanceQueryprocessFinished in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processUnfinished()
HistoricTaskInstanceQueryprocessUnfinished in interface HistoricTaskInstanceQueryprotected void ensureVariablesInitialized()
ensureVariablesInitialized in class AbstractVariableQueryImpl<HistoricTaskInstanceQuery,HistoricTaskInstance>public HistoricTaskInstanceQuery taskDueDate(Date dueDate)
HistoricTaskInstanceQuerytaskDueDate in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskDueAfter(Date dueAfter)
HistoricTaskInstanceQuerytaskDueAfter in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskDueBefore(Date dueBefore)
HistoricTaskInstanceQuerytaskDueBefore in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskCreatedOn(Date creationDate)
HistoricTaskInstanceQuerytaskCreatedOn in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskCreatedBefore(Date creationBeforeDate)
HistoricTaskInstanceQuerytaskCreatedBefore in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskCreatedAfter(Date creationAfterDate)
HistoricTaskInstanceQuerytaskCreatedAfter in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskCompletedOn(Date completedDate)
HistoricTaskInstanceQuerytaskCompletedOn in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskCompletedBefore(Date completedBeforeDate)
HistoricTaskInstanceQuerytaskCompletedBefore in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskCompletedAfter(Date completedAfterDate)
HistoricTaskInstanceQuerytaskCompletedAfter in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery withoutTaskDueDate()
HistoricTaskInstanceQuerywithoutTaskDueDate in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskCategory(String category)
HistoricTaskInstanceQuerytaskCategory in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskCandidateUser(String candidateUser)
HistoricTaskInstanceQuerytaskCandidateUser in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskCandidateGroup(String candidateGroup)
HistoricTaskInstanceQuerytaskCandidateGroup in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskCandidateGroupIn(List<String> candidateGroups)
HistoricTaskInstanceQuerytaskCandidateGroupIn in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskInvolvedUser(String involvedUser)
HistoricTaskInstanceQueryHistoricIdentityLink with the given user, including tasks
which have been assigned to the given user (assignee) or owned by the given user (owner).taskInvolvedUser in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskTenantId(String tenantId)
HistoricTaskInstanceQuerytaskTenantId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskTenantIdLike(String tenantIdLike)
HistoricTaskInstanceQuerytaskTenantIdLike in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskWithoutTenantId()
HistoricTaskInstanceQuerytaskWithoutTenantId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery includeTaskLocalVariables()
HistoricTaskInstanceQueryincludeTaskLocalVariables in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery includeProcessVariables()
HistoricTaskInstanceQueryincludeProcessVariables in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByTaskId()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByTaskId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByHistoricActivityInstanceId()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByHistoricActivityInstanceId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByProcessDefinitionId()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByProcessDefinitionId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByProcessInstanceId()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByProcessInstanceId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByExecutionId()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByExecutionId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByHistoricTaskInstanceDuration()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByHistoricTaskInstanceDuration in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByHistoricTaskInstanceEndTime()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByHistoricTaskInstanceEndTime in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByHistoricActivityInstanceStartTime()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByHistoricActivityInstanceStartTime in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery orderByHistoricTaskInstanceStartTime()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByHistoricTaskInstanceStartTime in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByTaskName()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByTaskName in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByTaskDescription()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByTaskDescription in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery orderByTaskAssignee()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByTaskAssignee in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery orderByTaskOwner()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByTaskOwner in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery orderByTaskDueDate()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByTaskDueDate in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByDeleteReason()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByDeleteReason in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery orderByTaskDefinitionKey()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByTaskDefinitionKey in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery orderByTaskPriority()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByTaskPriority in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery orderByTenantId()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByTenantId in interface HistoricTaskInstanceQueryprotected void checkQueryOk()
checkQueryOk in class AbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>public String getMssqlOrDB2OrderBy()
public String getProcessInstanceId()
public String getProcessInstanceBusinessKey()
public String getExecutionId()
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 String getTaskOwnerLike()
public String getTaskOwner()
public String getTaskParentTaskId()
public Date getCreationDate()
public String getCandidateUser()
public String getCandidateGroup()
public String getInvolvedUser()
Copyright © 2014 Alfresco. All rights reserved.