Class TaskQueryImpl

    • Field Detail

      • taskId

        protected java.lang.String taskId
      • name

        protected java.lang.String name
      • nameLike

        protected java.lang.String nameLike
      • nameLikeIgnoreCase

        protected java.lang.String nameLikeIgnoreCase
      • taskParentTaskId

        protected java.lang.String taskParentTaskId
      • nameList

        protected java.util.List<java.lang.String> nameList
      • nameListIgnoreCase

        protected java.util.List<java.lang.String> nameListIgnoreCase
      • description

        protected java.lang.String description
      • descriptionLike

        protected java.lang.String descriptionLike
      • descriptionLikeIgnoreCase

        protected java.lang.String descriptionLikeIgnoreCase
      • priority

        protected java.lang.Integer priority
      • minPriority

        protected java.lang.Integer minPriority
      • maxPriority

        protected java.lang.Integer maxPriority
      • assignee

        protected java.lang.String assignee
      • assigneeLike

        protected java.lang.String assigneeLike
      • assigneeLikeIgnoreCase

        protected java.lang.String assigneeLikeIgnoreCase
      • assigneeIds

        protected java.util.List<java.lang.String> assigneeIds
      • involvedUser

        protected java.lang.String involvedUser
      • involvedGroups

        protected java.util.List<java.lang.String> involvedGroups
      • owner

        protected java.lang.String owner
      • ownerLike

        protected java.lang.String ownerLike
      • ownerLikeIgnoreCase

        protected java.lang.String ownerLikeIgnoreCase
      • unassigned

        protected boolean unassigned
      • noDelegationState

        protected boolean noDelegationState
      • candidateUser

        protected java.lang.String candidateUser
      • candidateGroup

        protected java.lang.String candidateGroup
      • candidateGroups

        protected java.util.List<java.lang.String> candidateGroups
      • tenantId

        protected java.lang.String tenantId
      • tenantIdLike

        protected java.lang.String tenantIdLike
      • withoutTenantId

        protected boolean withoutTenantId
      • processInstanceId

        protected java.lang.String processInstanceId
      • processInstanceIds

        protected java.util.List<java.lang.String> processInstanceIds
      • executionId

        protected java.lang.String executionId
      • createTime

        protected java.util.Date createTime
      • createTimeBefore

        protected java.util.Date createTimeBefore
      • createTimeAfter

        protected java.util.Date createTimeAfter
      • category

        protected java.lang.String category
      • key

        protected java.lang.String key
      • keyLike

        protected java.lang.String keyLike
      • processDefinitionKey

        protected java.lang.String processDefinitionKey
      • processDefinitionKeyLike

        protected java.lang.String processDefinitionKeyLike
      • processDefinitionKeyLikeIgnoreCase

        protected java.lang.String processDefinitionKeyLikeIgnoreCase
      • processDefinitionKeys

        protected java.util.List<java.lang.String> processDefinitionKeys
      • processDefinitionId

        protected java.lang.String processDefinitionId
      • processDefinitionName

        protected java.lang.String processDefinitionName
      • processDefinitionNameLike

        protected java.lang.String processDefinitionNameLike
      • processCategoryInList

        protected java.util.List<java.lang.String> processCategoryInList
      • processCategoryNotInList

        protected java.util.List<java.lang.String> processCategoryNotInList
      • deploymentId

        protected java.lang.String deploymentId
      • deploymentIds

        protected java.util.List<java.lang.String> deploymentIds
      • processInstanceBusinessKey

        protected java.lang.String processInstanceBusinessKey
      • processInstanceBusinessKeyLike

        protected java.lang.String processInstanceBusinessKeyLike
      • processInstanceBusinessKeyLikeIgnoreCase

        protected java.lang.String processInstanceBusinessKeyLikeIgnoreCase
      • dueDate

        protected java.util.Date dueDate
      • dueBefore

        protected java.util.Date dueBefore
      • dueAfter

        protected java.util.Date dueAfter
      • withoutDueDate

        protected boolean withoutDueDate
      • excludeSubtasks

        protected boolean excludeSubtasks
      • includeTaskLocalVariables

        protected boolean includeTaskLocalVariables
      • includeProcessVariables

        protected boolean includeProcessVariables
      • taskVariablesLimit

        protected java.lang.Integer taskVariablesLimit
      • userIdForCandidateAndAssignee

        protected java.lang.String userIdForCandidateAndAssignee
      • bothCandidateAndAssigned

        protected boolean bothCandidateAndAssigned
      • locale

        protected java.lang.String locale
      • withLocalizationFallback

        protected boolean withLocalizationFallback
      • orActive

        protected boolean orActive
      • orQueryObjects

        protected java.util.List<TaskQueryImpl> orQueryObjects
      • currentOrQueryObject

        protected TaskQueryImpl currentOrQueryObject
    • Constructor Detail

      • TaskQueryImpl

        public TaskQueryImpl()
      • TaskQueryImpl

        public TaskQueryImpl​(CommandContext commandContext)
      • TaskQueryImpl

        public TaskQueryImpl​(CommandExecutor commandExecutor,
                             java.lang.String databaseType)
    • Method Detail

      • taskNameInIgnoreCase

        public TaskQuery taskNameInIgnoreCase​(java.util.List<java.lang.String> nameList)
        Description copied from interface: TaskInfoQuery
        Only select tasks with a name that is in the given list This method, unlike the TaskInfoQuery.taskNameIn(List) 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 interface TaskInfoQuery<TaskQuery,​Task>
      • taskNameLike

        public TaskQueryImpl taskNameLike​(java.lang.String nameLike)
        Description copied from interface: TaskInfoQuery
        Only select tasks with a name matching the parameter. The syntax is that of SQL: for example usage: nameLike(%activiti%)
        Specified by:
        taskNameLike in interface TaskInfoQuery<TaskQuery,​Task>
      • taskNameLikeIgnoreCase

        public TaskQuery taskNameLikeIgnoreCase​(java.lang.String nameLikeIgnoreCase)
        Description copied from interface: TaskInfoQuery
        Only select tasks with a name matching the parameter. The syntax is that of SQL: for example usage: nameLike(%activiti%) This method, unlike the TaskInfoQuery.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 interface TaskInfoQuery<TaskQuery,​Task>
      • taskDescriptionLike

        public TaskQuery taskDescriptionLike​(java.lang.String descriptionLike)
        Description copied from interface: TaskInfoQuery
        Only select tasks with a description matching the parameter . The syntax is that of SQL: for example usage: descriptionLike(%activiti%)
        Specified by:
        taskDescriptionLike in interface TaskInfoQuery<TaskQuery,​Task>
      • taskDescriptionLikeIgnoreCase

        public TaskQuery taskDescriptionLikeIgnoreCase​(java.lang.String descriptionLikeIgnoreCase)
        Description copied from interface: TaskInfoQuery
        Only select tasks with a description matching the parameter . The syntax is that of SQL: for example usage: descriptionLike(%activiti%) This method, unlike the TaskInfoQuery.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 interface TaskInfoQuery<TaskQuery,​Task>
      • taskAssigneeLike

        public TaskQueryImpl taskAssigneeLike​(java.lang.String assigneeLike)
        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. %activiti%.
        Specified by:
        taskAssigneeLike in interface TaskInfoQuery<TaskQuery,​Task>
      • taskAssigneeLikeIgnoreCase

        public TaskQuery taskAssigneeLikeIgnoreCase​(java.lang.String assigneeLikeIgnoreCase)
        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. %activiti%. This method, unlike the TaskInfoQuery.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 interface TaskInfoQuery<TaskQuery,​Task>
      • taskOwnerLike

        public TaskQueryImpl taskOwnerLike​(java.lang.String ownerLike)
        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. %activiti%.
        Specified by:
        taskOwnerLike in interface TaskInfoQuery<TaskQuery,​Task>
      • taskOwnerLikeIgnoreCase

        public TaskQuery taskOwnerLikeIgnoreCase​(java.lang.String ownerLikeIgnoreCase)
        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. %activiti%. This method, unlike the TaskInfoQuery.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 interface TaskInfoQuery<TaskQuery,​Task>
      • taskCandidateUser

        public TaskQueryImpl taskCandidateUser​(java.lang.String candidateUser)
        Description copied from interface: TaskInfoQuery
        Only select tasks for which the given user is a candidate. If identity service is available then also through user's groups.
        Specified by:
        taskCandidateUser in interface TaskInfoQuery<TaskQuery,​Task>
      • taskInvolvedUser

        public TaskQueryImpl taskInvolvedUser​(java.lang.String involvedUser)
        Description copied from interface: TaskInfoQuery
        Only select tasks for which there exist an IdentityLink with the given user, including tasks which have been assigned to the given user (assignee) or owned by the given user (owner).
        Specified by:
        taskInvolvedUser in interface TaskInfoQuery<TaskQuery,​Task>
      • taskCandidateOrAssigned

        public TaskQuery taskCandidateOrAssigned​(java.lang.String userIdForCandidateAndAssignee)
        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 invoke TaskInfoQuery.taskCandidateGroupIn(List) 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 interface TaskQuery
      • taskCandidateOrAssigned

        public TaskQuery taskCandidateOrAssigned​(java.lang.String userIdForCandidateAndAssignee,
                                                 java.util.List<java.lang.String> usersGroups)
        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).
        Specified by:
        taskCandidateOrAssigned in interface TaskQuery
      • processInstanceBusinessKeyLike

        public TaskQueryImpl processInstanceBusinessKeyLike​(java.lang.String 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("%activiti%").
        Specified by:
        processInstanceBusinessKeyLike in interface TaskInfoQuery<TaskQuery,​Task>
      • taskDefinitionKey

        public TaskQuery taskDefinitionKey​(java.lang.String key)
        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 interface TaskInfoQuery<TaskQuery,​Task>
      • taskDefinitionKeyLike

        public TaskQuery taskDefinitionKeyLike​(java.lang.String keyLike)
        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("%activiti%"). The task definition key is the id of the userTask: <userTask id="xxx" .../>
        Specified by:
        taskDefinitionKeyLike in interface TaskInfoQuery<TaskQuery,​Task>
      • taskVariableValueEquals

        public TaskQuery taskVariableValueEquals​(java.lang.String variableName,
                                                 java.lang.Object variableValue)
        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 interface TaskInfoQuery<TaskQuery,​Task>
      • taskVariableValueEqualsIgnoreCase

        public TaskQuery taskVariableValueEqualsIgnoreCase​(java.lang.String name,
                                                           java.lang.String value)
        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 interface TaskInfoQuery<TaskQuery,​Task>
      • taskVariableValueNotEqualsIgnoreCase

        public TaskQuery taskVariableValueNotEqualsIgnoreCase​(java.lang.String name,
                                                              java.lang.String value)
        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 interface TaskInfoQuery<TaskQuery,​Task>
      • taskVariableValueNotEquals

        public TaskQuery taskVariableValueNotEquals​(java.lang.String variableName,
                                                    java.lang.Object variableValue)
        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 and Serializable objects (which are not primitive type wrappers) are not supported.
        Specified by:
        taskVariableValueNotEquals in interface TaskInfoQuery<TaskQuery,​Task>
      • taskVariableValueGreaterThan

        public TaskQuery taskVariableValueGreaterThan​(java.lang.String name,
                                                      java.lang.Object value)
        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 and Serializable objects (which are not primitive type wrappers) are not supported.
        Specified by:
        taskVariableValueGreaterThan in interface TaskInfoQuery<TaskQuery,​Task>
        Parameters:
        name - cannot be null.
        value - cannot be null.
      • taskVariableValueGreaterThanOrEqual

        public TaskQuery taskVariableValueGreaterThanOrEqual​(java.lang.String name,
                                                             java.lang.Object value)
        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 and Serializable objects (which are not primitive type wrappers) are not supported.
        Specified by:
        taskVariableValueGreaterThanOrEqual in interface TaskInfoQuery<TaskQuery,​Task>
        Parameters:
        name - cannot be null.
        value - cannot be null.
      • taskVariableValueLessThan

        public TaskQuery taskVariableValueLessThan​(java.lang.String name,
                                                   java.lang.Object value)
        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 and Serializable objects (which are not primitive type wrappers) are not supported.
        Specified by:
        taskVariableValueLessThan in interface TaskInfoQuery<TaskQuery,​Task>
        Parameters:
        name - cannot be null.
        value - cannot be null.
      • taskVariableValueLessThanOrEqual

        public TaskQuery taskVariableValueLessThanOrEqual​(java.lang.String name,
                                                          java.lang.Object value)
        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 and Serializable objects (which are not primitive type wrappers) are not supported.
        Specified by:
        taskVariableValueLessThanOrEqual in interface TaskInfoQuery<TaskQuery,​Task>
        Parameters:
        name - cannot be null.
        value - cannot be null.
      • taskVariableValueLike

        public TaskQuery taskVariableValueLike​(java.lang.String name,
                                               java.lang.String value)
        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 interface TaskInfoQuery<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

        public TaskQuery taskVariableValueLikeIgnoreCase​(java.lang.String name,
                                                         java.lang.String value)
        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 interface TaskInfoQuery<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%).
      • processVariableValueEquals

        public TaskQuery processVariableValueEquals​(java.lang.String variableName,
                                                    java.lang.Object variableValue)
        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 interface TaskInfoQuery<TaskQuery,​Task>
      • processVariableValueNotEquals

        public TaskQuery processVariableValueNotEquals​(java.lang.String variableName,
                                                       java.lang.Object variableValue)
        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 and Serializable objects (which are not primitive type wrappers) are not supported.
        Specified by:
        processVariableValueNotEquals in interface TaskInfoQuery<TaskQuery,​Task>
      • processVariableValueEqualsIgnoreCase

        public TaskQuery processVariableValueEqualsIgnoreCase​(java.lang.String name,
                                                              java.lang.String value)
        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 interface TaskInfoQuery<TaskQuery,​Task>
      • processVariableValueNotEqualsIgnoreCase

        public TaskQuery processVariableValueNotEqualsIgnoreCase​(java.lang.String name,
                                                                 java.lang.String value)
        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 interface TaskInfoQuery<TaskQuery,​Task>
      • processVariableValueGreaterThan

        public TaskQuery processVariableValueGreaterThan​(java.lang.String name,
                                                         java.lang.Object value)
        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 and Serializable objects (which are not primitive type wrappers) are not supported.
        Specified by:
        processVariableValueGreaterThan in interface TaskInfoQuery<TaskQuery,​Task>
        Parameters:
        name - cannot be null.
        value - cannot be null.
      • processVariableValueGreaterThanOrEqual

        public TaskQuery processVariableValueGreaterThanOrEqual​(java.lang.String name,
                                                                java.lang.Object value)
        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 and Serializable objects (which are not primitive type wrappers) are not supported.
        Specified by:
        processVariableValueGreaterThanOrEqual in interface TaskInfoQuery<TaskQuery,​Task>
        Parameters:
        name - cannot be null.
        value - cannot be null.
      • processVariableValueLessThan

        public TaskQuery processVariableValueLessThan​(java.lang.String name,
                                                      java.lang.Object value)
        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 and Serializable objects (which are not primitive type wrappers) are not supported.
        Specified by:
        processVariableValueLessThan in interface TaskInfoQuery<TaskQuery,​Task>
        Parameters:
        name - cannot be null.
        value - cannot be null.
      • processVariableValueLessThanOrEqual

        public TaskQuery processVariableValueLessThanOrEqual​(java.lang.String name,
                                                             java.lang.Object value)
        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 and Serializable objects (which are not primitive type wrappers) are not supported.
        Specified by:
        processVariableValueLessThanOrEqual in interface TaskInfoQuery<TaskQuery,​Task>
        Parameters:
        name - cannot be null.
        value - cannot be null.
      • processVariableValueLike

        public TaskQuery processVariableValueLike​(java.lang.String name,
                                                  java.lang.String value)
        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 interface TaskInfoQuery<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

        public TaskQuery processVariableValueLikeIgnoreCase​(java.lang.String name,
                                                            java.lang.String value)
        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 interface TaskInfoQuery<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%).
      • processDefinitionKeyLike

        public TaskQuery processDefinitionKeyLike​(java.lang.String 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. %activiti%.
        Specified by:
        processDefinitionKeyLike in interface TaskInfoQuery<TaskQuery,​Task>
      • processDefinitionKeyLikeIgnoreCase

        public TaskQuery processDefinitionKeyLikeIgnoreCase​(java.lang.String 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. %activiti%. This method, unlike the TaskInfoQuery.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 interface TaskInfoQuery<TaskQuery,​Task>
      • processDefinitionKeyIn

        public TaskQuery processDefinitionKeyIn​(java.util.List<java.lang.String> processDefinitionKeys)
        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 interface TaskInfoQuery<TaskQuery,​Task>
      • processDefinitionNameLike

        public TaskQuery processDefinitionNameLike​(java.lang.String 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. %activiti%.
        Specified by:
        processDefinitionNameLike in interface TaskInfoQuery<TaskQuery,​Task>
      • processCategoryIn

        public TaskQuery processCategoryIn​(java.util.List<java.lang.String> processCategoryInList)
        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 interface TaskInfoQuery<TaskQuery,​Task>
      • processCategoryNotIn

        public TaskQuery processCategoryNotIn​(java.util.List<java.lang.String> processCategoryNotInList)
        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 interface TaskInfoQuery<TaskQuery,​Task>
      • deploymentIdIn

        public TaskQuery deploymentIdIn​(java.util.List<java.lang.String> deploymentIds)
        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 interface TaskInfoQuery<TaskQuery,​Task>
      • dueDate

        public TaskQuery dueDate​(java.util.Date dueDate)
      • dueBefore

        public TaskQuery dueBefore​(java.util.Date dueBefore)
      • dueAfter

        public TaskQuery dueAfter​(java.util.Date dueAfter)
      • withoutDueDate

        public TaskQuery withoutDueDate()
      • excludeSubtasks

        public TaskQuery excludeSubtasks()
        Description copied from interface: TaskQuery
        Only select tasks that have no parent (i.e. do not select subtasks).
        Specified by:
        excludeSubtasks in interface TaskQuery
      • suspended

        public TaskQuery suspended()
        Description copied from interface: TaskQuery
        Only selects tasks which are suspended, because its process instance was suspended.
        Specified by:
        suspended in interface TaskQuery
      • active

        public TaskQuery active()
        Description copied from interface: TaskQuery
        Only selects tasks which are active (ie. not suspended)
        Specified by:
        active in interface TaskQuery
      • getTaskVariablesLimit

        public java.lang.Integer getTaskVariablesLimit()
      • getCandidateGroups

        public java.util.List<java.lang.String> getCandidateGroups()
      • getGroupsForCandidateUser

        protected java.util.List<java.lang.String> getGroupsForCandidateUser​(java.lang.String candidateUser)
      • or

        public TaskQuery 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 endOr() has been called will result in an exception.
        Specified by:
        or in interface TaskInfoQuery<TaskQuery,​Task>
      • orderByDueDate

        public TaskQuery orderByDueDate()
      • getMssqlOrDB2OrderBy

        public java.lang.String getMssqlOrDB2OrderBy()
      • localize

        protected void localize​(Task task)
      • getName

        public java.lang.String getName()
      • getNameLike

        public java.lang.String getNameLike()
      • getNameList

        public java.util.List<java.lang.String> getNameList()
      • getNameListIgnoreCase

        public java.util.List<java.lang.String> getNameListIgnoreCase()
      • getAssignee

        public java.lang.String getAssignee()
      • getUnassigned

        public boolean getUnassigned()
      • getNoDelegationState

        public boolean getNoDelegationState()
      • getDelegationStateString

        public java.lang.String getDelegationStateString()
      • getCandidateUser

        public java.lang.String getCandidateUser()
      • getCandidateGroup

        public java.lang.String getCandidateGroup()
      • getProcessInstanceId

        public java.lang.String getProcessInstanceId()
      • getProcessInstanceIds

        public java.util.List<java.lang.String> getProcessInstanceIds()
      • getExecutionId

        public java.lang.String getExecutionId()
      • getTaskId

        public java.lang.String getTaskId()
      • getDescription

        public java.lang.String getDescription()
      • getDescriptionLike

        public java.lang.String getDescriptionLike()
      • getPriority

        public java.lang.Integer getPriority()
      • getCreateTime

        public java.util.Date getCreateTime()
      • getCreateTimeBefore

        public java.util.Date getCreateTimeBefore()
      • getCreateTimeAfter

        public java.util.Date getCreateTimeAfter()
      • getKey

        public java.lang.String getKey()
      • getKeyLike

        public java.lang.String getKeyLike()
      • getProcessDefinitionKey

        public java.lang.String getProcessDefinitionKey()
      • getProcessDefinitionId

        public java.lang.String getProcessDefinitionId()
      • getProcessDefinitionName

        public java.lang.String getProcessDefinitionName()
      • getProcessInstanceBusinessKey

        public java.lang.String getProcessInstanceBusinessKey()
      • getExcludeSubtasks

        public boolean getExcludeSubtasks()
      • getTenantId

        public java.lang.String getTenantId()
      • getTenantIdLike

        public java.lang.String getTenantIdLike()
      • isWithoutTenantId

        public boolean isWithoutTenantId()
      • getUserIdForCandidateAndAssignee

        public java.lang.String getUserIdForCandidateAndAssignee()
      • getOrQueryObjects

        public java.util.List<TaskQueryImpl> getOrQueryObjects()
      • setOrQueryObjects

        public void setOrQueryObjects​(java.util.List<TaskQueryImpl> orQueryObjects)
      • getMinPriority

        public java.lang.Integer getMinPriority()
      • getMaxPriority

        public java.lang.Integer getMaxPriority()
      • getAssigneeLike

        public java.lang.String getAssigneeLike()
      • getAssigneeIds

        public java.util.List<java.lang.String> getAssigneeIds()
      • getInvolvedUser

        public java.lang.String getInvolvedUser()
      • getInvolvedGroups

        public java.util.List<java.lang.String> getInvolvedGroups()
      • getOwner

        public java.lang.String getOwner()
      • getOwnerLike

        public java.lang.String getOwnerLike()
      • getTaskParentTaskId

        public java.lang.String getTaskParentTaskId()
      • getCategory

        public java.lang.String getCategory()
      • getProcessDefinitionKeyLike

        public java.lang.String getProcessDefinitionKeyLike()
      • getProcessDefinitionKeys

        public java.util.List<java.lang.String> getProcessDefinitionKeys()
      • getProcessDefinitionNameLike

        public java.lang.String getProcessDefinitionNameLike()
      • getProcessCategoryInList

        public java.util.List<java.lang.String> getProcessCategoryInList()
      • getProcessCategoryNotInList

        public java.util.List<java.lang.String> getProcessCategoryNotInList()
      • getDeploymentId

        public java.lang.String getDeploymentId()
      • getDeploymentIds

        public java.util.List<java.lang.String> getDeploymentIds()
      • getProcessInstanceBusinessKeyLike

        public java.lang.String getProcessInstanceBusinessKeyLike()
      • getDueDate

        public java.util.Date getDueDate()
      • getDueBefore

        public java.util.Date getDueBefore()
      • getDueAfter

        public java.util.Date getDueAfter()
      • isWithoutDueDate

        public boolean isWithoutDueDate()
      • isIncludeTaskLocalVariables

        public boolean isIncludeTaskLocalVariables()
      • isIncludeProcessVariables

        public boolean isIncludeProcessVariables()
      • isBothCandidateAndAssigned

        public boolean isBothCandidateAndAssigned()
      • getNameLikeIgnoreCase

        public java.lang.String getNameLikeIgnoreCase()
      • getDescriptionLikeIgnoreCase

        public java.lang.String getDescriptionLikeIgnoreCase()
      • getAssigneeLikeIgnoreCase

        public java.lang.String getAssigneeLikeIgnoreCase()
      • getOwnerLikeIgnoreCase

        public java.lang.String getOwnerLikeIgnoreCase()
      • getProcessInstanceBusinessKeyLikeIgnoreCase

        public java.lang.String getProcessInstanceBusinessKeyLikeIgnoreCase()
      • getProcessDefinitionKeyLikeIgnoreCase

        public java.lang.String getProcessDefinitionKeyLikeIgnoreCase()
      • getLocale

        public java.lang.String getLocale()
      • isOrActive

        public boolean isOrActive()