Class TaskQueryImpl
- All Implemented Interfaces:
Serializable
,CacheAwareQuery<TaskEntity>
,Query<TaskQuery,
,Task> Command<Object>
,TaskInfoQuery<TaskQuery,
,Task> TaskQuery
- Author:
- Joram Barrez, Tom Baeyens, Falko Menge, Tijs Rademakers
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultType
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected Collection<String>
protected String
protected String
protected boolean
protected String
protected Collection<String>
protected String
protected String
protected String
protected String
protected Collection<String>
protected String
protected String
protected Collection<String>
protected Collection<String>
protected String
protected Date
protected Date
protected Date
protected String
protected Collection<String>
protected Date
protected Date
protected Date
protected TaskQueryImpl
protected DelegationState
protected String
protected Collection<String>
protected String
protected String
protected String
protected Date
protected Date
protected Date
protected boolean
protected String
protected String
protected IdmIdentityService
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected Date
protected Date
protected Date
protected String
protected Date
protected Date
protected Date
protected Collection<String>
protected String
protected String
protected String
protected Collection<String>
protected String
protected Integer
protected Integer
protected String
protected String
protected String
protected Collection<String>
protected Collection<String>
protected boolean
protected boolean
protected List<TaskQueryImpl>
protected String
protected String
protected String
protected String
protected Integer
protected Collection<String>
protected Collection<String>
protected String
protected String
protected String
protected String
protected Collection<String>
protected String
protected String
protected String
protected String
protected String
protected String
protected Collection<String>
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected Date
protected Date
protected Date
protected SuspensionState
protected String
protected String
protected Collection<String>
protected TaskServiceConfiguration
protected String
protected String
protected boolean
protected String
protected VariableServiceConfiguration
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
Fields inherited from class org.flowable.variable.service.impl.AbstractVariableQueryImpl
queryVariableValues, variableValueProvider
Fields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutor
Fields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
-
Constructor Summary
ConstructorsConstructorDescriptionTaskQueryImpl
(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) -
Method Summary
Modifier and TypeMethodDescriptionactive()
Only selects tasks which are active (ie.protected void
addCachedVariableForQueryById
(CommandContext commandContext, List<Task> results, boolean local) caseDefinitionId
(String caseDefinitionId) Only select tasks for the given case definition.caseDefinitionKey
(String caseDefinitionKey) Only select tasks which are part of a case instance which has the given case definition key.caseDefinitionKeyIn
(Collection<String> caseDefinitionKeys) Only select tasks that have a case definition for which the key is present in the given listcaseDefinitionKeyLike
(String caseDefinitionKeyLike) Only select tasks which are part of a case instance which has a case definition key like the given value.caseDefinitionKeyLikeIgnoreCase
(String caseDefinitionKeyLikeIgnoreCase) Only select tasks which are part of a case instance which has a case definition key like the given value.caseInstanceId
(String caseInstanceId) Only select tasks for the given case instance.caseInstanceIdWithChildren
(String caseInstanceId) Select all tasks for the given case instance id and its children.caseVariableExists
(String name) Only select tasks which have a global variable with the given name.caseVariableNotExists
(String name) Only select tasks which does not have a global variable with the given name.caseVariableValueEquals
(Object variableValue) Only select tasks which are part of a case that has at least one variable with the given value.caseVariableValueEquals
(String variableName, Object variableValue) Only select tasks which are part of a case that has a variable with the given name set to the given value.caseVariableValueEqualsIgnoreCase
(String name, String value) Only select tasks which are part of a case that has a local string variable which is not the given value, case insensitive.caseVariableValueGreaterThan
(String name, Object value) Only select tasks which have a global variable value greater than the passed value when they ended.caseVariableValueGreaterThanOrEqual
(String name, Object value) Only select tasks which have a global variable value greater than or equal to the passed value when they ended.caseVariableValueLessThan
(String name, Object value) Only select tasks which have a global variable value less than the passed value when the ended.Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.caseVariableValueLessThanOrEqual
(String name, Object value) Only select tasks which have a global variable value less than or equal to the passed value when they ended.caseVariableValueLike
(String name, String value) Only select tasks which have a global variable value like the given value when they ended.caseVariableValueLikeIgnoreCase
(String name, String value) Only select tasks which have a global variable value like the given value (case insensitive) when they ended.caseVariableValueNotEquals
(String variableName, Object variableValue) Only select tasks which have a variable with the given name, but with a different value than the passed value.caseVariableValueNotEqualsIgnoreCase
(String name, String value) Only select tasks which are part of a case that has a string variable with the given value, case insensitive.protected void
checkTaskCategoryList
(Collection<String> taskCategoryInList) cmmnDeploymentId
(String cmmnDeploymentId) Only select tasks which are related to a case instance for to the given deployment id.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 resultsdeploymentId
(String deploymentId) Only select tasks which are part of a process instance which has the given deployment id.deploymentIdIn
(Collection<String> deploymentIds) Only select tasks which are part of a process instance which has the given deployment id.endOr()
void
enhanceCachedValue
(TaskEntity task) protected void
Only select tasks that have no parent (i.e.long
executeCount
(CommandContext commandContext) executeList
(CommandContext commandContext) Executes the actual query to retrieve the list of results.executionId
(String executionId) Only select tasks for the given execution.boolean
protected Collection<String>
getGroupsForCandidateUser
(String candidateUser) getId()
getKey()
getKeys()
getName()
boolean
getOwner()
boolean
Allows to select a task usingTaskInfoQuery.taskCandidateGroup(String)
TaskInfoQuery.taskCandidateGroupIn(Collection)
orTaskInfoQuery.taskCandidateUser(String)
but ignore the assignee value instead of querying for an empty assignee.Include global case variables in the task query resultInclude identity links in the task query resultInclude global process variables in the task query resultInclude local task variables in the task query resultboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
list()
Executes the query and get a list of entities as the result.listPage
(int firstResult, int maxResults) Executes the query and get a list of entities as the result.Localize task name and description to specified locale.or()
All query clauses called will be added to a single or-statement.Order by category (needs to be followed byQuery.asc()
orQuery.desc()
).Order by due date (needs to be followed byQuery.asc()
orQuery.desc()
).Order by due date (needs to be followed byQuery.asc()
orQuery.desc()
).Order by execution id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by process definition id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by process instance id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by assignee (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the time on which the tasks were created (needs to be followed byQuery.asc()
orQuery.desc()
).Order by task definition key (needs to be followed byQuery.asc()
orQuery.desc()
).Order by description (needs to be followed byQuery.asc()
orQuery.desc()
).Order by task due date (needs to be followed byQuery.asc()
orQuery.desc()
).Order by task id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by task name (needs to be followed byQuery.asc()
orQuery.desc()
).Order by task owner (needs to be followed byQuery.asc()
orQuery.desc()
).Order by priority (needs to be followed byQuery.asc()
orQuery.desc()
).Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).planItemInstanceId
(String planItemInstanceId) Only select tasks for the given plan item instance.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.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.processDefinitionId
(String processDefinitionId) Only select tasks which are part of a process instance which has the given process definition id.processDefinitionKey
(String processDefinitionKey) Only select tasks which are part of a process instance which has the given process definition key.processDefinitionKeyIn
(Collection<String> processDefinitionKeys) Only select tasks that have a process definition for which the key is present in the given listprocessDefinitionKeyLike
(String processDefinitionKeyLike) Only select tasks which are part of a process instance which has a process definition key like the given value.processDefinitionKeyLikeIgnoreCase
(String processDefinitionKeyLikeIgnoreCase) Only select tasks which are part of a process instance which has a process definition key like the given value.processDefinitionName
(String processDefinitionName) Only select tasks which are part of a process instance which has the given process definition name.processDefinitionNameLike
(String processDefinitionNameLike) Only select tasks which are part of a process instance which has a process definition name like the given value.processInstanceBusinessKey
(String processInstanceBusinessKey) Only select tasks for the given business keyprocessInstanceBusinessKeyLike
(String processInstanceBusinessKeyLike) Only select tasks with a business key like the given value The syntax is that of SQL: for example usage: processInstanceBusinessKeyLike("%test%").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%").processInstanceId
(String processInstanceId) Only select tasks for the given process instance id.processInstanceIdIn
(Collection<String> processInstanceIds) Only select tasks for the given process ids.processInstanceIdWithChildren
(String processInstanceId) Select all tasks for the given process instance id and its children.processVariableExists
(String name) Only select tasks which have a global variable with the given name.Only select tasks which does not have a global variable with the given name.processVariableValueEquals
(Object variableValue) Only select tasks which are part of a process that has at least one variable with the given value.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.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.processVariableValueGreaterThan
(String name, Object value) Only select tasks which have a global variable value greater than the passed value when they ended.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.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 andSerializable
objects (which are not primitive type wrappers) are not supported.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.processVariableValueLike
(String name, String value) Only select tasks which have a global variable value like the given value when they ended.processVariableValueLikeIgnoreCase
(String name, String value) Only select tasks which have a global variable value like the given value (case insensitive) when they ended.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.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.propagatedStageInstanceId
(String propagatedStageInstanceId) Only select tasks for the given stage, defined through its stage instance id.scopeDefinitionId
(String scopeDefinitionId) Only select tasks for the given scope definition identifier.Only select tasks for the given scope identifier.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) subScopeId
(String subScopeId) Only select tasks for the given sub scope identifier.Only selects tasks which are suspended, because its process instance was suspended.Only select tasks which are assigned to any usertaskAssignee
(String assignee) Only select tasks which are assigned to the given user.taskAssigneeIds
(Collection<String> assigneeIds) Only select tasks with an assignee that is in the given listtaskAssigneeLike
(String assigneeLike) Only select tasks which were last assigned to an assignee like the given value.taskAssigneeLikeIgnoreCase
(String assigneeLikeIgnoreCase) Only select tasks which were last assigned to an assignee like the given value.taskCandidateGroup
(String candidateGroup) Only select tasks for which users in the given group are candidates.taskCandidateGroupIn
(Collection<String> candidateGroups) Only select tasks for which the 'candidateGroup' is one of the given groups.taskCandidateOrAssigned
(String userIdForCandidateAndAssignee) Select tasks that has been claimed or assigned to user or waiting to claim by user (candidate user or groups).taskCandidateUser
(String candidateUser) Only select tasks for which the given user is a candidate.taskCategory
(String category) Only select tasks with the given category.taskCategoryIn
(Collection<String> taskCategoryInList) Only select tasks belonging to one of the categories in the given list.taskCategoryNotIn
(Collection<String> taskCategoryNotInList) Only select tasks with a defined category which do not belong to a category present in the given list.taskClaimedAfter
(Date after) Only select tasks that are claimed after the given date.taskClaimedBefore
(Date before) Only select tasks that are claimed before the given date.taskClaimedBy
(String claimedBy) Select all tasks that have a claimed by user reference for the given value.taskClaimedOn
(Date claimTime) Only select tasks that are claimed on the given date.taskCreatedAfter
(Date after) Only select tasks that are created after the given date.taskCreatedBefore
(Date before) Only select tasks that are created before the given date.taskCreatedOn
(Date createTime) Only select tasks that are created on the given date.taskDefinitionId
(String taskDefinitionId) Only select tasks which created from the given task definition referenced by id.taskDefinitionKey
(String key) Only select tasks with the given taskDefinitionKey.taskDefinitionKeyLike
(String keyLike) Only select tasks with a taskDefinitionKey that match the given parameter.taskDefinitionKeys
(Collection<String> keys) Only select tasks with the given taskDefinitionKeys.taskDelegationState
(DelegationState delegationState) Only select tasks with the givenDelegationState
.taskDescription
(String description) Only select tasks with the given description.taskDescriptionLike
(String descriptionLike) Only select tasks with a description matching the parameter .taskDescriptionLikeIgnoreCase
(String descriptionLikeIgnoreCase) Only select tasks with a description matching the parameter .taskDueAfter
(Date dueDate) Only select tasks which have a due date after the given date.taskDueBefore
(Date dueDate) Only select tasks which have a due date before the given date.taskDueDate
(Date dueDate) Only select tasks with the given due date.taskFormKey
(String formKey) Only select tasks with the given formKey.Only select tasks with the given task id (in practice, there will be maximum one of this kind)taskIds
(Collection<String> taskIds) Only select tasks with an id that is in the given listtaskInProgressStartDueAfter
(Date dueAfter) Only select tasks which have an in progress start due date after the given date.taskInProgressStartDueBefore
(Date dueBefore) Only select tasks which have an in progress start due date before the given date.taskInProgressStartDueDate
(Date dueDate) Only select tasks with the given in progress start due date.taskInProgressStartedBy
(String startedBy) Select all tasks that have an in progress started user reference for the given value.taskInProgressStartTimeAfter
(Date after) Only select tasks that are started in progress after the given date.taskInProgressStartTimeBefore
(Date before) Only select tasks that are started in progress before the given date.taskInProgressStartTimeOn
(Date inProgressStartTime) Only select tasks that are started in progress on the given date.taskInvolvedGroups
(Collection<String> involvedGroups) Only select tasks for which there exist anIdentityLink
with the given Groups.taskInvolvedUser
(String involvedUser) Only select tasks for which there exist anIdentityLink
with the given user, including tasks which have been assigned to the given user (assignee) or owned by the given user (owner).taskMaxPriority
(Integer maxPriority) Only select tasks with the given priority or lower.taskMinPriority
(Integer minPriority) Only select tasks with the given priority or higher.Only select tasks with the given nametaskNameIn
(Collection<String> nameList) Only select tasks with a name that is in the given listtaskNameInIgnoreCase
(Collection<String> nameList) Only select tasks with a name that is in the given list This method, unlike theTaskInfoQuery.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.taskNameLike
(String nameLike) Only select tasks with a name matching the parameter.taskNameLikeIgnoreCase
(String nameLikeIgnoreCase) Only select tasks with a name matching the parameter.Only select tasks for which the given user is the owner.taskOwnerLike
(String ownerLike) Only select tasks which were last assigned to an owner like the given value.taskOwnerLikeIgnoreCase
(String ownerLikeIgnoreCase) Only select tasks which were last assigned to an owner like the given value.taskParentScopeId
(String parentScopeId) Only selects tasks which with the given parent scope idtaskPriority
(Integer priority) Only select tasks with the given priority.taskRootScopeId
(String rootScopeId) Only selects tasks which with the given root scope idOnly select tasks with the given state.taskSuspendedAfter
(Date after) Only select tasks that are suspended after the given date.taskSuspendedBefore
(Date before) Only select tasks that are suspended before the given date.taskSuspendedBy
(String suspendedBy) Select all tasks that have a suspended by user reference for the given value.taskSuspendedOn
(Date suspendedTime) Only select tasks that are suspended on the given date.taskTenantId
(String tenantId) Only select tasks that have the given tenant id.taskTenantIdLike
(String tenantIdLike) Only select tasks with a tenant id like the given one.Only select tasks which don't have an assignee.taskVariableExists
(String name) Only select tasks which have a local variable with the given name.taskVariableNotExists
(String name) Only select tasks which does not have a local variable with the given name.taskVariableValueEquals
(Object variableValue) Only select tasks which have at least one local task variable with the given value.taskVariableValueEquals
(String variableName, Object variableValue) Only select tasks which have a local task variable with the given name set to the given value.taskVariableValueEqualsIgnoreCase
(String name, String value) Only select tasks which have a local string variable with the given value, case insensitive.taskVariableValueGreaterThan
(String name, Object value) Only select tasks which have a local variable value greater than the passed value when they ended.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.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 andSerializable
objects (which are not primitive type wrappers) are not supported.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.taskVariableValueLike
(String name, String value) Only select tasks which have a local variable value like the given value when they ended.taskVariableValueLikeIgnoreCase
(String name, String value) Only select tasks which have a local variable value like the given value (case insensitive) when they ended.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.taskVariableValueNotEqualsIgnoreCase
(String name, String value) Only select tasks which have a local string variable with is not the given value, case insensitive.Only select tasks with form key.Selects tasks without category.Only select tasks that do not have a tenant id.Instruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.Only select tasks without a process instance id.Only select tasks which don't have a scope id set.Only select tasks with no due date.Only select tasks with no in progress start due date.Methods inherited from class org.flowable.variable.service.impl.AbstractVariableQueryImpl
addVariable, addVariable, getQueryVariableValues, hasLocalQueryVariableValue, hasNonLocalQueryVariableValue, hasValueComparisonQueryVariables, isBoolean, scopedVariableExists, scopedVariableNotExists, scopedVariableValueEquals, scopedVariableValueEquals, scopedVariableValueEqualsIgnoreCase, scopedVariableValueGreaterThan, scopedVariableValueGreaterThanOrEqual, scopedVariableValueLessThan, scopedVariableValueLessThanOrEqual, scopedVariableValueLike, scopedVariableValueLikeIgnoreCase, scopedVariableValueNotEquals, scopedVariableValueNotEqualsIgnoreCase, 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, variableValueNotEqualsIgnoreCase
Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, desc, direction, execute, executeSingleResult, orderBy, orderBy, setCommandExecutor, singleResult
Methods inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameter
-
Field Details
-
taskServiceConfiguration
-
idmIdentityService
-
variableServiceConfiguration
-
taskId
-
taskIds
-
name
-
nameLike
-
nameLikeIgnoreCase
-
nameList
-
nameListIgnoreCase
-
description
-
descriptionLike
-
descriptionLikeIgnoreCase
-
priority
-
minPriority
-
maxPriority
-
assignee
-
assigneeLike
-
assigneeLikeIgnoreCase
-
assigneeIds
-
involvedUser
-
involvedGroups
-
owner
-
ownerLike
-
ownerLikeIgnoreCase
-
unassigned
protected boolean unassigned -
withAssignee
protected boolean withAssignee -
noDelegationState
protected boolean noDelegationState -
delegationState
-
candidateUser
-
candidateGroup
-
candidateGroups
-
ignoreAssigneeValue
protected boolean ignoreAssigneeValue -
tenantId
-
tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId -
processInstanceId
-
processInstanceIds
-
withoutProcessInstanceId
protected boolean withoutProcessInstanceId -
executionId
-
scopeId
-
subScopeId
-
scopeType
-
scopeDefinitionId
-
propagatedStageInstanceId
-
processInstanceIdWithChildren
-
caseInstanceIdWithChildren
-
state
-
createTime
-
createTimeBefore
-
createTimeAfter
-
inProgressStartTime
-
inProgressStartTimeBefore
-
inProgressStartTimeAfter
-
inProgressStartedBy
-
claimTime
-
claimTimeBefore
-
claimTimeAfter
-
claimedBy
-
suspendedTime
-
suspendedTimeBefore
-
suspendedTimeAfter
-
suspendedBy
-
category
-
categoryInList
-
categoryNotInList
-
withoutCategory
protected boolean withoutCategory -
withFormKey
protected boolean withFormKey -
formKey
-
taskDefinitionId
-
key
-
keyLike
-
keys
-
processDefinitionKey
-
processDefinitionKeyLike
-
processDefinitionKeyLikeIgnoreCase
-
processDefinitionKeys
-
processDefinitionId
-
processDefinitionName
-
processDefinitionNameLike
-
processCategoryInList
-
processCategoryNotInList
-
deploymentId
-
deploymentIds
-
cmmnDeploymentId
-
cmmnDeploymentIds
-
withoutScopeId
protected boolean withoutScopeId -
processInstanceBusinessKey
-
processInstanceBusinessKeyLike
-
processInstanceBusinessKeyLikeIgnoreCase
-
caseDefinitionKey
-
caseDefinitionKeyLike
-
caseDefinitionKeyLikeIgnoreCase
-
rootScopeId
-
parentScopeId
-
caseDefinitionKeys
-
inProgressStartDueDate
-
inProgressStartDueBefore
-
inProgressStartDueAfter
-
withoutInProgressStartDueDate
protected boolean withoutInProgressStartDueDate -
dueDate
-
dueBefore
-
dueAfter
-
withoutDueDate
protected boolean withoutDueDate -
suspensionState
-
excludeSubtasks
protected boolean excludeSubtasks -
includeTaskLocalVariables
protected boolean includeTaskLocalVariables -
includeProcessVariables
protected boolean includeProcessVariables -
includeCaseVariables
protected boolean includeCaseVariables -
includeIdentityLinks
protected boolean includeIdentityLinks -
userIdForCandidateAndAssignee
-
bothCandidateAndAssigned
protected boolean bothCandidateAndAssigned -
locale
-
withLocalizationFallback
protected boolean withLocalizationFallback -
orActive
protected boolean orActive -
orQueryObjects
-
currentOrQueryObject
-
-
Constructor Details
-
TaskQueryImpl
public TaskQueryImpl() -
TaskQueryImpl
public TaskQueryImpl(CommandContext commandContext, TaskServiceConfiguration taskServiceConfiguration, VariableServiceConfiguration variableServiceConfiguration, IdmIdentityService idmIdentityService) -
TaskQueryImpl
public TaskQueryImpl(CommandExecutor commandExecutor, TaskServiceConfiguration taskServiceConfiguration, VariableServiceConfiguration variableServiceConfiguration, IdmIdentityService idmIdentityService) -
TaskQueryImpl
public TaskQueryImpl(CommandExecutor commandExecutor, String databaseType, TaskServiceConfiguration taskServiceConfiguration, VariableServiceConfiguration variableServiceConfiguration, IdmIdentityService idmIdentityService)
-
-
Method Details
-
taskId
Description copied from interface:TaskInfoQuery
Only select tasks with the given task id (in practice, there will be maximum one of this kind)- Specified by:
taskId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskIds
Description copied from interface:TaskInfoQuery
Only select tasks with an id that is in the given list- Specified by:
taskIds
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskName
Description copied from interface:TaskInfoQuery
Only select tasks with the given name- Specified by:
taskName
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskNameIn
Description copied from interface:TaskInfoQuery
Only select tasks with a name that is in the given list- Specified by:
taskNameIn
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskNameInIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks with a name that is in the given list This method, unlike theTaskInfoQuery.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.- Specified by:
taskNameInIgnoreCase
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskNameLike
Description copied from interface:TaskInfoQuery
Only select tasks with a name matching the parameter. The syntax is that of SQL: for example usage: nameLike(%test%)- Specified by:
taskNameLike
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskNameLikeIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks with a name matching the parameter. The syntax is that of SQL: for example usage: nameLike(%test%) This method, unlike theTaskInfoQuery.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.- Specified by:
taskNameLikeIgnoreCase
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskDescription
Description copied from interface:TaskInfoQuery
Only select tasks with the given description.- Specified by:
taskDescription
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskDescriptionLike
Description copied from interface:TaskInfoQuery
Only select tasks with a description matching the parameter . The syntax is that of SQL: for example usage: descriptionLike(%test%)- Specified by:
taskDescriptionLike
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskDescriptionLikeIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks with a description matching the parameter . The syntax is that of SQL: for example usage: descriptionLike(%test%) This method, unlike theTaskInfoQuery.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.- Specified by:
taskDescriptionLikeIgnoreCase
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskPriority
Description copied from interface:TaskInfoQuery
Only select tasks with the given priority.- Specified by:
taskPriority
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskMinPriority
Description copied from interface:TaskInfoQuery
Only select tasks with the given priority or higher.- Specified by:
taskMinPriority
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskMaxPriority
Description copied from interface:TaskInfoQuery
Only select tasks with the given priority or lower.- Specified by:
taskMaxPriority
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskAssignee
Description copied from interface:TaskInfoQuery
Only select tasks which are assigned to the given user.- Specified by:
taskAssignee
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskAssigneeLike
Description copied from interface:TaskInfoQuery
Only select tasks which were last assigned to an assignee like the given value. The syntax that should be used is the same as in SQL, eg. %test%.- Specified by:
taskAssigneeLike
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskAssigneeLikeIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which were last assigned to an assignee like the given value. The syntax that should be used is the same as in SQL, eg. %test%. This method, unlike theTaskInfoQuery.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.- Specified by:
taskAssigneeLikeIgnoreCase
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskAssigneeIds
Description copied from interface:TaskInfoQuery
Only select tasks with an assignee that is in the given list- Specified by:
taskAssigneeIds
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskOwner
Description copied from interface:TaskInfoQuery
Only select tasks for which the given user is the owner.- Specified by:
taskOwner
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskOwnerLike
Description copied from interface:TaskInfoQuery
Only select tasks which were last assigned to an owner like the given value. The syntax that should be used is the same as in SQL, eg. %test%.- Specified by:
taskOwnerLike
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskOwnerLikeIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which were last assigned to an owner like the given value. The syntax that should be used is the same as in SQL, eg. %test%. This method, unlike theTaskInfoQuery.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.- Specified by:
taskOwnerLikeIgnoreCase
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskUnassigned
Description copied from interface:TaskInfoQuery
Only select tasks which don't have an assignee.- Specified by:
taskUnassigned
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskAssigned
Description copied from interface:TaskInfoQuery
Only select tasks which are assigned to any user- Specified by:
taskAssigned
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskDelegationState
Description copied from interface:TaskQuery
Only select tasks with the givenDelegationState
.- Specified by:
taskDelegationState
in interfaceTaskQuery
-
taskCandidateUser
Description copied from interface:TaskInfoQuery
Only select tasks for which the given user is a candidate.- Specified by:
taskCandidateUser
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskInvolvedUser
Description copied from interface:TaskInfoQuery
Only select tasks for which there exist anIdentityLink
with the given user, including tasks which have been assigned to the given user (assignee) or owned by the given user (owner).- Specified by:
taskInvolvedUser
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskInvolvedGroups
Description copied from interface:TaskInfoQuery
Only select tasks for which there exist anIdentityLink
with the given Groups.- Specified by:
taskInvolvedGroups
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskCandidateGroup
Description copied from interface:TaskInfoQuery
Only select tasks for which users in the given group are candidates.- Specified by:
taskCandidateGroup
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskCandidateOrAssigned
Description copied from interface:TaskQuery
Select tasks that has been claimed or assigned to user or waiting to claim by user (candidate user or groups). You can invokeTaskInfoQuery.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.- Specified by:
taskCandidateOrAssigned
in interfaceTaskQuery
-
taskCandidateGroupIn
Description copied from interface:TaskInfoQuery
Only select tasks for which the 'candidateGroup' is one of the given groups.- Specified by:
taskCandidateGroupIn
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
ignoreAssigneeValue
Description copied from interface:TaskInfoQuery
Allows to select a task usingTaskInfoQuery.taskCandidateGroup(String)
TaskInfoQuery.taskCandidateGroupIn(Collection)
orTaskInfoQuery.taskCandidateUser(String)
but ignore the assignee value instead of querying for an empty assignee.- Specified by:
ignoreAssigneeValue
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskTenantId
Description copied from interface:TaskInfoQuery
Only select tasks that have the given tenant id.- Specified by:
taskTenantId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskTenantIdLike
Description copied from interface:TaskInfoQuery
Only select tasks with a tenant id like the given one.- Specified by:
taskTenantIdLike
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskWithoutTenantId
Description copied from interface:TaskInfoQuery
Only select tasks that do not have a tenant id.- Specified by:
taskWithoutTenantId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
processInstanceId
Description copied from interface:TaskInfoQuery
Only select tasks for the given process instance id.- Specified by:
processInstanceId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
processInstanceIdIn
Description copied from interface:TaskInfoQuery
Only select tasks for the given process ids.- Specified by:
processInstanceIdIn
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
withoutProcessInstanceId
Description copied from interface:TaskInfoQuery
Only select tasks without a process instance id.- Specified by:
withoutProcessInstanceId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
processInstanceBusinessKey
Description copied from interface:TaskInfoQuery
Only select tasks for the given business key- Specified by:
processInstanceBusinessKey
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
processInstanceBusinessKeyLike
Description copied from interface:TaskInfoQuery
Only select tasks with a business key like the given value The syntax is that of SQL: for example usage: processInstanceBusinessKeyLike("%test%").- Specified by:
processInstanceBusinessKeyLike
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
processInstanceBusinessKeyLikeIgnoreCase
public TaskQuery processInstanceBusinessKeyLikeIgnoreCase(String processInstanceBusinessKeyLikeIgnoreCase) Description copied from interface:TaskInfoQuery
Only select tasks with a business key like the given value The syntax is that of SQL: for example usage: processInstanceBusinessKeyLike("%test%"). This method, unlike theTaskInfoQuery.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.- Specified by:
processInstanceBusinessKeyLikeIgnoreCase
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
executionId
Description copied from interface:TaskInfoQuery
Only select tasks for the given execution.- Specified by:
executionId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
caseInstanceId
Description copied from interface:TaskInfoQuery
Only select tasks for the given case instance.- Specified by:
caseInstanceId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
caseDefinitionId
Description copied from interface:TaskInfoQuery
Only select tasks for the given case definition.- Specified by:
caseDefinitionId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
caseDefinitionKey
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a case instance which has the given case definition key.- Specified by:
caseDefinitionKey
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
caseDefinitionKeyLike
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a case instance which has a case definition key like the given value. The syntax that should be used is the same as in SQL, eg. %test%.- Specified by:
caseDefinitionKeyLike
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
caseDefinitionKeyLikeIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a case instance which has a case definition key like the given value. The syntax that should be used is the same as in SQL, eg. %test%. This method, unlike theTaskInfoQuery.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.- Specified by:
caseDefinitionKeyLikeIgnoreCase
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
caseDefinitionKeyIn
Description copied from interface:TaskInfoQuery
Only select tasks that have a case definition for which the key is present in the given list- Specified by:
caseDefinitionKeyIn
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
processInstanceIdWithChildren
Description copied from interface:TaskInfoQuery
Select all tasks for the given process instance id and its children.- Specified by:
processInstanceIdWithChildren
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
caseInstanceIdWithChildren
Description copied from interface:TaskInfoQuery
Select all tasks for the given case instance id and its children.- Specified by:
caseInstanceIdWithChildren
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
planItemInstanceId
Description copied from interface:TaskInfoQuery
Only select tasks for the given plan item instance.- Specified by:
planItemInstanceId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
scopeId
Description copied from interface:TaskInfoQuery
Only select tasks for the given scope identifier.- Specified by:
scopeId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
subScopeId
Description copied from interface:TaskInfoQuery
Only select tasks for the given sub scope identifier.- Specified by:
subScopeId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
scopeType
Description copied from interface:TaskInfoQuery
Only select tasks for the given scope type.- Specified by:
scopeType
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
scopeDefinitionId
Description copied from interface:TaskInfoQuery
Only select tasks for the given scope definition identifier.- Specified by:
scopeDefinitionId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
propagatedStageInstanceId
Description copied from interface:TaskInfoQuery
Only select tasks for the given stage, defined through its stage instance id.- Specified by:
propagatedStageInstanceId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskState
Description copied from interface:TaskInfoQuery
Only select tasks with the given state.- Specified by:
taskState
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskCreatedOn
Description copied from interface:TaskInfoQuery
Only select tasks that are created on the given date.- Specified by:
taskCreatedOn
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskCreatedBefore
Description copied from interface:TaskInfoQuery
Only select tasks that are created before the given date.- Specified by:
taskCreatedBefore
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskCreatedAfter
Description copied from interface:TaskInfoQuery
Only select tasks that are created after the given date.- Specified by:
taskCreatedAfter
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskInProgressStartTimeOn
Description copied from interface:TaskInfoQuery
Only select tasks that are started in progress on the given date.- Specified by:
taskInProgressStartTimeOn
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskInProgressStartTimeBefore
Description copied from interface:TaskInfoQuery
Only select tasks that are started in progress before the given date.- Specified by:
taskInProgressStartTimeBefore
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskInProgressStartTimeAfter
Description copied from interface:TaskInfoQuery
Only select tasks that are started in progress after the given date.- Specified by:
taskInProgressStartTimeAfter
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskInProgressStartedBy
Description copied from interface:TaskInfoQuery
Select all tasks that have an in progress started user reference for the given value.- Specified by:
taskInProgressStartedBy
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskClaimedOn
Description copied from interface:TaskInfoQuery
Only select tasks that are claimed on the given date.- Specified by:
taskClaimedOn
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskClaimedBefore
Description copied from interface:TaskInfoQuery
Only select tasks that are claimed before the given date.- Specified by:
taskClaimedBefore
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskClaimedAfter
Description copied from interface:TaskInfoQuery
Only select tasks that are claimed after the given date.- Specified by:
taskClaimedAfter
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskClaimedBy
Description copied from interface:TaskInfoQuery
Select all tasks that have a claimed by user reference for the given value.- Specified by:
taskClaimedBy
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskSuspendedOn
Description copied from interface:TaskInfoQuery
Only select tasks that are suspended on the given date.- Specified by:
taskSuspendedOn
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskSuspendedBefore
Description copied from interface:TaskInfoQuery
Only select tasks that are suspended before the given date.- Specified by:
taskSuspendedBefore
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskSuspendedAfter
Description copied from interface:TaskInfoQuery
Only select tasks that are suspended after the given date.- Specified by:
taskSuspendedAfter
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskSuspendedBy
Description copied from interface:TaskInfoQuery
Select all tasks that have a suspended by user reference for the given value.- Specified by:
taskSuspendedBy
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskCategory
Description copied from interface:TaskInfoQuery
Only select tasks with the given category.- Specified by:
taskCategory
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskCategoryIn
Description copied from interface:TaskInfoQuery
Only select tasks belonging to one of the categories in the given list.- Specified by:
taskCategoryIn
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskCategoryNotIn
Description copied from interface:TaskInfoQuery
Only select tasks with a defined category which do not belong to a category present in the given list.NOTE: This method does not return tasks without category e.g. tasks having a
null
category. To includenull
categories, usequery.or().taskCategoryNotIn(...).taskWithoutCategory().endOr()
- Specified by:
taskCategoryNotIn
in interfaceTaskInfoQuery<TaskQuery,
Task> - See Also:
-
taskWithoutCategory
Description copied from interface:TaskInfoQuery
Selects tasks without category.Can also be used in conjunction with other filter criteria to include tasks without category e.g. in
or
queries.- Specified by:
taskWithoutCategory
in interfaceTaskInfoQuery<TaskQuery,
Task> - See Also:
-
checkTaskCategoryList
-
taskWithFormKey
Description copied from interface:TaskInfoQuery
Only select tasks with form key.- Specified by:
taskWithFormKey
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskFormKey
Description copied from interface:TaskInfoQuery
Only select tasks with the given formKey.- Specified by:
taskFormKey
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskDefinitionId
Description copied from interface:TaskInfoQuery
Only select tasks which created from the given task definition referenced by id.- Specified by:
taskDefinitionId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskDefinitionKey
Description copied from interface:TaskInfoQuery
Only select tasks with the given taskDefinitionKey. The task definition key is the id of the userTask: <userTask id="xxx" .../>- Specified by:
taskDefinitionKey
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskDefinitionKeyLike
Description copied from interface:TaskInfoQuery
Only select tasks with a taskDefinitionKey that match the given parameter. The syntax is that of SQL: for example usage: taskDefinitionKeyLike("%test%"). The task definition key is the id of the userTask: <userTask id="xxx" .../>- Specified by:
taskDefinitionKeyLike
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskDefinitionKeys
Description copied from interface:TaskInfoQuery
Only select tasks with the given taskDefinitionKeys. The task definition key is the id of the userTask: <userTask id="xxx" .../>- Specified by:
taskDefinitionKeys
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskVariableValueEquals
Description copied from interface:TaskInfoQuery
Only select tasks which have a local task variable with the given name set to the given value.- Specified by:
taskVariableValueEquals
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskVariableValueEquals
Description copied from interface:TaskInfoQuery
Only select tasks which have at least one local task variable with the given value.- Specified by:
taskVariableValueEquals
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskVariableValueEqualsIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which have a local string variable with the given value, case insensitive.This 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).
- Specified by:
taskVariableValueEqualsIgnoreCase
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskVariableValueNotEqualsIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which have a local string variable with is not the given value, case insensitive.This 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).
- Specified by:
taskVariableValueNotEqualsIgnoreCase
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskVariableValueNotEquals
Description copied from interface:TaskInfoQuery
Only select tasks which have a local task variable with the given name, but with a different value than the passed value. Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueNotEquals
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskVariableValueGreaterThan
Description copied from interface:TaskInfoQuery
Only select tasks which have a local variable value greater than the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueGreaterThan
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
name
- cannot be null.value
- cannot be null.
-
taskVariableValueGreaterThanOrEqual
Description copied from interface:TaskInfoQuery
Only select tasks which have a local variable value greater than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueGreaterThanOrEqual
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
name
- cannot be null.value
- cannot be null.
-
taskVariableValueLessThan
Description copied from interface:TaskInfoQuery
Only select tasks which have a local variable value less than the passed value when the ended.Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueLessThan
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
name
- cannot be null.value
- cannot be null.
-
taskVariableValueLessThanOrEqual
Description copied from interface:TaskInfoQuery
Only select tasks which have a local variable value less than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueLessThanOrEqual
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
name
- cannot be null.value
- cannot be null.
-
taskVariableValueLike
Description copied from interface:TaskInfoQuery
Only select tasks which have a local variable value like the given value when they ended. This can be used on string variables only.- Specified by:
taskVariableValueLike
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
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%).
-
taskVariableValueLikeIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which have a local variable value like the given value (case insensitive) when they ended. This can be used on string variables only.- Specified by:
taskVariableValueLikeIgnoreCase
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
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%).
-
taskVariableExists
Description copied from interface:TaskInfoQuery
Only select tasks which have a local variable with the given name.- Specified by:
taskVariableExists
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
name
- cannot be null.
-
taskVariableNotExists
Description copied from interface:TaskInfoQuery
Only select tasks which does not have a local variable with the given name.- Specified by:
taskVariableNotExists
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
name
- cannot be null.
-
processVariableValueEquals
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process that has a variable with the given name set to the given value.- Specified by:
processVariableValueEquals
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
processVariableValueNotEquals
Description copied from interface:TaskInfoQuery
Only select tasks which have a variable with the given name, but with a different value than the passed value. Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueNotEquals
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
processVariableValueEquals
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process that has at least one variable with the given value.- Specified by:
processVariableValueEquals
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
processVariableValueEqualsIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process that has a local string variable which is not the given value, case insensitive.This 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).
- Specified by:
processVariableValueEqualsIgnoreCase
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
processVariableValueNotEqualsIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process that has a string variable with the given value, case insensitive.This 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).
- Specified by:
processVariableValueNotEqualsIgnoreCase
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
processVariableValueGreaterThan
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value greater than the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueGreaterThan
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
name
- cannot be null.value
- cannot be null.
-
processVariableValueGreaterThanOrEqual
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value greater than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueGreaterThanOrEqual
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
name
- cannot be null.value
- cannot be null.
-
processVariableValueLessThan
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value less than the passed value when the ended.Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueLessThan
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
name
- cannot be null.value
- cannot be null.
-
processVariableValueLessThanOrEqual
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value less than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueLessThanOrEqual
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
name
- cannot be null.value
- cannot be null.
-
processVariableValueLike
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value like the given value when they ended. This can be used on string variables only.- Specified by:
processVariableValueLike
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
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%).
-
processVariableValueLikeIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value like the given value (case insensitive) when they ended. This can be used on string variables only.- Specified by:
processVariableValueLikeIgnoreCase
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
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%).
-
processVariableExists
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable with the given name.- Specified by:
processVariableExists
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
name
- cannot be null.
-
processVariableNotExists
Description copied from interface:TaskInfoQuery
Only select tasks which does not have a global variable with the given name.- Specified by:
processVariableNotExists
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
name
- cannot be null.
-
caseVariableValueEquals
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a case that has a variable with the given name set to the given value.- Specified by:
caseVariableValueEquals
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
caseVariableValueEquals
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a case that has at least one variable with the given value.- Specified by:
caseVariableValueEquals
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
caseVariableValueEqualsIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a case that has a local string variable which is not the given value, case insensitive.This 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).
- Specified by:
caseVariableValueEqualsIgnoreCase
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
caseVariableValueNotEquals
Description copied from interface:TaskInfoQuery
Only select tasks which have a variable with the given name, but with a different value than the passed value. Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueNotEquals
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
caseVariableValueNotEqualsIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a case that has a string variable with the given value, case insensitive.This 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).
- Specified by:
caseVariableValueNotEqualsIgnoreCase
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
caseVariableValueGreaterThan
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value greater than the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueGreaterThan
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
name
- cannot be null.value
- cannot be null.
-
caseVariableValueGreaterThanOrEqual
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value greater than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueGreaterThanOrEqual
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
name
- cannot be null.value
- cannot be null.
-
caseVariableValueLessThan
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value less than the passed value when the ended.Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueLessThan
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
name
- cannot be null.value
- cannot be null.
-
caseVariableValueLessThanOrEqual
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value less than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueLessThanOrEqual
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
name
- cannot be null.value
- cannot be null.
-
caseVariableValueLike
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value like the given value when they ended. This can be used on string variables only.- Specified by:
caseVariableValueLike
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
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%).
-
caseVariableValueLikeIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value like the given value (case insensitive) when they ended. This can be used on string variables only.- Specified by:
caseVariableValueLikeIgnoreCase
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
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%).
-
caseVariableExists
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable with the given name.- Specified by:
caseVariableExists
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
name
- cannot be null.
-
caseVariableNotExists
Description copied from interface:TaskInfoQuery
Only select tasks which does not have a global variable with the given name.- Specified by:
caseVariableNotExists
in interfaceTaskInfoQuery<TaskQuery,
Task> - Parameters:
name
- cannot be null.
-
taskRootScopeId
Description copied from interface:TaskInfoQuery
Only selects tasks which with the given root scope id- Specified by:
taskRootScopeId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskParentScopeId
Description copied from interface:TaskInfoQuery
Only selects tasks which with the given parent scope id- Specified by:
taskParentScopeId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
processDefinitionKey
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process instance which has the given process definition key.- Specified by:
processDefinitionKey
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
processDefinitionKeyLike
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process instance which has a process definition key like the given value. The syntax that should be used is the same as in SQL, eg. %test%.- Specified by:
processDefinitionKeyLike
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
processDefinitionKeyLikeIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process instance which has a process definition key like the given value. The syntax that should be used is the same as in SQL, eg. %test%. This method, unlike theTaskInfoQuery.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.- Specified by:
processDefinitionKeyLikeIgnoreCase
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
processDefinitionKeyIn
Description copied from interface:TaskInfoQuery
Only select tasks that have a process definition for which the key is present in the given list- Specified by:
processDefinitionKeyIn
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
processDefinitionId
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process instance which has the given process definition id.- Specified by:
processDefinitionId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
processDefinitionName
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process instance which has the given process definition name.- Specified by:
processDefinitionName
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
processDefinitionNameLike
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process instance which has a process definition name like the given value. The syntax that should be used is the same as in SQL, eg. %test%.- Specified by:
processDefinitionNameLike
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
processCategoryIn
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process instance whose definition belongs to the category which is present in the given list.- Specified by:
processCategoryIn
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
processCategoryNotIn
Description copied from interface:TaskInfoQuery
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.- Specified by:
processCategoryNotIn
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
deploymentId
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process instance which has the given deployment id.- Specified by:
deploymentId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
deploymentIdIn
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process instance which has the given deployment id.- Specified by:
deploymentIdIn
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
cmmnDeploymentId
Description copied from interface:TaskInfoQuery
Only select tasks which are related to a case instance for to the given deployment id.- Specified by:
cmmnDeploymentId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
cmmnDeploymentIdIn
Description copied from interface:TaskInfoQuery
Only select tasks which are related to a case instances for the given deployment id.- Specified by:
cmmnDeploymentIdIn
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
withoutScopeId
Description copied from interface:TaskInfoQuery
Only select tasks which don't have a scope id set.- Specified by:
withoutScopeId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
dueDate
-
taskDueDate
Description copied from interface:TaskInfoQuery
Only select tasks with the given due date.- Specified by:
taskDueDate
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
dueBefore
-
taskDueBefore
Description copied from interface:TaskInfoQuery
Only select tasks which have a due date before the given date.- Specified by:
taskDueBefore
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
dueAfter
-
taskDueAfter
Description copied from interface:TaskInfoQuery
Only select tasks which have a due date after the given date.- Specified by:
taskDueAfter
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
withoutDueDate
-
withoutTaskDueDate
Description copied from interface:TaskInfoQuery
Only select tasks with no due date.- Specified by:
withoutTaskDueDate
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskInProgressStartDueDate
Description copied from interface:TaskInfoQuery
Only select tasks with the given in progress start due date.- Specified by:
taskInProgressStartDueDate
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskInProgressStartDueBefore
Description copied from interface:TaskInfoQuery
Only select tasks which have an in progress start due date before the given date.- Specified by:
taskInProgressStartDueBefore
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
taskInProgressStartDueAfter
Description copied from interface:TaskInfoQuery
Only select tasks which have an in progress start due date after the given date.- Specified by:
taskInProgressStartDueAfter
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
withoutTaskInProgressStartDueDate
Description copied from interface:TaskInfoQuery
Only select tasks with no in progress start due date.- Specified by:
withoutTaskInProgressStartDueDate
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
excludeSubtasks
Description copied from interface:TaskQuery
Only select tasks that have no parent (i.e. do not select subtasks).- Specified by:
excludeSubtasks
in interfaceTaskQuery
-
suspended
Description copied from interface:TaskQuery
Only selects tasks which are suspended, because its process instance was suspended. -
active
Description copied from interface:TaskQuery
Only selects tasks which are active (ie. not suspended) -
locale
Description copied from interface:TaskInfoQuery
Localize task name and description to specified locale.- Specified by:
locale
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
withLocalizationFallback
Description copied from interface:TaskInfoQuery
Instruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.- Specified by:
withLocalizationFallback
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
includeTaskLocalVariables
Description copied from interface:TaskInfoQuery
Include local task variables in the task query result- Specified by:
includeTaskLocalVariables
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
includeProcessVariables
Description copied from interface:TaskInfoQuery
Include global process variables in the task query result- Specified by:
includeProcessVariables
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
includeCaseVariables
Description copied from interface:TaskInfoQuery
Include global case variables in the task query result- Specified by:
includeCaseVariables
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
includeIdentityLinks
Description copied from interface:TaskInfoQuery
Include identity links in the task query result- Specified by:
includeIdentityLinks
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
getCandidateGroups
-
getGroupsForCandidateUser
-
ensureVariablesInitialized
protected void ensureVariablesInitialized()- Overrides:
ensureVariablesInitialized
in classAbstractVariableQueryImpl<TaskQuery,
Task>
-
or
Description copied from interface:TaskInfoQuery
All query clauses called will be added to a single or-statement. This or-statement will be included with the other already existing clauses in the query, joined by an 'and'.Calling 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)
- Specified by:
or
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
endOr
- Specified by:
endOr
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
orderByTaskId
Description copied from interface:TaskInfoQuery
Order by task id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
orderByTaskName
Description copied from interface:TaskInfoQuery
Order by task name (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskName
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
orderByTaskDescription
Description copied from interface:TaskInfoQuery
Order by description (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskDescription
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
orderByTaskPriority
Description copied from interface:TaskInfoQuery
Order by priority (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskPriority
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
orderByProcessInstanceId
Description copied from interface:TaskInfoQuery
Order by process instance id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessInstanceId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
orderByExecutionId
Description copied from interface:TaskInfoQuery
Order by execution id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByExecutionId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
orderByProcessDefinitionId
Description copied from interface:TaskInfoQuery
Order by process definition id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessDefinitionId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
orderByTaskAssignee
Description copied from interface:TaskInfoQuery
Order by assignee (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskAssignee
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
orderByTaskOwner
Description copied from interface:TaskInfoQuery
Order by task owner (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskOwner
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
orderByTaskCreateTime
Description copied from interface:TaskInfoQuery
Order by the time on which the tasks were created (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskCreateTime
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
orderByDueDate
-
orderByTaskDueDate
Description copied from interface:TaskInfoQuery
Order by task due date (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskDueDate
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
orderByTaskDefinitionKey
Description copied from interface:TaskInfoQuery
Order by task definition key (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskDefinitionKey
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
orderByDueDateNullsFirst
Description copied from interface:TaskInfoQuery
Order by due date (needs to be followed byQuery.asc()
orQuery.desc()
). If any of the tasks have null for the due date, these will be first in the result.- Specified by:
orderByDueDateNullsFirst
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
orderByDueDateNullsLast
Description copied from interface:TaskInfoQuery
Order by due date (needs to be followed byQuery.asc()
orQuery.desc()
). If any of the tasks have null for the due date, these will be last in the result.- Specified by:
orderByDueDateNullsLast
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
orderByCategory
Description copied from interface:TaskInfoQuery
Order by category (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByCategory
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
orderByTenantId
Description copied from interface:TaskInfoQuery
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTenantId
in interfaceTaskInfoQuery<TaskQuery,
Task>
-
executeList
Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractVariableQueryImpl<TaskQuery,
Task>
-
addCachedVariableForQueryById
protected void addCachedVariableForQueryById(CommandContext commandContext, List<Task> results, boolean local) -
enhanceCachedValue
- Specified by:
enhanceCachedValue
in interfaceCacheAwareQuery<TaskEntity>
-
executeCount
- Specified by:
executeCount
in classAbstractVariableQueryImpl<TaskQuery,
Task>
-
getName
-
getNameLike
-
getNameList
-
getNameListIgnoreCase
-
getAssignee
-
getUnassigned
public boolean getUnassigned() -
isWithAssignee
public boolean isWithAssignee() -
getDelegationState
-
getNoDelegationState
public boolean getNoDelegationState() -
getDelegationStateString
-
getCandidateUser
-
getCandidateGroup
-
isIgnoreAssigneeValue
public boolean isIgnoreAssigneeValue() -
getProcessInstanceId
-
getProcessInstanceIds
-
isWithoutProcessInstanceId
public boolean isWithoutProcessInstanceId() -
getExecutionId
-
getScopeId
-
isWithoutScopeId
public boolean isWithoutScopeId() -
getSubScopeId
-
getScopeType
-
getScopeDefinitionId
-
getPropagatedStageInstanceId
-
getTaskId
-
getTaskIds
-
getId
- Specified by:
getId
in interfaceCacheAwareQuery<TaskEntity>
-
getDescription
-
getDescriptionLike
-
getPriority
-
getCreateTime
-
getCreateTimeBefore
-
getCreateTimeAfter
-
getTaskDefinitionId
-
getKey
-
getKeyLike
-
getKeys
-
getProcessDefinitionKey
-
getProcessDefinitionId
-
getProcessDefinitionName
-
getProcessInstanceBusinessKey
-
getProcessInstanceIdWithChildren
-
getCaseInstanceIdWithChildren
-
getExcludeSubtasks
public boolean getExcludeSubtasks() -
getTenantId
-
getTenantIdLike
-
isWithoutTenantId
public boolean isWithoutTenantId() -
getUserIdForCandidateAndAssignee
-
getOrQueryObjects
-
setOrQueryObjects
-
getMinPriority
-
getMaxPriority
-
getAssigneeLike
-
getAssigneeIds
-
getInvolvedUser
-
getInvolvedGroups
-
getOwner
-
getOwnerLike
-
getCategory
-
getCategoryInList
-
getCategoryNotInList
-
isWithoutCategory
public boolean isWithoutCategory() -
isWithFormKey
public boolean isWithFormKey() -
getFormKey
-
getProcessDefinitionKeyLike
-
getProcessDefinitionKeys
-
getProcessDefinitionNameLike
-
getProcessCategoryInList
-
getProcessCategoryNotInList
-
getDeploymentId
-
getDeploymentIds
-
getCmmnDeploymentId
-
getCmmnDeploymentIds
-
getProcessInstanceBusinessKeyLike
-
getDueDate
-
getDueBefore
-
getDueAfter
-
isWithoutDueDate
public boolean isWithoutDueDate() -
getSuspensionState
-
isIncludeTaskLocalVariables
public boolean isIncludeTaskLocalVariables() -
isIncludeProcessVariables
public boolean isIncludeProcessVariables() -
isIncludeCaseVariables
public boolean isIncludeCaseVariables() -
isIncludeIdentityLinks
public boolean isIncludeIdentityLinks() -
isBothCandidateAndAssigned
public boolean isBothCandidateAndAssigned() -
getNameLikeIgnoreCase
-
getDescriptionLikeIgnoreCase
-
getAssigneeLikeIgnoreCase
-
getOwnerLikeIgnoreCase
-
getProcessInstanceBusinessKeyLikeIgnoreCase
-
getProcessDefinitionKeyLikeIgnoreCase
-
getLocale
-
isOrActive
public boolean isOrActive() -
isUnassigned
public boolean isUnassigned() -
isNoDelegationState
public boolean isNoDelegationState() -
getCaseDefinitionKey
-
getCaseDefinitionKeyLike
-
getCaseDefinitionKeyLikeIgnoreCase
-
getCaseDefinitionKeys
-
isExcludeSubtasks
public boolean isExcludeSubtasks() -
isWithLocalizationFallback
public boolean isWithLocalizationFallback() -
list
Description copied from interface:Query
Executes the query and get a list of entities as the result. -
listPage
Description copied from interface:Query
Executes the query and get a list of entities as the result. -
count
public long count()Description copied from interface:Query
Executes the query and returns the number of results -
getSafeCandidateGroups
-
setSafeCandidateGroups
-
getSafeInvolvedGroups
-
setSafeInvolvedGroups
-