public class TaskQueryImpl extends AbstractVariableQueryImpl<TaskQuery,Task> implements TaskQuery, CacheAwareQuery<TaskEntity>
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeQuery.NullHandlingOnOrderqueryVariableValues, variableServiceConfigurationcommandContext, commandExecutordatabaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC| Constructor and Description |
|---|
TaskQueryImpl() |
TaskQueryImpl(CommandContext commandContext,
TaskServiceConfiguration taskServiceConfiguration,
VariableServiceConfiguration variableServiceConfiguration,
IdmIdentityService idmIdentityService) |
TaskQueryImpl(CommandExecutor commandExecutor,
String databaseType,
TaskServiceConfiguration taskServiceConfiguration,
VariableServiceConfiguration variableServiceConfiguration,
IdmIdentityService idmIdentityService) |
TaskQueryImpl(CommandExecutor commandExecutor,
TaskServiceConfiguration taskServiceConfiguration,
VariableServiceConfiguration variableServiceConfiguration,
IdmIdentityService idmIdentityService) |
| Modifier and Type | Method and Description |
|---|---|
TaskQuery |
active()
Only selects tasks which are active (ie.
|
protected void |
addCachedVariableForQueryById(CommandContext commandContext,
List<Task> results,
boolean local) |
TaskQuery |
caseDefinitionId(String caseDefinitionId)
Only select tasks for the given case definition.
|
TaskQuery |
caseDefinitionKey(String caseDefinitionKey)
Only select tasks which are part of a case instance which has the given case definition key.
|
TaskQuery |
caseDefinitionKeyIn(Collection<String> caseDefinitionKeys)
Only select tasks that have a case definition for which the key is present in the given list
|
TaskQuery |
caseDefinitionKeyLike(String caseDefinitionKeyLike)
Only select tasks which are part of a case instance which has a case definition key like the given value.
|
TaskQuery |
caseDefinitionKeyLikeIgnoreCase(String caseDefinitionKeyLikeIgnoreCase)
Only select tasks which are part of a case instance which has a case definition key like the given value.
|
TaskQuery |
caseInstanceId(String caseInstanceId)
Only select tasks for the given case instance.
|
TaskQuery |
caseInstanceIdWithChildren(String caseInstanceId)
Select all tasks for the given case instance id and its children.
|
TaskQuery |
cmmnDeploymentId(String cmmnDeploymentId)
Only select tasks which are related to a case instance for to the given deployment id.
|
TaskQuery |
cmmnDeploymentIdIn(Collection<String> cmmnDeploymentIds)
Only select tasks which are related to a case instances for the given deployment id.
|
long |
count()
Executes the query and returns the number of results
|
TaskQuery |
deploymentId(String deploymentId)
Only select tasks which are part of a process instance which has the given deployment id.
|
TaskQuery |
deploymentIdIn(Collection<String> deploymentIds)
Only select tasks which are part of a process instance which has the given deployment id.
|
TaskQuery |
dueAfter(Date dueAfter) |
TaskQuery |
dueBefore(Date dueBefore) |
TaskQuery |
dueDate(Date dueDate) |
TaskQuery |
endOr() |
void |
enhanceCachedValue(TaskEntity task) |
protected void |
ensureVariablesInitialized() |
TaskQuery |
excludeSubtasks()
Only select tasks that have no parent (i.e.
|
long |
executeCount(CommandContext commandContext) |
List<Task> |
executeList(CommandContext commandContext)
Executes the actual query to retrieve the list of results.
|
TaskQueryImpl |
executionId(String executionId)
Only select tasks for the given execution.
|
String |
getAssignee() |
Collection<String> |
getAssigneeIds() |
String |
getAssigneeLike() |
String |
getAssigneeLikeIgnoreCase() |
String |
getCandidateGroup() |
Collection<String> |
getCandidateGroups() |
String |
getCandidateUser() |
String |
getCaseDefinitionKey() |
String |
getCaseDefinitionKeyLike() |
String |
getCaseDefinitionKeyLikeIgnoreCase() |
Collection<String> |
getCaseDefinitionKeys() |
String |
getCaseInstanceIdWithChildren() |
String |
getCategory() |
String |
getCmmnDeploymentId() |
Collection<String> |
getCmmnDeploymentIds() |
Date |
getCreateTime() |
Date |
getCreateTimeAfter() |
Date |
getCreateTimeBefore() |
DelegationState |
getDelegationState() |
String |
getDelegationStateString() |
String |
getDeploymentId() |
Collection<String> |
getDeploymentIds() |
String |
getDescription() |
String |
getDescriptionLike() |
String |
getDescriptionLikeIgnoreCase() |
Date |
getDueAfter() |
Date |
getDueBefore() |
Date |
getDueDate() |
boolean |
getExcludeSubtasks() |
String |
getExecutionId() |
String |
getFormKey() |
protected Collection<String> |
getGroupsForCandidateUser(String candidateUser) |
String |
getId() |
Collection<String> |
getInvolvedGroups() |
String |
getInvolvedUser() |
String |
getKey() |
String |
getKeyLike() |
Collection<String> |
getKeys() |
String |
getLocale() |
Integer |
getMaxPriority() |
Integer |
getMinPriority() |
String |
getName() |
String |
getNameLike() |
String |
getNameLikeIgnoreCase() |
Collection<String> |
getNameList() |
Collection<String> |
getNameListIgnoreCase() |
boolean |
getNoDelegationState() |
List<TaskQueryImpl> |
getOrQueryObjects() |
String |
getOwner() |
String |
getOwnerLike() |
String |
getOwnerLikeIgnoreCase() |
Integer |
getPriority() |
Collection<String> |
getProcessCategoryInList() |
Collection<String> |
getProcessCategoryNotInList() |
String |
getProcessDefinitionId() |
String |
getProcessDefinitionKey() |
String |
getProcessDefinitionKeyLike() |
String |
getProcessDefinitionKeyLikeIgnoreCase() |
Collection<String> |
getProcessDefinitionKeys() |
String |
getProcessDefinitionName() |
String |
getProcessDefinitionNameLike() |
String |
getProcessInstanceBusinessKey() |
String |
getProcessInstanceBusinessKeyLike() |
String |
getProcessInstanceBusinessKeyLikeIgnoreCase() |
String |
getProcessInstanceId() |
Collection<String> |
getProcessInstanceIds() |
String |
getProcessInstanceIdWithChildren() |
String |
getPropagatedStageInstanceId() |
List<List<String>> |
getSafeCandidateGroups() |
List<List<String>> |
getSafeInvolvedGroups() |
String |
getScopeDefinitionId() |
String |
getScopeId() |
String |
getScopeType() |
String |
getSubScopeId() |
SuspensionState |
getSuspensionState() |
String |
getTaskDefinitionId() |
String |
getTaskId() |
String |
getTenantId() |
String |
getTenantIdLike() |
boolean |
getUnassigned() |
String |
getUserIdForCandidateAndAssignee() |
TaskQuery |
ignoreAssigneeValue()
Allows to select a task using
TaskInfoQuery.taskCandidateGroup(String) TaskInfoQuery.taskCandidateGroupIn(Collection) or TaskInfoQuery.taskCandidateUser(String) but ignore the assignee value instead of querying for an empty assignee. |
TaskQuery |
includeIdentityLinks()
Include identity links in the task query result
|
TaskQuery |
includeProcessVariables()
Include global task variables in the task query result
|
TaskQuery |
includeTaskLocalVariables()
Include local task variables in the task query result
|
boolean |
isBothCandidateAndAssigned() |
boolean |
isExcludeSubtasks() |
boolean |
isIgnoreAssigneeValue() |
boolean |
isIncludeIdentityLinks() |
boolean |
isIncludeProcessVariables() |
boolean |
isIncludeTaskLocalVariables() |
boolean |
isNoDelegationState() |
boolean |
isOrActive() |
boolean |
isUnassigned() |
boolean |
isWithAssignee() |
boolean |
isWithFormKey() |
boolean |
isWithLocalizationFallback() |
boolean |
isWithoutDueDate() |
boolean |
isWithoutTenantId() |
TaskQuery |
limitTaskVariables(Integer taskVariablesLimit)
Limit task variables
|
List<Task> |
list()
Executes the query and get a list of entities as the result.
|
List<Task> |
listPage(int firstResult,
int maxResults)
Executes the query and get a list of entities as the result.
|
TaskQuery |
locale(String locale)
Localize task name and description to specified locale.
|
TaskQuery |
or()
All query clauses called will be added to a single or-statement.
|
TaskQuery |
orderByCategory()
Order by category (needs to be followed by
Query.asc() or Query.desc()). |
TaskQuery |
orderByDueDate() |
TaskQuery |
orderByDueDateNullsFirst()
Order by due date (needs to be followed by
Query.asc() or Query.desc()). |
TaskQuery |
orderByDueDateNullsLast()
Order by due date (needs to be followed by
Query.asc() or Query.desc()). |
TaskQuery |
orderByExecutionId()
Order by execution id (needs to be followed by
Query.asc() or Query.desc()). |
TaskQuery |
orderByProcessDefinitionId()
Order by process definition id (needs to be followed by
Query.asc() or Query.desc()). |
TaskQuery |
orderByProcessInstanceId()
Order by process instance id (needs to be followed by
Query.asc() or Query.desc()). |
TaskQuery |
orderByTaskAssignee()
Order by assignee (needs to be followed by
Query.asc() or Query.desc()). |
TaskQuery |
orderByTaskCreateTime()
Order by the time on which the tasks were created (needs to be followed by
Query.asc() or Query.desc()). |
TaskQuery |
orderByTaskDefinitionKey()
Order by task definition key (needs to be followed by
Query.asc() or Query.desc()). |
TaskQuery |
orderByTaskDescription()
Order by description (needs to be followed by
Query.asc() or Query.desc()). |
TaskQuery |
orderByTaskDueDate()
Order by task due date (needs to be followed by
Query.asc() or Query.desc()). |
TaskQuery |
orderByTaskId()
Order by task id (needs to be followed by
Query.asc() or Query.desc()). |
TaskQuery |
orderByTaskName()
Order by task name (needs to be followed by
Query.asc() or Query.desc()). |
TaskQuery |
orderByTaskOwner()
Order by task owner (needs to be followed by
Query.asc() or Query.desc()). |
TaskQuery |
orderByTaskPriority()
Order by priority (needs to be followed by
Query.asc() or Query.desc()). |
TaskQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc()). |
TaskQuery |
planItemInstanceId(String planItemInstanceId)
Only select tasks for the given plan item instance.
|
TaskQuery |
processCategoryIn(Collection<String> processCategoryInList)
Only select tasks which are part of a process instance whose definition belongs to the category which is present in the given list.
|
TaskQuery |
processCategoryNotIn(Collection<String> processCategoryNotInList)
Only select tasks which are part of a process instance whose definition does not belong to the category which is present in the given list.
|
TaskQuery |
processDefinitionId(String processDefinitionId)
Only select tasks which are part of a process instance which has the given process definition id.
|
TaskQuery |
processDefinitionKey(String processDefinitionKey)
Only select tasks which are part of a process instance which has the given process definition key.
|
TaskQuery |
processDefinitionKeyIn(Collection<String> processDefinitionKeys)
Only select tasks that have a process definition for which the key is present in the given list
|
TaskQuery |
processDefinitionKeyLike(String processDefinitionKeyLike)
Only select tasks which are part of a process instance which has a process definition key like the given value.
|
TaskQuery |
processDefinitionKeyLikeIgnoreCase(String processDefinitionKeyLikeIgnoreCase)
Only select tasks which are part of a process instance which has a process definition key like the given value.
|
TaskQuery |
processDefinitionName(String processDefinitionName)
Only select tasks which are part of a process instance which has the given process definition name.
|
TaskQuery |
processDefinitionNameLike(String processDefinitionNameLike)
Only select tasks which are part of a process instance which has a process definition name like the given value.
|
TaskQueryImpl |
processInstanceBusinessKey(String processInstanceBusinessKey)
Only select tasks for the given business key
|
TaskQueryImpl |
processInstanceBusinessKeyLike(String processInstanceBusinessKeyLike)
Only select tasks with a business key like the given value The syntax is that of SQL: for example usage: processInstanceBusinessKeyLike("%test%").
|
TaskQuery |
processInstanceBusinessKeyLikeIgnoreCase(String processInstanceBusinessKeyLikeIgnoreCase)
Only select tasks with a business key like the given value The syntax is that of SQL: for example usage: processInstanceBusinessKeyLike("%test%").
|
TaskQueryImpl |
processInstanceId(String processInstanceId)
Only select tasks for the given process instance id.
|
TaskQuery |
processInstanceIdIn(Collection<String> processInstanceIds)
Only select tasks for the given process ids.
|
TaskQuery |
processInstanceIdWithChildren(String processInstanceId)
Select all tasks for the given process instance id and its children.
|
TaskQuery |
processVariableExists(String name)
Only select tasks which have a global variable with the given name.
|
TaskQuery |
processVariableNotExists(String name)
Only select tasks which does not have a global variable with the given name.
|
TaskQuery |
processVariableValueEquals(Object variableValue)
Only select tasks which are part of a process that has at least one variable with the given value.
|
TaskQuery |
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.
|
TaskQuery |
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.
|
TaskQuery |
processVariableValueGreaterThan(String name,
Object value)
Only select tasks which have a global variable value greater than the passed value when they ended.
|
TaskQuery |
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.
|
TaskQuery |
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. |
TaskQuery |
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.
|
TaskQuery |
processVariableValueLike(String name,
String value)
Only select tasks which have a global variable value like the given value when they ended.
|
TaskQuery |
processVariableValueLikeIgnoreCase(String name,
String value)
Only select tasks which have a global variable value like the given value (case insensitive) when they ended.
|
TaskQuery |
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.
|
TaskQuery |
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.
|
TaskQuery |
propagatedStageInstanceId(String propagatedStageInstanceId)
Only select tasks for the given stage, defined through its stage instance id.
|
TaskQueryImpl |
scopeDefinitionId(String scopeDefinitionId)
Only select tasks for the given scope definition identifier.
|
TaskQueryImpl |
scopeId(String scopeId)
Only select tasks for the given scope identifier.
|
TaskQueryImpl |
scopeType(String scopeType)
Only select tasks for the given scope type.
|
void |
setOrQueryObjects(List<TaskQueryImpl> orQueryObjects) |
void |
setSafeCandidateGroups(List<List<String>> safeCandidateGroups) |
void |
setSafeInvolvedGroups(List<List<String>> safeInvolvedGroups) |
TaskQueryImpl |
subScopeId(String subScopeId)
Only select tasks for the given sub scope identifier.
|
TaskQuery |
suspended()
Only selects tasks which are suspended, because its process instance was suspended.
|
TaskQuery |
taskAssigned()
Only select tasks which are assigned to any user
|
TaskQueryImpl |
taskAssignee(String assignee)
Only select tasks which are assigned to the given user.
|
TaskQuery |
taskAssigneeIds(Collection<String> assigneeIds)
Only select tasks with an assignee that is in the given list
|
TaskQueryImpl |
taskAssigneeLike(String assigneeLike)
Only select tasks which were last assigned to an assignee like the given value.
|
TaskQuery |
taskAssigneeLikeIgnoreCase(String assigneeLikeIgnoreCase)
Only select tasks which were last assigned to an assignee like the given value.
|
TaskQueryImpl |
taskCandidateGroup(String candidateGroup)
Only select tasks for which users in the given group are candidates.
|
TaskQuery |
taskCandidateGroupIn(Collection<String> candidateGroups)
Only select tasks for which the 'candidateGroup' is one of the given groups.
|
TaskQuery |
taskCandidateOrAssigned(String userIdForCandidateAndAssignee)
Select tasks that has been claimed or assigned to user or waiting to claim by user (candidate user or groups).
|
TaskQueryImpl |
taskCandidateUser(String candidateUser)
Only select tasks for which the given user is a candidate.
|
TaskQuery |
taskCategory(String category)
Only select tasks with the given category.
|
TaskQuery |
taskCreatedAfter(Date after)
Only select tasks that are created after the given date.
|
TaskQuery |
taskCreatedBefore(Date before)
Only select tasks that are created before the given date.
|
TaskQueryImpl |
taskCreatedOn(Date createTime)
Only select tasks that are created on the given date.
|
TaskQuery |
taskDefinitionId(String taskDefinitionId)
Only select tasks which created from the given task definition referenced by id.
|
TaskQuery |
taskDefinitionKey(String key)
Only select tasks with the given taskDefinitionKey.
|
TaskQuery |
taskDefinitionKeyLike(String keyLike)
Only select tasks with a taskDefinitionKey that match the given parameter.
|
TaskQuery |
taskDefinitionKeys(Collection<String> keys)
Only select tasks with the given taskDefinitionKeys.
|
TaskQuery |
taskDelegationState(DelegationState delegationState)
Only select tasks with the given
DelegationState. |
TaskQueryImpl |
taskDescription(String description)
Only select tasks with the given description.
|
TaskQuery |
taskDescriptionLike(String descriptionLike)
Only select tasks with a description matching the parameter .
|
TaskQuery |
taskDescriptionLikeIgnoreCase(String descriptionLikeIgnoreCase)
Only select tasks with a description matching the parameter .
|
TaskQuery |
taskDueAfter(Date dueDate)
Only select tasks which have a due date after the given date.
|
TaskQuery |
taskDueBefore(Date dueDate)
Only select tasks which have a due date before the given date.
|
TaskQuery |
taskDueDate(Date dueDate)
Only select tasks with the given due date.
|
TaskQuery |
taskFormKey(String formKey)
Only select tasks with the given formKey.
|
TaskQueryImpl |
taskId(String taskId)
Only select tasks with the given task id (in practice, there will be maximum one of this kind)
|
TaskQueryImpl |
taskInvolvedGroups(Collection<String> involvedGroups)
Only select tasks for which there exist an
IdentityLink with the given Groups. |
TaskQueryImpl |
taskInvolvedUser(String involvedUser)
Only select tasks for which there exist an
IdentityLink with the given user, including tasks which have been assigned to the given user (assignee) or owned by the given user (owner). |
TaskQuery |
taskMaxPriority(Integer maxPriority)
Only select tasks with the given priority or lower.
|
TaskQuery |
taskMinPriority(Integer minPriority)
Only select tasks with the given priority or higher.
|
TaskQueryImpl |
taskName(String name)
Only select tasks with the given name
|
TaskQuery |
taskNameIn(Collection<String> nameList)
Only select tasks with a name that is in the given list
|
TaskQuery |
taskNameInIgnoreCase(Collection<String> nameList)
Only select tasks with a name that is in the given list
This method, unlike the
TaskInfoQuery.taskNameIn(Collection) method will not take in account the upper/lower case: both the input parameters as the column value are lowercased when the query is executed. |
TaskQueryImpl |
taskNameLike(String nameLike)
Only select tasks with a name matching the parameter.
|
TaskQuery |
taskNameLikeIgnoreCase(String nameLikeIgnoreCase)
Only select tasks with a name matching the parameter.
|
TaskQueryImpl |
taskOwner(String owner)
Only select tasks for which the given user is the owner.
|
TaskQueryImpl |
taskOwnerLike(String ownerLike)
Only select tasks which were last assigned to an owner like the given value.
|
TaskQuery |
taskOwnerLikeIgnoreCase(String ownerLikeIgnoreCase)
Only select tasks which were last assigned to an owner like the given value.
|
TaskQuery |
taskPriority(Integer priority)
Only select tasks with the given priority.
|
TaskQuery |
taskTenantId(String tenantId)
Only select tasks that have the given tenant id.
|
TaskQuery |
taskTenantIdLike(String tenantIdLike)
Only select tasks with a tenant id like the given one.
|
TaskQuery |
taskUnassigned()
Only select tasks which don't have an assignee.
|
TaskQuery |
taskVariableExists(String name)
Only select tasks which have a local variable with the given name.
|
TaskQuery |
taskVariableNotExists(String name)
Only select tasks which does not have a local variable with the given name.
|
TaskQuery |
taskVariableValueEquals(Object variableValue)
Only select tasks which have at least one local task variable with the given value.
|
TaskQuery |
taskVariableValueEquals(String variableName,
Object variableValue)
Only select tasks which have a local task variable with the given name set to the given value.
|
TaskQuery |
taskVariableValueEqualsIgnoreCase(String name,
String value)
Only select tasks which have a local string variable with the given value, case insensitive.
|
TaskQuery |
taskVariableValueGreaterThan(String name,
Object value)
Only select tasks which have a local variable value greater than the passed value when they ended.
|
TaskQuery |
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.
|
TaskQuery |
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. |
TaskQuery |
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.
|
TaskQuery |
taskVariableValueLike(String name,
String value)
Only select tasks which have a local variable value like the given value when they ended.
|
TaskQuery |
taskVariableValueLikeIgnoreCase(String name,
String value)
Only select tasks which have a local variable value like the given value (case insensitive) when they ended.
|
TaskQuery |
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.
|
TaskQuery |
taskVariableValueNotEqualsIgnoreCase(String name,
String value)
Only select tasks which have a local string variable with is not the given value, case insensitive.
|
TaskQuery |
taskWithFormKey()
Only select tasks with form key.
|
TaskQuery |
taskWithoutTenantId()
Only select tasks that do not have a tenant id.
|
TaskQuery |
withLocalizationFallback()
Instruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.
|
TaskQuery |
withoutDueDate() |
TaskQuery |
withoutTaskDueDate()
Only select tasks with no due date.
|
addVariable, getQueryVariableValues, hasLocalQueryVariableValue, hasNonLocalQueryVariableValue, hasValueComparisonQueryVariables, isBoolean, variableExists, variableExists, variableNotExists, variableNotExists, variableValueEquals, variableValueEquals, variableValueEquals, variableValueEquals, variableValueEqualsIgnoreCase, variableValueEqualsIgnoreCase, variableValueGreaterThan, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThan, variableValueLessThanOrEqual, variableValueLessThanOrEqual, variableValueLike, variableValueLike, variableValueLikeIgnoreCase, variableValueLikeIgnoreCase, variableValueNotEquals, variableValueNotEquals, variableValueNotEqualsIgnoreCase, variableValueNotEqualsIgnoreCaseasc, checkQueryOk, desc, direction, execute, executeSingleResult, orderBy, orderBy, setCommandExecutor, singleResultaddOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameterprotected TaskServiceConfiguration taskServiceConfiguration
protected IdmIdentityService idmIdentityService
protected String taskId
protected String name
protected String nameLike
protected String nameLikeIgnoreCase
protected Collection<String> nameList
protected Collection<String> nameListIgnoreCase
protected String description
protected String descriptionLike
protected String descriptionLikeIgnoreCase
protected Integer priority
protected Integer minPriority
protected Integer maxPriority
protected String assignee
protected String assigneeLike
protected String assigneeLikeIgnoreCase
protected Collection<String> assigneeIds
protected String involvedUser
protected Collection<String> involvedGroups
protected String owner
protected String ownerLike
protected String ownerLikeIgnoreCase
protected boolean unassigned
protected boolean withAssignee
protected boolean noDelegationState
protected DelegationState delegationState
protected String candidateUser
protected String candidateGroup
protected Collection<String> candidateGroups
protected boolean ignoreAssigneeValue
protected String tenantId
protected String tenantIdLike
protected boolean withoutTenantId
protected String processInstanceId
protected Collection<String> processInstanceIds
protected String executionId
protected String scopeId
protected String subScopeId
protected String scopeType
protected String scopeDefinitionId
protected String propagatedStageInstanceId
protected String processInstanceIdWithChildren
protected String caseInstanceIdWithChildren
protected Date createTime
protected Date createTimeBefore
protected Date createTimeAfter
protected String category
protected boolean withFormKey
protected String formKey
protected String taskDefinitionId
protected String key
protected String keyLike
protected Collection<String> keys
protected String processDefinitionKey
protected String processDefinitionKeyLike
protected String processDefinitionKeyLikeIgnoreCase
protected Collection<String> processDefinitionKeys
protected String processDefinitionId
protected String processDefinitionName
protected String processDefinitionNameLike
protected Collection<String> processCategoryInList
protected Collection<String> processCategoryNotInList
protected String deploymentId
protected Collection<String> deploymentIds
protected String cmmnDeploymentId
protected Collection<String> cmmnDeploymentIds
protected String processInstanceBusinessKey
protected String processInstanceBusinessKeyLike
protected String processInstanceBusinessKeyLikeIgnoreCase
protected String caseDefinitionKey
protected String caseDefinitionKeyLike
protected String caseDefinitionKeyLikeIgnoreCase
protected Collection<String> caseDefinitionKeys
protected Date dueDate
protected Date dueBefore
protected Date dueAfter
protected boolean withoutDueDate
protected SuspensionState suspensionState
protected boolean excludeSubtasks
protected boolean includeTaskLocalVariables
protected boolean includeProcessVariables
protected boolean includeIdentityLinks
protected String userIdForCandidateAndAssignee
protected boolean bothCandidateAndAssigned
protected String locale
protected boolean withLocalizationFallback
protected boolean orActive
protected List<TaskQueryImpl> orQueryObjects
protected TaskQueryImpl currentOrQueryObject
public TaskQueryImpl()
public TaskQueryImpl(CommandContext commandContext, TaskServiceConfiguration taskServiceConfiguration, VariableServiceConfiguration variableServiceConfiguration, IdmIdentityService idmIdentityService)
public TaskQueryImpl(CommandExecutor commandExecutor, TaskServiceConfiguration taskServiceConfiguration, VariableServiceConfiguration variableServiceConfiguration, IdmIdentityService idmIdentityService)
public TaskQueryImpl(CommandExecutor commandExecutor, String databaseType, TaskServiceConfiguration taskServiceConfiguration, VariableServiceConfiguration variableServiceConfiguration, IdmIdentityService idmIdentityService)
public TaskQueryImpl taskId(String taskId)
TaskInfoQuerytaskId in interface TaskInfoQuery<TaskQuery,Task>public TaskQueryImpl taskName(String name)
TaskInfoQuerytaskName in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskNameIn(Collection<String> nameList)
TaskInfoQuerytaskNameIn in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskNameInIgnoreCase(Collection<String> nameList)
TaskInfoQueryTaskInfoQuery.taskNameIn(Collection) method will not take in account the upper/lower case: both the input parameters as the column value are lowercased when the query is executed.taskNameInIgnoreCase in interface TaskInfoQuery<TaskQuery,Task>public TaskQueryImpl taskNameLike(String nameLike)
TaskInfoQuerytaskNameLike in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskNameLikeIgnoreCase(String nameLikeIgnoreCase)
TaskInfoQueryTaskInfoQuery.taskNameLike(String) method will not take in account the upper/lower case: both the input parameter as the column value are lowercased when the query is
executed.taskNameLikeIgnoreCase in interface TaskInfoQuery<TaskQuery,Task>public TaskQueryImpl taskDescription(String description)
TaskInfoQuerytaskDescription in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskDescriptionLike(String descriptionLike)
TaskInfoQuerytaskDescriptionLike in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskDescriptionLikeIgnoreCase(String descriptionLikeIgnoreCase)
TaskInfoQueryTaskInfoQuery.taskDescriptionLike(String) method will not take in account the upper/lower case: both the input parameter as the column value are lowercased when the query is
executed.taskDescriptionLikeIgnoreCase in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskPriority(Integer priority)
TaskInfoQuerytaskPriority in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskMinPriority(Integer minPriority)
TaskInfoQuerytaskMinPriority in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskMaxPriority(Integer maxPriority)
TaskInfoQuerytaskMaxPriority in interface TaskInfoQuery<TaskQuery,Task>public TaskQueryImpl taskAssignee(String assignee)
TaskInfoQuerytaskAssignee in interface TaskInfoQuery<TaskQuery,Task>public TaskQueryImpl taskAssigneeLike(String assigneeLike)
TaskInfoQuerytaskAssigneeLike in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskAssigneeLikeIgnoreCase(String assigneeLikeIgnoreCase)
TaskInfoQueryTaskInfoQuery.taskAssigneeLike(String) method will not take in account the upper/lower case: both the input parameter as the column value are lowercased when the query is
executed.taskAssigneeLikeIgnoreCase in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskAssigneeIds(Collection<String> assigneeIds)
TaskInfoQuerytaskAssigneeIds in interface TaskInfoQuery<TaskQuery,Task>public TaskQueryImpl taskOwner(String owner)
TaskInfoQuerytaskOwner in interface TaskInfoQuery<TaskQuery,Task>public TaskQueryImpl taskOwnerLike(String ownerLike)
TaskInfoQuerytaskOwnerLike in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskOwnerLikeIgnoreCase(String ownerLikeIgnoreCase)
TaskInfoQueryTaskInfoQuery.taskOwnerLike(String) method will not take in account the upper/lower case: both the input parameter as the column value are lowercased when the query is
executed.taskOwnerLikeIgnoreCase in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskUnassigned()
TaskInfoQuerytaskUnassigned in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskAssigned()
TaskInfoQuerytaskAssigned in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskDelegationState(DelegationState delegationState)
TaskQueryDelegationState.taskDelegationState in interface TaskQuerypublic TaskQueryImpl taskCandidateUser(String candidateUser)
TaskInfoQuerytaskCandidateUser in interface TaskInfoQuery<TaskQuery,Task>public TaskQueryImpl taskInvolvedUser(String involvedUser)
TaskInfoQueryIdentityLink 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 TaskInfoQuery<TaskQuery,Task>public TaskQueryImpl taskInvolvedGroups(Collection<String> involvedGroups)
TaskInfoQueryIdentityLink with the given Groups.taskInvolvedGroups in interface TaskInfoQuery<TaskQuery,Task>public TaskQueryImpl taskCandidateGroup(String candidateGroup)
TaskInfoQuerytaskCandidateGroup in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskCandidateOrAssigned(String userIdForCandidateAndAssignee)
TaskQueryTaskInfoQuery.taskCandidateGroupIn(Collection) to include tasks that can be
claimed by a user in the given groups while set property dbIdentityUsed to false in process engine configuration or using custom session factory of
GroupIdentityManager.taskCandidateOrAssigned in interface TaskQuerypublic TaskQuery taskCandidateGroupIn(Collection<String> candidateGroups)
TaskInfoQuerytaskCandidateGroupIn in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery ignoreAssigneeValue()
TaskInfoQueryTaskInfoQuery.taskCandidateGroup(String) TaskInfoQuery.taskCandidateGroupIn(Collection) or TaskInfoQuery.taskCandidateUser(String) but ignore the assignee value instead of querying for an empty assignee.ignoreAssigneeValue in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskTenantId(String tenantId)
TaskInfoQuerytaskTenantId in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskTenantIdLike(String tenantIdLike)
TaskInfoQuerytaskTenantIdLike in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskWithoutTenantId()
TaskInfoQuerytaskWithoutTenantId in interface TaskInfoQuery<TaskQuery,Task>public TaskQueryImpl processInstanceId(String processInstanceId)
TaskInfoQueryprocessInstanceId in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery processInstanceIdIn(Collection<String> processInstanceIds)
TaskInfoQueryprocessInstanceIdIn in interface TaskInfoQuery<TaskQuery,Task>public TaskQueryImpl processInstanceBusinessKey(String processInstanceBusinessKey)
TaskInfoQueryprocessInstanceBusinessKey in interface TaskInfoQuery<TaskQuery,Task>public TaskQueryImpl processInstanceBusinessKeyLike(String processInstanceBusinessKeyLike)
TaskInfoQueryprocessInstanceBusinessKeyLike in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery processInstanceBusinessKeyLikeIgnoreCase(String processInstanceBusinessKeyLikeIgnoreCase)
TaskInfoQueryTaskInfoQuery.processInstanceBusinessKeyLike(String) method will not take in account the upper/lower case: both the input parameter as the column value are lowercased when
the query is executed.processInstanceBusinessKeyLikeIgnoreCase in interface TaskInfoQuery<TaskQuery,Task>public TaskQueryImpl executionId(String executionId)
TaskInfoQueryexecutionId in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery caseInstanceId(String caseInstanceId)
TaskInfoQuerycaseInstanceId in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery caseDefinitionId(String caseDefinitionId)
TaskInfoQuerycaseDefinitionId in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery caseDefinitionKey(String caseDefinitionKey)
TaskInfoQuerycaseDefinitionKey in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery caseDefinitionKeyLike(String caseDefinitionKeyLike)
TaskInfoQuerycaseDefinitionKeyLike in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery caseDefinitionKeyLikeIgnoreCase(String caseDefinitionKeyLikeIgnoreCase)
TaskInfoQueryTaskInfoQuery.caseDefinitionKeyLike(String) method will not take in account the upper/lower case: both the input parameter as the column value are lowercased when the
query is executed.caseDefinitionKeyLikeIgnoreCase in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery caseDefinitionKeyIn(Collection<String> caseDefinitionKeys)
TaskInfoQuerycaseDefinitionKeyIn in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery processInstanceIdWithChildren(String processInstanceId)
TaskInfoQueryprocessInstanceIdWithChildren in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery caseInstanceIdWithChildren(String caseInstanceId)
TaskInfoQuerycaseInstanceIdWithChildren in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery planItemInstanceId(String planItemInstanceId)
TaskInfoQueryplanItemInstanceId in interface TaskInfoQuery<TaskQuery,Task>public TaskQueryImpl scopeId(String scopeId)
TaskInfoQueryscopeId in interface TaskInfoQuery<TaskQuery,Task>public TaskQueryImpl subScopeId(String subScopeId)
TaskInfoQuerysubScopeId in interface TaskInfoQuery<TaskQuery,Task>public TaskQueryImpl scopeType(String scopeType)
TaskInfoQueryscopeType in interface TaskInfoQuery<TaskQuery,Task>public TaskQueryImpl scopeDefinitionId(String scopeDefinitionId)
TaskInfoQueryscopeDefinitionId in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery propagatedStageInstanceId(String propagatedStageInstanceId)
TaskInfoQuerypropagatedStageInstanceId in interface TaskInfoQuery<TaskQuery,Task>public TaskQueryImpl taskCreatedOn(Date createTime)
TaskInfoQuerytaskCreatedOn in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskCreatedBefore(Date before)
TaskInfoQuerytaskCreatedBefore in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskCreatedAfter(Date after)
TaskInfoQuerytaskCreatedAfter in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskCategory(String category)
TaskInfoQuerytaskCategory in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskWithFormKey()
TaskInfoQuerytaskWithFormKey in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskFormKey(String formKey)
TaskInfoQuerytaskFormKey in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskDefinitionId(String taskDefinitionId)
TaskInfoQuerytaskDefinitionId in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskDefinitionKey(String key)
TaskInfoQuerytaskDefinitionKey in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskDefinitionKeyLike(String keyLike)
TaskInfoQuerytaskDefinitionKeyLike in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskDefinitionKeys(Collection<String> keys)
TaskInfoQuerytaskDefinitionKeys in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskVariableValueEquals(String variableName, Object variableValue)
TaskInfoQuerytaskVariableValueEquals in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskVariableValueEquals(Object variableValue)
TaskInfoQuerytaskVariableValueEquals in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskVariableValueEqualsIgnoreCase(String name, String value)
TaskInfoQueryThis 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 TaskInfoQuery<TaskQuery,Task>public TaskQuery taskVariableValueNotEqualsIgnoreCase(String name, String value)
TaskInfoQueryThis 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 TaskInfoQuery<TaskQuery,Task>public TaskQuery taskVariableValueNotEquals(String variableName, Object variableValue)
TaskInfoQuerySerializable objects (which are not primitive
type wrappers) are not supported.taskVariableValueNotEquals in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskVariableValueGreaterThan(String name, Object value)
TaskInfoQuerySerializable objects (which are not primitive type wrappers)
are not supported.taskVariableValueGreaterThan in interface TaskInfoQuery<TaskQuery,Task>name - cannot be null.value - cannot be null.public TaskQuery taskVariableValueGreaterThanOrEqual(String name, Object value)
TaskInfoQuerySerializable objects (which are not primitive
type wrappers) are not supported.taskVariableValueGreaterThanOrEqual in interface TaskInfoQuery<TaskQuery,Task>name - cannot be null.value - cannot be null.public TaskQuery taskVariableValueLessThan(String name, Object value)
TaskInfoQuerySerializable objects (which are not primitive type wrappers) are
not supported.taskVariableValueLessThan in interface TaskInfoQuery<TaskQuery,Task>name - cannot be null.value - cannot be null.public TaskQuery taskVariableValueLessThanOrEqual(String name, Object value)
TaskInfoQuerySerializable objects (which are not primitive type
wrappers) are not supported.taskVariableValueLessThanOrEqual in interface TaskInfoQuery<TaskQuery,Task>name - cannot be null.value - cannot be null.public TaskQuery taskVariableValueLike(String name, String value)
TaskInfoQuerytaskVariableValueLike in interface TaskInfoQuery<TaskQuery,Task>name - 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 TaskQuery taskVariableValueLikeIgnoreCase(String name, String value)
TaskInfoQuerytaskVariableValueLikeIgnoreCase in interface TaskInfoQuery<TaskQuery,Task>name - 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 TaskQuery taskVariableExists(String name)
TaskInfoQuerytaskVariableExists in interface TaskInfoQuery<TaskQuery,Task>name - cannot be null.public TaskQuery taskVariableNotExists(String name)
TaskInfoQuerytaskVariableNotExists in interface TaskInfoQuery<TaskQuery,Task>name - cannot be null.public TaskQuery processVariableValueEquals(String variableName, Object variableValue)
TaskInfoQueryprocessVariableValueEquals in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery processVariableValueNotEquals(String variableName, Object variableValue)
TaskInfoQuerySerializable objects (which are not primitive type
wrappers) are not supported.processVariableValueNotEquals in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery processVariableValueEquals(Object variableValue)
TaskInfoQueryprocessVariableValueEquals in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery processVariableValueEqualsIgnoreCase(String name, String value)
TaskInfoQueryThis 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 TaskInfoQuery<TaskQuery,Task>public TaskQuery processVariableValueNotEqualsIgnoreCase(String name, String value)
TaskInfoQueryThis 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 TaskInfoQuery<TaskQuery,Task>public TaskQuery processVariableValueGreaterThan(String name, Object value)
TaskInfoQuerySerializable objects (which are not primitive type
wrappers) are not supported.processVariableValueGreaterThan in interface TaskInfoQuery<TaskQuery,Task>name - cannot be null.value - cannot be null.public TaskQuery processVariableValueGreaterThanOrEqual(String name, Object value)
TaskInfoQuerySerializable objects (which are not primitive
type wrappers) are not supported.processVariableValueGreaterThanOrEqual in interface TaskInfoQuery<TaskQuery,Task>name - cannot be null.value - cannot be null.public TaskQuery processVariableValueLessThan(String name, Object value)
TaskInfoQuerySerializable objects (which are not primitive type wrappers) are
not supported.processVariableValueLessThan in interface TaskInfoQuery<TaskQuery,Task>name - cannot be null.value - cannot be null.public TaskQuery processVariableValueLessThanOrEqual(String name, Object value)
TaskInfoQuerySerializable objects (which are not primitive type
wrappers) are not supported.processVariableValueLessThanOrEqual in interface TaskInfoQuery<TaskQuery,Task>name - cannot be null.value - cannot be null.public TaskQuery processVariableValueLike(String name, String value)
TaskInfoQueryprocessVariableValueLike in interface TaskInfoQuery<TaskQuery,Task>name - 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 TaskQuery processVariableValueLikeIgnoreCase(String name, String value)
TaskInfoQueryprocessVariableValueLikeIgnoreCase in interface TaskInfoQuery<TaskQuery,Task>name - 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 TaskQuery processVariableExists(String name)
TaskInfoQueryprocessVariableExists in interface TaskInfoQuery<TaskQuery,Task>name - cannot be null.public TaskQuery processVariableNotExists(String name)
TaskInfoQueryprocessVariableNotExists in interface TaskInfoQuery<TaskQuery,Task>name - cannot be null.public TaskQuery processDefinitionKey(String processDefinitionKey)
TaskInfoQueryprocessDefinitionKey in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery processDefinitionKeyLike(String processDefinitionKeyLike)
TaskInfoQueryprocessDefinitionKeyLike in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery processDefinitionKeyLikeIgnoreCase(String processDefinitionKeyLikeIgnoreCase)
TaskInfoQueryTaskInfoQuery.processDefinitionKeyLike(String) method will not take in account the upper/lower case: both the input parameter as the column value are lowercased when the
query is executed.processDefinitionKeyLikeIgnoreCase in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery processDefinitionKeyIn(Collection<String> processDefinitionKeys)
TaskInfoQueryprocessDefinitionKeyIn in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery processDefinitionId(String processDefinitionId)
TaskInfoQueryprocessDefinitionId in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery processDefinitionName(String processDefinitionName)
TaskInfoQueryprocessDefinitionName in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery processDefinitionNameLike(String processDefinitionNameLike)
TaskInfoQueryprocessDefinitionNameLike in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery processCategoryIn(Collection<String> processCategoryInList)
TaskInfoQueryprocessCategoryIn in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery processCategoryNotIn(Collection<String> processCategoryNotInList)
TaskInfoQueryprocessCategoryNotIn in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery deploymentId(String deploymentId)
TaskInfoQuerydeploymentId in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery deploymentIdIn(Collection<String> deploymentIds)
TaskInfoQuerydeploymentIdIn in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery cmmnDeploymentId(String cmmnDeploymentId)
TaskInfoQuerycmmnDeploymentId in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery cmmnDeploymentIdIn(Collection<String> cmmnDeploymentIds)
TaskInfoQuerycmmnDeploymentIdIn in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskDueDate(Date dueDate)
TaskInfoQuerytaskDueDate in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskDueBefore(Date dueDate)
TaskInfoQuerytaskDueBefore in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery taskDueAfter(Date dueDate)
TaskInfoQuerytaskDueAfter in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery withoutDueDate()
public TaskQuery withoutTaskDueDate()
TaskInfoQuerywithoutTaskDueDate in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery excludeSubtasks()
TaskQueryexcludeSubtasks in interface TaskQuerypublic TaskQuery suspended()
TaskQuerypublic TaskQuery active()
TaskQuerypublic TaskQuery locale(String locale)
TaskInfoQuerylocale in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery withLocalizationFallback()
TaskInfoQuerywithLocalizationFallback in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery includeTaskLocalVariables()
TaskInfoQueryincludeTaskLocalVariables in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery includeProcessVariables()
TaskInfoQueryincludeProcessVariables in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery limitTaskVariables(Integer taskVariablesLimit)
TaskInfoQuerylimitTaskVariables in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery includeIdentityLinks()
TaskInfoQueryincludeIdentityLinks in interface TaskInfoQuery<TaskQuery,Task>public Collection<String> getCandidateGroups()
protected Collection<String> getGroupsForCandidateUser(String candidateUser)
protected void ensureVariablesInitialized()
ensureVariablesInitialized in class AbstractVariableQueryImpl<TaskQuery,Task>public TaskQuery or()
TaskInfoQueryCalling endOr() will add all clauses to the regular query again. Calling or() after or() has been called or calling endOr() after endOr() has been called will result in an exception. It is possible to call or() endOr() several times if each or() has a matching endOr(), e.g.:
query.<ConditionA>
.or().<conditionB>.<conditionC>.endOr()
.<conditionD>.<conditionE>
.or().<conditionF>.<conditionG>.endOr()
will result in: conditionA & (conditionB | conditionC) & conditionD & conditionE & (conditionF | conditionG)
or in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery endOr()
endOr in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery orderByTaskId()
TaskInfoQueryQuery.asc() or Query.desc()).orderByTaskId in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery orderByTaskName()
TaskInfoQueryQuery.asc() or Query.desc()).orderByTaskName in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery orderByTaskDescription()
TaskInfoQueryQuery.asc() or Query.desc()).orderByTaskDescription in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery orderByTaskPriority()
TaskInfoQueryQuery.asc() or Query.desc()).orderByTaskPriority in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery orderByProcessInstanceId()
TaskInfoQueryQuery.asc() or Query.desc()).orderByProcessInstanceId in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery orderByExecutionId()
TaskInfoQueryQuery.asc() or Query.desc()).orderByExecutionId in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery orderByProcessDefinitionId()
TaskInfoQueryQuery.asc() or Query.desc()).orderByProcessDefinitionId in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery orderByTaskAssignee()
TaskInfoQueryQuery.asc() or Query.desc()).orderByTaskAssignee in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery orderByTaskOwner()
TaskInfoQueryQuery.asc() or Query.desc()).orderByTaskOwner in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery orderByTaskCreateTime()
TaskInfoQueryQuery.asc() or Query.desc()).orderByTaskCreateTime in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery orderByDueDate()
public TaskQuery orderByTaskDueDate()
TaskInfoQueryQuery.asc() or Query.desc()).orderByTaskDueDate in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery orderByTaskDefinitionKey()
TaskInfoQueryQuery.asc() or Query.desc()).orderByTaskDefinitionKey in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery orderByDueDateNullsFirst()
TaskInfoQueryQuery.asc() or Query.desc()). If any of the tasks have null for the due date, these will be first in the result.orderByDueDateNullsFirst in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery orderByDueDateNullsLast()
TaskInfoQueryQuery.asc() or Query.desc()). If any of the tasks have null for the due date, these will be last in the result.orderByDueDateNullsLast in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery orderByCategory()
TaskInfoQueryQuery.asc() or Query.desc()).orderByCategory in interface TaskInfoQuery<TaskQuery,Task>public TaskQuery orderByTenantId()
TaskInfoQueryQuery.asc() or Query.desc()).orderByTenantId in interface TaskInfoQuery<TaskQuery,Task>public List<Task> executeList(CommandContext commandContext)
AbstractQueryexecuteList in class AbstractVariableQueryImpl<TaskQuery,Task>protected void addCachedVariableForQueryById(CommandContext commandContext, List<Task> results, boolean local)
public void enhanceCachedValue(TaskEntity task)
enhanceCachedValue in interface CacheAwareQuery<TaskEntity>public long executeCount(CommandContext commandContext)
executeCount in class AbstractVariableQueryImpl<TaskQuery,Task>public String getName()
public String getNameLike()
public Collection<String> getNameList()
public Collection<String> getNameListIgnoreCase()
public String getAssignee()
public boolean getUnassigned()
public boolean isWithAssignee()
public DelegationState getDelegationState()
public boolean getNoDelegationState()
public String getDelegationStateString()
public String getCandidateUser()
public String getCandidateGroup()
public boolean isIgnoreAssigneeValue()
public String getProcessInstanceId()
public Collection<String> getProcessInstanceIds()
public String getExecutionId()
public String getScopeId()
public String getSubScopeId()
public String getScopeType()
public String getScopeDefinitionId()
public String getPropagatedStageInstanceId()
public String getTaskId()
public String getId()
getId in interface CacheAwareQuery<TaskEntity>public String getDescription()
public String getDescriptionLike()
public Integer getPriority()
public Date getCreateTime()
public Date getCreateTimeBefore()
public Date getCreateTimeAfter()
public String getTaskDefinitionId()
public String getKey()
public String getKeyLike()
public Collection<String> getKeys()
public String getProcessDefinitionKey()
public String getProcessDefinitionId()
public String getProcessDefinitionName()
public String getProcessInstanceBusinessKey()
public String getProcessInstanceIdWithChildren()
public String getCaseInstanceIdWithChildren()
public boolean getExcludeSubtasks()
public String getTenantId()
public String getTenantIdLike()
public boolean isWithoutTenantId()
public String getUserIdForCandidateAndAssignee()
public List<TaskQueryImpl> getOrQueryObjects()
public void setOrQueryObjects(List<TaskQueryImpl> orQueryObjects)
public Integer getMinPriority()
public Integer getMaxPriority()
public String getAssigneeLike()
public Collection<String> getAssigneeIds()
public String getInvolvedUser()
public Collection<String> getInvolvedGroups()
public String getOwner()
public String getOwnerLike()
public String getCategory()
public boolean isWithFormKey()
public String getFormKey()
public String getProcessDefinitionKeyLike()
public Collection<String> getProcessDefinitionKeys()
public String getProcessDefinitionNameLike()
public Collection<String> getProcessCategoryInList()
public Collection<String> getProcessCategoryNotInList()
public String getDeploymentId()
public Collection<String> getDeploymentIds()
public String getCmmnDeploymentId()
public Collection<String> getCmmnDeploymentIds()
public String getProcessInstanceBusinessKeyLike()
public Date getDueDate()
public Date getDueBefore()
public Date getDueAfter()
public boolean isWithoutDueDate()
public SuspensionState getSuspensionState()
public boolean isIncludeTaskLocalVariables()
public boolean isIncludeProcessVariables()
public boolean isIncludeIdentityLinks()
public boolean isBothCandidateAndAssigned()
public String getNameLikeIgnoreCase()
public String getDescriptionLikeIgnoreCase()
public String getAssigneeLikeIgnoreCase()
public String getOwnerLikeIgnoreCase()
public String getProcessInstanceBusinessKeyLikeIgnoreCase()
public String getProcessDefinitionKeyLikeIgnoreCase()
public String getLocale()
public boolean isOrActive()
public boolean isUnassigned()
public boolean isNoDelegationState()
public String getCaseDefinitionKey()
public String getCaseDefinitionKeyLike()
public String getCaseDefinitionKeyLikeIgnoreCase()
public Collection<String> getCaseDefinitionKeys()
public boolean isExcludeSubtasks()
public boolean isWithLocalizationFallback()
public List<Task> list()
Querypublic List<Task> listPage(int firstResult, int maxResults)
Querypublic long count()
QueryCopyright © 2023 Flowable. All rights reserved.