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.ResultTypeNested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Collection<String>protected Stringprotected Stringprotected booleanprotected Stringprotected Collection<String>protected Stringprotected Stringprotected Stringprotected Stringprotected Collection<String>protected Stringprotected Stringprotected Collection<String>protected Collection<String>protected Stringprotected Dateprotected Dateprotected Dateprotected Stringprotected Collection<String>protected Dateprotected Dateprotected Dateprotected TaskQueryImplprotected DelegationStateprotected Stringprotected Collection<String>protected Stringprotected Stringprotected Stringprotected Dateprotected Dateprotected Dateprotected booleanprotected Stringprotected Stringprotected IdmIdentityServiceprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected Dateprotected Dateprotected Dateprotected Stringprotected Dateprotected Dateprotected Dateprotected Collection<String>protected Stringprotected Stringprotected Stringprotected Collection<String>protected Stringprotected Integerprotected Integerprotected Stringprotected Stringprotected Stringprotected Collection<String>protected Collection<String>protected booleanprotected booleanprotected List<TaskQueryImpl>protected Stringprotected Stringprotected Stringprotected Stringprotected Integerprotected Collection<String>protected Collection<String>protected Stringprotected Stringprotected Stringprotected Stringprotected Collection<String>protected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Collection<String>protected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Dateprotected Dateprotected Dateprotected SuspensionStateprotected Stringprotected Stringprotected Collection<String>protected TaskServiceConfigurationprotected Stringprotected Stringprotected booleanprotected Stringprotected VariableServiceConfigurationprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanFields inherited from class org.flowable.variable.service.impl.AbstractVariableQueryImpl
queryVariableValues, variableValueProviderFields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutorFields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, ignoreOrderBy, 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 voidaddCachedVariableForQueryById(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 andSerializableobjects (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 voidcheckTaskCategoryList(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.longcount()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()voidenhanceCachedValue(TaskEntity task) protected voidOnly select tasks that have no parent (i.e.longexecuteCount(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.booleanprotected Collection<String>getGroupsForCandidateUser(String candidateUser) getId()getKey()getKeys()getName()booleangetOwner()booleanAllows 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 resultbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanlist()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 andSerializableobjects (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.voidsetOrQueryObjects(List<TaskQueryImpl> orQueryObjects) voidsetSafeCandidateGroups(List<List<String>> safeCandidateGroups) voidsetSafeInvolvedGroups(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 anIdentityLinkwith the given Groups.taskInvolvedUser(String involvedUser) Only select tasks for which there exist anIdentityLinkwith 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 andSerializableobjects (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, variableValueNotEqualsIgnoreCaseMethods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, desc, direction, execute, executeSingleResult, getSafeList, orderBy, orderBy, setCommandExecutor, singleResultMethods 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, setIgnoreOrderBy, 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:TaskInfoQueryOnly select tasks with the given task id (in practice, there will be maximum one of this kind)- Specified by:
taskIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskIds
Description copied from interface:TaskInfoQueryOnly select tasks with an id that is in the given list- Specified by:
taskIdsin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskName
Description copied from interface:TaskInfoQueryOnly select tasks with the given name- Specified by:
taskNamein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskNameIn
Description copied from interface:TaskInfoQueryOnly select tasks with a name that is in the given list- Specified by:
taskNameInin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskNameInIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
taskNameInIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskNameLike
Description copied from interface:TaskInfoQueryOnly select tasks with a name matching the parameter. The syntax is that of SQL: for example usage: nameLike(%test%)- Specified by:
taskNameLikein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskNameLikeIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
taskNameLikeIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskDescription
Description copied from interface:TaskInfoQueryOnly select tasks with the given description.- Specified by:
taskDescriptionin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskDescriptionLike
Description copied from interface:TaskInfoQueryOnly select tasks with a description matching the parameter . The syntax is that of SQL: for example usage: descriptionLike(%test%)- Specified by:
taskDescriptionLikein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskDescriptionLikeIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
taskDescriptionLikeIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskPriority
Description copied from interface:TaskInfoQueryOnly select tasks with the given priority.- Specified by:
taskPriorityin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskMinPriority
Description copied from interface:TaskInfoQueryOnly select tasks with the given priority or higher.- Specified by:
taskMinPriorityin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskMaxPriority
Description copied from interface:TaskInfoQueryOnly select tasks with the given priority or lower.- Specified by:
taskMaxPriorityin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskAssignee
Description copied from interface:TaskInfoQueryOnly select tasks which are assigned to the given user.- Specified by:
taskAssigneein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskAssigneeLike
Description copied from interface:TaskInfoQueryOnly 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:
taskAssigneeLikein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskAssigneeLikeIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
taskAssigneeLikeIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskAssigneeIds
Description copied from interface:TaskInfoQueryOnly select tasks with an assignee that is in the given list- Specified by:
taskAssigneeIdsin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskOwner
Description copied from interface:TaskInfoQueryOnly select tasks for which the given user is the owner.- Specified by:
taskOwnerin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskOwnerLike
Description copied from interface:TaskInfoQueryOnly 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:
taskOwnerLikein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskOwnerLikeIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
taskOwnerLikeIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskUnassigned
Description copied from interface:TaskInfoQueryOnly select tasks which don't have an assignee.- Specified by:
taskUnassignedin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskAssigned
Description copied from interface:TaskInfoQueryOnly select tasks which are assigned to any user- Specified by:
taskAssignedin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskDelegationState
Description copied from interface:TaskQueryOnly select tasks with the givenDelegationState.- Specified by:
taskDelegationStatein interfaceTaskQuery
-
taskCandidateUser
Description copied from interface:TaskInfoQueryOnly select tasks for which the given user is a candidate.- Specified by:
taskCandidateUserin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskInvolvedUser
Description copied from interface:TaskInfoQueryOnly select tasks for which there exist anIdentityLinkwith the given user, including tasks which have been assigned to the given user (assignee) or owned by the given user (owner).- Specified by:
taskInvolvedUserin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskInvolvedGroups
Description copied from interface:TaskInfoQueryOnly select tasks for which there exist anIdentityLinkwith the given Groups.- Specified by:
taskInvolvedGroupsin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskCandidateGroup
Description copied from interface:TaskInfoQueryOnly select tasks for which users in the given group are candidates.- Specified by:
taskCandidateGroupin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskCandidateOrAssigned
Description copied from interface:TaskQuerySelect 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:
taskCandidateOrAssignedin interfaceTaskQuery
-
taskCandidateGroupIn
Description copied from interface:TaskInfoQueryOnly select tasks for which the 'candidateGroup' is one of the given groups.- Specified by:
taskCandidateGroupInin interfaceTaskInfoQuery<TaskQuery,Task>
-
ignoreAssigneeValue
Description copied from interface:TaskInfoQueryAllows 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:
ignoreAssigneeValuein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskTenantId
Description copied from interface:TaskInfoQueryOnly select tasks that have the given tenant id.- Specified by:
taskTenantIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskTenantIdLike
Description copied from interface:TaskInfoQueryOnly select tasks with a tenant id like the given one.- Specified by:
taskTenantIdLikein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskWithoutTenantId
Description copied from interface:TaskInfoQueryOnly select tasks that do not have a tenant id.- Specified by:
taskWithoutTenantIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
processInstanceId
Description copied from interface:TaskInfoQueryOnly select tasks for the given process instance id.- Specified by:
processInstanceIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
processInstanceIdIn
Description copied from interface:TaskInfoQueryOnly select tasks for the given process ids.- Specified by:
processInstanceIdInin interfaceTaskInfoQuery<TaskQuery,Task>
-
withoutProcessInstanceId
Description copied from interface:TaskInfoQueryOnly select tasks without a process instance id.- Specified by:
withoutProcessInstanceIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
processInstanceBusinessKey
Description copied from interface:TaskInfoQueryOnly select tasks for the given business key- Specified by:
processInstanceBusinessKeyin interfaceTaskInfoQuery<TaskQuery,Task>
-
processInstanceBusinessKeyLike
Description copied from interface:TaskInfoQueryOnly select tasks with a business key like the given value The syntax is that of SQL: for example usage: processInstanceBusinessKeyLike("%test%").- Specified by:
processInstanceBusinessKeyLikein interfaceTaskInfoQuery<TaskQuery,Task>
-
processInstanceBusinessKeyLikeIgnoreCase
public TaskQuery processInstanceBusinessKeyLikeIgnoreCase(String processInstanceBusinessKeyLikeIgnoreCase) Description copied from interface:TaskInfoQueryOnly 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:
processInstanceBusinessKeyLikeIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
executionId
Description copied from interface:TaskInfoQueryOnly select tasks for the given execution.- Specified by:
executionIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
caseInstanceId
Description copied from interface:TaskInfoQueryOnly select tasks for the given case instance.- Specified by:
caseInstanceIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
caseDefinitionId
Description copied from interface:TaskInfoQueryOnly select tasks for the given case definition.- Specified by:
caseDefinitionIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
caseDefinitionKey
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a case instance which has the given case definition key.- Specified by:
caseDefinitionKeyin interfaceTaskInfoQuery<TaskQuery,Task>
-
caseDefinitionKeyLike
Description copied from interface:TaskInfoQueryOnly 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:
caseDefinitionKeyLikein interfaceTaskInfoQuery<TaskQuery,Task>
-
caseDefinitionKeyLikeIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
caseDefinitionKeyLikeIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
caseDefinitionKeyIn
Description copied from interface:TaskInfoQueryOnly select tasks that have a case definition for which the key is present in the given list- Specified by:
caseDefinitionKeyInin interfaceTaskInfoQuery<TaskQuery,Task>
-
processInstanceIdWithChildren
Description copied from interface:TaskInfoQuerySelect all tasks for the given process instance id and its children.- Specified by:
processInstanceIdWithChildrenin interfaceTaskInfoQuery<TaskQuery,Task>
-
caseInstanceIdWithChildren
Description copied from interface:TaskInfoQuerySelect all tasks for the given case instance id and its children.- Specified by:
caseInstanceIdWithChildrenin interfaceTaskInfoQuery<TaskQuery,Task>
-
planItemInstanceId
Description copied from interface:TaskInfoQueryOnly select tasks for the given plan item instance.- Specified by:
planItemInstanceIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
scopeId
Description copied from interface:TaskInfoQueryOnly select tasks for the given scope identifier.- Specified by:
scopeIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
subScopeId
Description copied from interface:TaskInfoQueryOnly select tasks for the given sub scope identifier.- Specified by:
subScopeIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
scopeType
Description copied from interface:TaskInfoQueryOnly select tasks for the given scope type.- Specified by:
scopeTypein interfaceTaskInfoQuery<TaskQuery,Task>
-
scopeDefinitionId
Description copied from interface:TaskInfoQueryOnly select tasks for the given scope definition identifier.- Specified by:
scopeDefinitionIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
propagatedStageInstanceId
Description copied from interface:TaskInfoQueryOnly select tasks for the given stage, defined through its stage instance id.- Specified by:
propagatedStageInstanceIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskState
Description copied from interface:TaskInfoQueryOnly select tasks with the given state.- Specified by:
taskStatein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskCreatedOn
Description copied from interface:TaskInfoQueryOnly select tasks that are created on the given date.- Specified by:
taskCreatedOnin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskCreatedBefore
Description copied from interface:TaskInfoQueryOnly select tasks that are created before the given date.- Specified by:
taskCreatedBeforein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskCreatedAfter
Description copied from interface:TaskInfoQueryOnly select tasks that are created after the given date.- Specified by:
taskCreatedAfterin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskInProgressStartTimeOn
Description copied from interface:TaskInfoQueryOnly select tasks that are started in progress on the given date.- Specified by:
taskInProgressStartTimeOnin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskInProgressStartTimeBefore
Description copied from interface:TaskInfoQueryOnly select tasks that are started in progress before the given date.- Specified by:
taskInProgressStartTimeBeforein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskInProgressStartTimeAfter
Description copied from interface:TaskInfoQueryOnly select tasks that are started in progress after the given date.- Specified by:
taskInProgressStartTimeAfterin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskInProgressStartedBy
Description copied from interface:TaskInfoQuerySelect all tasks that have an in progress started user reference for the given value.- Specified by:
taskInProgressStartedByin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskClaimedOn
Description copied from interface:TaskInfoQueryOnly select tasks that are claimed on the given date.- Specified by:
taskClaimedOnin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskClaimedBefore
Description copied from interface:TaskInfoQueryOnly select tasks that are claimed before the given date.- Specified by:
taskClaimedBeforein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskClaimedAfter
Description copied from interface:TaskInfoQueryOnly select tasks that are claimed after the given date.- Specified by:
taskClaimedAfterin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskClaimedBy
Description copied from interface:TaskInfoQuerySelect all tasks that have a claimed by user reference for the given value.- Specified by:
taskClaimedByin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskSuspendedOn
Description copied from interface:TaskInfoQueryOnly select tasks that are suspended on the given date.- Specified by:
taskSuspendedOnin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskSuspendedBefore
Description copied from interface:TaskInfoQueryOnly select tasks that are suspended before the given date.- Specified by:
taskSuspendedBeforein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskSuspendedAfter
Description copied from interface:TaskInfoQueryOnly select tasks that are suspended after the given date.- Specified by:
taskSuspendedAfterin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskSuspendedBy
Description copied from interface:TaskInfoQuerySelect all tasks that have a suspended by user reference for the given value.- Specified by:
taskSuspendedByin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskCategory
Description copied from interface:TaskInfoQueryOnly select tasks with the given category.- Specified by:
taskCategoryin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskCategoryIn
Description copied from interface:TaskInfoQueryOnly select tasks belonging to one of the categories in the given list.- Specified by:
taskCategoryInin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskCategoryNotIn
Description copied from interface:TaskInfoQueryOnly 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
nullcategory. To includenullcategories, usequery.or().taskCategoryNotIn(...).taskWithoutCategory().endOr()- Specified by:
taskCategoryNotInin interfaceTaskInfoQuery<TaskQuery,Task> - See Also:
-
taskWithoutCategory
Description copied from interface:TaskInfoQuerySelects tasks without category.Can also be used in conjunction with other filter criteria to include tasks without category e.g. in
orqueries.- Specified by:
taskWithoutCategoryin interfaceTaskInfoQuery<TaskQuery,Task> - See Also:
-
checkTaskCategoryList
-
taskWithFormKey
Description copied from interface:TaskInfoQueryOnly select tasks with form key.- Specified by:
taskWithFormKeyin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskFormKey
Description copied from interface:TaskInfoQueryOnly select tasks with the given formKey.- Specified by:
taskFormKeyin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskDefinitionId
Description copied from interface:TaskInfoQueryOnly select tasks which created from the given task definition referenced by id.- Specified by:
taskDefinitionIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskDefinitionKey
Description copied from interface:TaskInfoQueryOnly select tasks with the given taskDefinitionKey. The task definition key is the id of the userTask: <userTask id="xxx" .../>- Specified by:
taskDefinitionKeyin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskDefinitionKeyLike
Description copied from interface:TaskInfoQueryOnly 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:
taskDefinitionKeyLikein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskDefinitionKeys
Description copied from interface:TaskInfoQueryOnly select tasks with the given taskDefinitionKeys. The task definition key is the id of the userTask: <userTask id="xxx" .../>- Specified by:
taskDefinitionKeysin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskVariableValueEquals
Description copied from interface:TaskInfoQueryOnly select tasks which have a local task variable with the given name set to the given value.- Specified by:
taskVariableValueEqualsin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskVariableValueEquals
Description copied from interface:TaskInfoQueryOnly select tasks which have at least one local task variable with the given value.- Specified by:
taskVariableValueEqualsin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskVariableValueEqualsIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
taskVariableValueEqualsIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskVariableValueNotEqualsIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
taskVariableValueNotEqualsIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskVariableValueNotEquals
Description copied from interface:TaskInfoQueryOnly select tasks which have a local task variable with the given name, but with a different value than the passed value. Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueNotEqualsin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskVariableValueGreaterThan
Description copied from interface:TaskInfoQueryOnly select tasks which have a local variable value greater than the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueGreaterThanin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null.
-
taskVariableValueGreaterThanOrEqual
Description copied from interface:TaskInfoQueryOnly select tasks which have a local variable value greater than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueGreaterThanOrEqualin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null.
-
taskVariableValueLessThan
Description copied from interface:TaskInfoQueryOnly select tasks which have a local variable value less than the passed value when the ended.Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueLessThanin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null.
-
taskVariableValueLessThanOrEqual
Description copied from interface:TaskInfoQueryOnly select tasks which have a local variable value less than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueLessThanOrEqualin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null.
-
taskVariableValueLike
Description copied from interface:TaskInfoQueryOnly 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:
taskVariableValueLikein 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:TaskInfoQueryOnly 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:
taskVariableValueLikeIgnoreCasein 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:TaskInfoQueryOnly select tasks which have a local variable with the given name.- Specified by:
taskVariableExistsin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.
-
taskVariableNotExists
Description copied from interface:TaskInfoQueryOnly select tasks which does not have a local variable with the given name.- Specified by:
taskVariableNotExistsin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.
-
processVariableValueEquals
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process that has a variable with the given name set to the given value.- Specified by:
processVariableValueEqualsin interfaceTaskInfoQuery<TaskQuery,Task>
-
processVariableValueNotEquals
Description copied from interface:TaskInfoQueryOnly select tasks which have a variable with the given name, but with a different value than the passed value. Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueNotEqualsin interfaceTaskInfoQuery<TaskQuery,Task>
-
processVariableValueEquals
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process that has at least one variable with the given value.- Specified by:
processVariableValueEqualsin interfaceTaskInfoQuery<TaskQuery,Task>
-
processVariableValueEqualsIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
processVariableValueEqualsIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
processVariableValueNotEqualsIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
processVariableValueNotEqualsIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
processVariableValueGreaterThan
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value greater than the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueGreaterThanin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null.
-
processVariableValueGreaterThanOrEqual
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value greater than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueGreaterThanOrEqualin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null.
-
processVariableValueLessThan
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value less than the passed value when the ended.Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueLessThanin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null.
-
processVariableValueLessThanOrEqual
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value less than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueLessThanOrEqualin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null.
-
processVariableValueLike
Description copied from interface:TaskInfoQueryOnly 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:
processVariableValueLikein 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:TaskInfoQueryOnly 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:
processVariableValueLikeIgnoreCasein 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:TaskInfoQueryOnly select tasks which have a global variable with the given name.- Specified by:
processVariableExistsin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.
-
processVariableNotExists
Description copied from interface:TaskInfoQueryOnly select tasks which does not have a global variable with the given name.- Specified by:
processVariableNotExistsin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.
-
caseVariableValueEquals
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a case that has a variable with the given name set to the given value.- Specified by:
caseVariableValueEqualsin interfaceTaskInfoQuery<TaskQuery,Task>
-
caseVariableValueEquals
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a case that has at least one variable with the given value.- Specified by:
caseVariableValueEqualsin interfaceTaskInfoQuery<TaskQuery,Task>
-
caseVariableValueEqualsIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
caseVariableValueEqualsIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
caseVariableValueNotEquals
Description copied from interface:TaskInfoQueryOnly select tasks which have a variable with the given name, but with a different value than the passed value. Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueNotEqualsin interfaceTaskInfoQuery<TaskQuery,Task>
-
caseVariableValueNotEqualsIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
caseVariableValueNotEqualsIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
caseVariableValueGreaterThan
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value greater than the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueGreaterThanin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null.
-
caseVariableValueGreaterThanOrEqual
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value greater than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueGreaterThanOrEqualin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null.
-
caseVariableValueLessThan
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value less than the passed value when the ended.Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueLessThanin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null.
-
caseVariableValueLessThanOrEqual
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value less than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueLessThanOrEqualin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null.
-
caseVariableValueLike
Description copied from interface:TaskInfoQueryOnly 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:
caseVariableValueLikein 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:TaskInfoQueryOnly 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:
caseVariableValueLikeIgnoreCasein 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:TaskInfoQueryOnly select tasks which have a global variable with the given name.- Specified by:
caseVariableExistsin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.
-
caseVariableNotExists
Description copied from interface:TaskInfoQueryOnly select tasks which does not have a global variable with the given name.- Specified by:
caseVariableNotExistsin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.
-
taskRootScopeId
Description copied from interface:TaskInfoQueryOnly selects tasks which with the given root scope id- Specified by:
taskRootScopeIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskParentScopeId
Description copied from interface:TaskInfoQueryOnly selects tasks which with the given parent scope id- Specified by:
taskParentScopeIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
processDefinitionKey
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance which has the given process definition key.- Specified by:
processDefinitionKeyin interfaceTaskInfoQuery<TaskQuery,Task>
-
processDefinitionKeyLike
Description copied from interface:TaskInfoQueryOnly 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:
processDefinitionKeyLikein interfaceTaskInfoQuery<TaskQuery,Task>
-
processDefinitionKeyLikeIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
processDefinitionKeyLikeIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
processDefinitionKeyIn
Description copied from interface:TaskInfoQueryOnly select tasks that have a process definition for which the key is present in the given list- Specified by:
processDefinitionKeyInin interfaceTaskInfoQuery<TaskQuery,Task>
-
processDefinitionId
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance which has the given process definition id.- Specified by:
processDefinitionIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
processDefinitionName
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance which has the given process definition name.- Specified by:
processDefinitionNamein interfaceTaskInfoQuery<TaskQuery,Task>
-
processDefinitionNameLike
Description copied from interface:TaskInfoQueryOnly 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:
processDefinitionNameLikein interfaceTaskInfoQuery<TaskQuery,Task>
-
processCategoryIn
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance whose definition belongs to the category which is present in the given list.- Specified by:
processCategoryInin interfaceTaskInfoQuery<TaskQuery,Task>
-
processCategoryNotIn
Description copied from interface:TaskInfoQueryOnly 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:
processCategoryNotInin interfaceTaskInfoQuery<TaskQuery,Task>
-
deploymentId
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance which has the given deployment id.- Specified by:
deploymentIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
deploymentIdIn
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance which has the given deployment id.- Specified by:
deploymentIdInin interfaceTaskInfoQuery<TaskQuery,Task>
-
cmmnDeploymentId
Description copied from interface:TaskInfoQueryOnly select tasks which are related to a case instance for to the given deployment id.- Specified by:
cmmnDeploymentIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
cmmnDeploymentIdIn
Description copied from interface:TaskInfoQueryOnly select tasks which are related to a case instances for the given deployment id.- Specified by:
cmmnDeploymentIdInin interfaceTaskInfoQuery<TaskQuery,Task>
-
withoutScopeId
Description copied from interface:TaskInfoQueryOnly select tasks which don't have a scope id set.- Specified by:
withoutScopeIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
dueDate
-
taskDueDate
Description copied from interface:TaskInfoQueryOnly select tasks with the given due date.- Specified by:
taskDueDatein interfaceTaskInfoQuery<TaskQuery,Task>
-
dueBefore
-
taskDueBefore
Description copied from interface:TaskInfoQueryOnly select tasks which have a due date before the given date.- Specified by:
taskDueBeforein interfaceTaskInfoQuery<TaskQuery,Task>
-
dueAfter
-
taskDueAfter
Description copied from interface:TaskInfoQueryOnly select tasks which have a due date after the given date.- Specified by:
taskDueAfterin interfaceTaskInfoQuery<TaskQuery,Task>
-
withoutDueDate
-
withoutTaskDueDate
Description copied from interface:TaskInfoQueryOnly select tasks with no due date.- Specified by:
withoutTaskDueDatein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskInProgressStartDueDate
Description copied from interface:TaskInfoQueryOnly select tasks with the given in progress start due date.- Specified by:
taskInProgressStartDueDatein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskInProgressStartDueBefore
Description copied from interface:TaskInfoQueryOnly select tasks which have an in progress start due date before the given date.- Specified by:
taskInProgressStartDueBeforein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskInProgressStartDueAfter
Description copied from interface:TaskInfoQueryOnly select tasks which have an in progress start due date after the given date.- Specified by:
taskInProgressStartDueAfterin interfaceTaskInfoQuery<TaskQuery,Task>
-
withoutTaskInProgressStartDueDate
Description copied from interface:TaskInfoQueryOnly select tasks with no in progress start due date.- Specified by:
withoutTaskInProgressStartDueDatein interfaceTaskInfoQuery<TaskQuery,Task>
-
excludeSubtasks
Description copied from interface:TaskQueryOnly select tasks that have no parent (i.e. do not select subtasks).- Specified by:
excludeSubtasksin interfaceTaskQuery
-
suspended
Description copied from interface:TaskQueryOnly selects tasks which are suspended, because its process instance was suspended. -
active
Description copied from interface:TaskQueryOnly selects tasks which are active (ie. not suspended) -
locale
Description copied from interface:TaskInfoQueryLocalize task name and description to specified locale.- Specified by:
localein interfaceTaskInfoQuery<TaskQuery,Task>
-
withLocalizationFallback
Description copied from interface:TaskInfoQueryInstruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.- Specified by:
withLocalizationFallbackin interfaceTaskInfoQuery<TaskQuery,Task>
-
includeTaskLocalVariables
Description copied from interface:TaskInfoQueryInclude local task variables in the task query result- Specified by:
includeTaskLocalVariablesin interfaceTaskInfoQuery<TaskQuery,Task>
-
includeProcessVariables
Description copied from interface:TaskInfoQueryInclude global process variables in the task query result- Specified by:
includeProcessVariablesin interfaceTaskInfoQuery<TaskQuery,Task>
-
includeCaseVariables
Description copied from interface:TaskInfoQueryInclude global case variables in the task query result- Specified by:
includeCaseVariablesin interfaceTaskInfoQuery<TaskQuery,Task>
-
includeIdentityLinks
Description copied from interface:TaskInfoQueryInclude identity links in the task query result- Specified by:
includeIdentityLinksin interfaceTaskInfoQuery<TaskQuery,Task>
-
getCandidateGroups
-
getGroupsForCandidateUser
-
ensureVariablesInitialized
protected void ensureVariablesInitialized()- Overrides:
ensureVariablesInitializedin classAbstractVariableQueryImpl<TaskQuery,Task>
-
or
Description copied from interface:TaskInfoQueryAll 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:
orin interfaceTaskInfoQuery<TaskQuery,Task>
-
endOr
- Specified by:
endOrin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByTaskId
Description copied from interface:TaskInfoQueryOrder by task id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByTaskName
Description copied from interface:TaskInfoQueryOrder by task name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskNamein interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByTaskDescription
Description copied from interface:TaskInfoQueryOrder by description (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskDescriptionin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByTaskPriority
Description copied from interface:TaskInfoQueryOrder by priority (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskPriorityin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByProcessInstanceId
Description copied from interface:TaskInfoQueryOrder by process instance id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByExecutionId
Description copied from interface:TaskInfoQueryOrder by execution id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByExecutionIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByProcessDefinitionId
Description copied from interface:TaskInfoQueryOrder by process definition id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessDefinitionIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByTaskAssignee
Description copied from interface:TaskInfoQueryOrder by assignee (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskAssigneein interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByTaskOwner
Description copied from interface:TaskInfoQueryOrder by task owner (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskOwnerin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByTaskCreateTime
Description copied from interface:TaskInfoQueryOrder by the time on which the tasks were created (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskCreateTimein interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByDueDate
-
orderByTaskDueDate
Description copied from interface:TaskInfoQueryOrder by task due date (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskDueDatein interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByTaskDefinitionKey
Description copied from interface:TaskInfoQueryOrder by task definition key (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskDefinitionKeyin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByDueDateNullsFirst
Description copied from interface:TaskInfoQueryOrder 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:
orderByDueDateNullsFirstin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByDueDateNullsLast
Description copied from interface:TaskInfoQueryOrder 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:
orderByDueDateNullsLastin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByCategory
Description copied from interface:TaskInfoQueryOrder by category (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByCategoryin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByTenantId
Description copied from interface:TaskInfoQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTenantIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractVariableQueryImpl<TaskQuery,Task>
-
addCachedVariableForQueryById
protected void addCachedVariableForQueryById(CommandContext commandContext, List<Task> results, boolean local) -
enhanceCachedValue
- Specified by:
enhanceCachedValuein interfaceCacheAwareQuery<TaskEntity>
-
executeCount
- Specified by:
executeCountin 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:
getIdin 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:QueryExecutes the query and get a list of entities as the result. -
listPage
Description copied from interface:QueryExecutes the query and get a list of entities as the result. -
count
public long count()Description copied from interface:QueryExecutes the query and returns the number of results -
getSafeCandidateGroups
-
setSafeCandidateGroups
-
getSafeInvolvedGroups
-
setSafeInvolvedGroups
-