Class TaskQueryDto


public class TaskQueryDto extends AbstractQueryDto<TaskQuery>
  • Field Details

  • Constructor Details

    • TaskQueryDto

      public TaskQueryDto()
    • TaskQueryDto

      public TaskQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper, javax.ws.rs.core.MultivaluedMap<String,String> queryParameters)
  • Method Details

    • setOrQueries

      public void setOrQueries(List<TaskQueryDto> orQueries)
    • setProcessInstanceBusinessKey

      public void setProcessInstanceBusinessKey(String businessKey)
    • setProcessInstanceBusinessKeyExpression

      public void setProcessInstanceBusinessKeyExpression(String businessKeyExpression)
    • setProcessInstanceBusinessKeyIn

      public void setProcessInstanceBusinessKeyIn(String[] processInstanceBusinessKeyIn)
    • setProcessInstanceBusinessKeyLike

      public void setProcessInstanceBusinessKeyLike(String businessKeyLike)
    • setProcessInstanceBusinessKeyLikeExpression

      public void setProcessInstanceBusinessKeyLikeExpression(String businessKeyLikeExpression)
    • setProcessDefinitionKey

      public void setProcessDefinitionKey(String processDefinitionKey)
    • setProcessDefinitionKeyIn

      public void setProcessDefinitionKeyIn(String[] processDefinitionKeyIn)
    • setProcessDefinitionId

      public void setProcessDefinitionId(String processDefinitionId)
    • setExecutionId

      public void setExecutionId(String executionId)
    • setActivityInstanceIdIn

      public void setActivityInstanceIdIn(String[] activityInstanceIdIn)
    • setTenantIdIn

      public void setTenantIdIn(String[] tenantIdIn)
    • setWithoutTenantId

      public void setWithoutTenantId(Boolean withoutTenantId)
    • setProcessDefinitionName

      public void setProcessDefinitionName(String processDefinitionName)
    • setProcessDefinitionNameLike

      public void setProcessDefinitionNameLike(String processDefinitionNameLike)
    • setProcessInstanceId

      public void setProcessInstanceId(String processInstanceId)
    • setProcessInstanceIdIn

      public void setProcessInstanceIdIn(String[] processInstanceIdIn)
    • setAssignee

      public void setAssignee(String assignee)
    • setAssigneeExpression

      public void setAssigneeExpression(String assigneeExpression)
    • setAssigneeLike

      public void setAssigneeLike(String assigneeLike)
    • setAssigneeIn

      public void setAssigneeIn(String[] assigneeIn)
    • setAssigneeNotIn

      public void setAssigneeNotIn(String[] assigneeNotIn)
    • setAssigneeLikeExpression

      public void setAssigneeLikeExpression(String assigneeLikeExpression)
    • setCandidateGroup

      public void setCandidateGroup(String candidateGroup)
    • setCandidateGroupExpression

      public void setCandidateGroupExpression(String candidateGroupExpression)
    • setCandidateGroupLike

      public void setCandidateGroupLike(String candidateGroupLike)
    • setWithCandidateGroups

      public void setWithCandidateGroups(Boolean withCandidateGroups)
    • setWithoutCandidateGroups

      public void setWithoutCandidateGroups(Boolean withoutCandidateGroups)
    • setWithCandidateUsers

      public void setWithCandidateUsers(Boolean withCandidateUsers)
    • setWithoutCandidateUsers

      public void setWithoutCandidateUsers(Boolean withoutCandidateUsers)
    • setCandidateUser

      public void setCandidateUser(String candidateUser)
    • setCandidateUserExpression

      public void setCandidateUserExpression(String candidateUserExpression)
    • setIncludeAssignedTasks

      public void setIncludeAssignedTasks(Boolean includeAssignedTasks)
    • setTaskId

      public void setTaskId(String taskId)
    • setTaskIdIn

      public void setTaskIdIn(String[] taskIdIn)
    • setTaskDefinitionKey

      public void setTaskDefinitionKey(String taskDefinitionKey)
    • setTaskDefinitionKeyIn

      public void setTaskDefinitionKeyIn(String[] taskDefinitionKeyIn)
    • setTaskDefinitionKeyLike

      public void setTaskDefinitionKeyLike(String taskDefinitionKeyLike)
    • setDescription

      public void setDescription(String description)
    • setDescriptionLike

      public void setDescriptionLike(String descriptionLike)
    • setInvolvedUser

      public void setInvolvedUser(String involvedUser)
    • setInvolvedUserExpression

      public void setInvolvedUserExpression(String involvedUserExpression)
    • setMaxPriority

      public void setMaxPriority(Integer maxPriority)
    • setMinPriority

      public void setMinPriority(Integer minPriority)
    • setName

      public void setName(String name)
    • setNameNotEqual

      public void setNameNotEqual(String nameNotEqual)
    • setNameLike

      public void setNameLike(String nameLike)
    • setNameNotLike

      public void setNameNotLike(String nameNotLike)
    • setOwner

      public void setOwner(String owner)
    • setOwnerExpression

      public void setOwnerExpression(String ownerExpression)
    • setPriority

      public void setPriority(Integer priority)
    • setParentTaskId

      public void setParentTaskId(String parentTaskId)
    • setAssigned

      public void setAssigned(Boolean assigned)
    • setUnassigned

      public void setUnassigned(Boolean unassigned)
    • setActive

      public void setActive(Boolean active)
    • setSuspended

      public void setSuspended(Boolean suspended)
    • setDueAfter

      public void setDueAfter(Date dueAfter)
    • setDueAfterExpression

      public void setDueAfterExpression(String dueAfterExpression)
    • setDueBefore

      public void setDueBefore(Date dueBefore)
    • setDueBeforeExpression

      public void setDueBeforeExpression(String dueBeforeExpression)
    • setDueDate

      public void setDueDate(Date dueDate)
    • setDue

      @Deprecated public void setDue(Date dueDate)
      Deprecated.
    • setDueDateExpression

      public void setDueDateExpression(String dueDateExpression)
    • setWithoutDueDate

      public void setWithoutDueDate(Boolean withoutDueDate)
    • setFollowUpAfter

      public void setFollowUpAfter(Date followUpAfter)
    • setFollowUpAfterExpression

      public void setFollowUpAfterExpression(String followUpAfterExpression)
    • setFollowUpBefore

      public void setFollowUpBefore(Date followUpBefore)
    • setFollowUpBeforeOrNotExistentExpression

      public void setFollowUpBeforeOrNotExistentExpression(String followUpBeforeExpression)
    • setFollowUpBeforeOrNotExistent

      public void setFollowUpBeforeOrNotExistent(Date followUpBefore)
    • setFollowUpBeforeExpression

      public void setFollowUpBeforeExpression(String followUpBeforeExpression)
    • setFollowUpDate

      public void setFollowUpDate(Date followUpDate)
    • setFollowUp

      @Deprecated public void setFollowUp(Date followUpDate)
      Deprecated.
    • setFollowUpDateExpression

      public void setFollowUpDateExpression(String followUpDateExpression)
    • setCreatedAfter

      public void setCreatedAfter(Date createdAfter)
    • setCreatedAfterExpression

      public void setCreatedAfterExpression(String createdAfterExpression)
    • setCreatedBefore

      public void setCreatedBefore(Date createdBefore)
    • setCreatedBeforeExpression

      public void setCreatedBeforeExpression(String createdBeforeExpression)
    • setCreatedOn

      public void setCreatedOn(Date createdOn)
    • setCreated

      @Deprecated public void setCreated(Date createdOn)
      Deprecated.
    • setCreatedOnExpression

      public void setCreatedOnExpression(String createdOnExpression)
    • setUpdatedAfter

      public void setUpdatedAfter(Date updatedAfter)
    • setUpdatedAfterExpression

      public void setUpdatedAfterExpression(String updatedAfterExpression)
    • setDelegationState

      public void setDelegationState(String taskDelegationState)
    • setCandidateGroups

      public void setCandidateGroups(List<String> candidateGroups)
    • setCandidateGroupsExpression

      public void setCandidateGroupsExpression(String candidateGroupsExpression)
    • setTaskVariables

      public void setTaskVariables(List<VariableQueryParameterDto> taskVariables)
    • setProcessVariables

      public void setProcessVariables(List<VariableQueryParameterDto> processVariables)
    • setCaseDefinitionId

      public void setCaseDefinitionId(String caseDefinitionId)
    • setCaseDefinitionKey

      public void setCaseDefinitionKey(String caseDefinitionKey)
    • setCaseDefinitionName

      public void setCaseDefinitionName(String caseDefinitionName)
    • setCaseDefinitionNameLike

      public void setCaseDefinitionNameLike(String caseDefinitionNameLike)
    • setCaseExecutionId

      public void setCaseExecutionId(String caseExecutionId)
    • setCaseInstanceBusinessKey

      public void setCaseInstanceBusinessKey(String caseInstanceBusinessKey)
    • setCaseInstanceBusinessKeyLike

      public void setCaseInstanceBusinessKeyLike(String caseInstanceBusinessKeyLike)
    • setCaseInstanceId

      public void setCaseInstanceId(String caseInstanceId)
    • setCaseInstanceVariables

      public void setCaseInstanceVariables(List<VariableQueryParameterDto> caseInstanceVariables)
    • setVariableNamesIgnoreCase

      public void setVariableNamesIgnoreCase(Boolean variableNamesCaseInsensitive)
    • setVariableValuesIgnoreCase

      public void setVariableValuesIgnoreCase(Boolean variableValuesCaseInsensitive)
    • setWithCommentAttachmentInfo

      public void setWithCommentAttachmentInfo(Boolean withCommentAttachmentInfo)
    • isValidSortByValue

      protected boolean isValidSortByValue(String value)
      Specified by:
      isValidSortByValue in class AbstractQueryDto<TaskQuery>
    • createNewQuery

      protected TaskQuery createNewQuery(ProcessEngine engine)
      Specified by:
      createNewQuery in class AbstractQueryDto<TaskQuery>
    • getProcessInstanceBusinessKey

      public String getProcessInstanceBusinessKey()
    • getProcessInstanceBusinessKeyExpression

      public String getProcessInstanceBusinessKeyExpression()
    • getProcessInstanceBusinessKeyIn

      public String[] getProcessInstanceBusinessKeyIn()
    • getProcessInstanceBusinessKeyLike

      public String getProcessInstanceBusinessKeyLike()
    • getProcessInstanceBusinessKeyLikeExpression

      public String getProcessInstanceBusinessKeyLikeExpression()
    • getProcessDefinitionKey

      public String getProcessDefinitionKey()
    • getProcessDefinitionKeyIn

      public String[] getProcessDefinitionKeyIn()
    • getProcessDefinitionId

      public String getProcessDefinitionId()
    • getExecutionId

      public String getExecutionId()
    • getActivityInstanceIdIn

      public String[] getActivityInstanceIdIn()
    • getTenantIdIn

      public String[] getTenantIdIn()
    • getWithoutTenantId

      public Boolean getWithoutTenantId()
    • getProcessDefinitionName

      public String getProcessDefinitionName()
    • getProcessDefinitionNameLike

      public String getProcessDefinitionNameLike()
    • getProcessInstanceId

      public String getProcessInstanceId()
    • getProcessInstanceIdIn

      public String[] getProcessInstanceIdIn()
    • getAssignee

      public String getAssignee()
    • getAssigneeExpression

      public String getAssigneeExpression()
    • getAssigneeLike

      public String getAssigneeLike()
    • getAssigneeIn

      public String[] getAssigneeIn()
    • getAssigneeNotIn

      public String[] getAssigneeNotIn()
    • getAssigneeLikeExpression

      public String getAssigneeLikeExpression()
    • getCandidateGroup

      public String getCandidateGroup()
    • getCandidateGroupExpression

      public String getCandidateGroupExpression()
    • getCandidateGroupLike

      public String getCandidateGroupLike()
    • getCandidateUser

      public String getCandidateUser()
    • getCandidateUserExpression

      public String getCandidateUserExpression()
    • getIncludeAssignedTasks

      public Boolean getIncludeAssignedTasks()
    • getTaskIdIn

      public String[] getTaskIdIn()
    • getTaskId

      public String getTaskId()
    • getTaskDefinitionKeyIn

      public String[] getTaskDefinitionKeyIn()
    • getTaskDefinitionKey

      public String getTaskDefinitionKey()
    • getTaskDefinitionKeyLike

      public String getTaskDefinitionKeyLike()
    • getDescription

      public String getDescription()
    • getDescriptionLike

      public String getDescriptionLike()
    • getInvolvedUser

      public String getInvolvedUser()
    • getInvolvedUserExpression

      public String getInvolvedUserExpression()
    • getMaxPriority

      public Integer getMaxPriority()
    • getMinPriority

      public Integer getMinPriority()
    • getName

      public String getName()
    • getNameNotEqual

      public String getNameNotEqual()
    • getNameLike

      public String getNameLike()
    • getNameNotLike

      public String getNameNotLike()
    • getOwner

      public String getOwner()
    • getOwnerExpression

      public String getOwnerExpression()
    • getPriority

      public Integer getPriority()
    • getParentTaskId

      public String getParentTaskId()
    • getAssigned

      public Boolean getAssigned()
    • getUnassigned

      public Boolean getUnassigned()
    • getActive

      public Boolean getActive()
    • getSuspended

      public Boolean getSuspended()
    • getCaseDefinitionKey

      public String getCaseDefinitionKey()
    • getCaseDefinitionId

      public String getCaseDefinitionId()
    • getCaseDefinitionName

      public String getCaseDefinitionName()
    • getCaseDefinitionNameLike

      public String getCaseDefinitionNameLike()
    • getCaseInstanceId

      public String getCaseInstanceId()
    • getCaseInstanceBusinessKey

      public String getCaseInstanceBusinessKey()
    • getCaseInstanceBusinessKeyLike

      public String getCaseInstanceBusinessKeyLike()
    • getCaseExecutionId

      public String getCaseExecutionId()
    • getDueAfter

      public Date getDueAfter()
    • getDueAfterExpression

      public String getDueAfterExpression()
    • getDueBefore

      public Date getDueBefore()
    • getDueBeforeExpression

      public String getDueBeforeExpression()
    • getDueDate

      public Date getDueDate()
    • getDueDateExpression

      public String getDueDateExpression()
    • getWithoutDueDate

      public Boolean getWithoutDueDate()
    • getFollowUpAfter

      public Date getFollowUpAfter()
    • getFollowUpAfterExpression

      public String getFollowUpAfterExpression()
    • getFollowUpBefore

      public Date getFollowUpBefore()
    • getFollowUpBeforeExpression

      public String getFollowUpBeforeExpression()
    • getFollowUpBeforeOrNotExistent

      public Date getFollowUpBeforeOrNotExistent()
    • getFollowUpBeforeOrNotExistentExpression

      public String getFollowUpBeforeOrNotExistentExpression()
    • getFollowUpDate

      public Date getFollowUpDate()
    • getFollowUpDateExpression

      public String getFollowUpDateExpression()
    • getCreatedAfter

      public Date getCreatedAfter()
    • getCreatedAfterExpression

      public String getCreatedAfterExpression()
    • getCreatedBefore

      public Date getCreatedBefore()
    • getCreatedBeforeExpression

      public String getCreatedBeforeExpression()
    • getCreatedOn

      public Date getCreatedOn()
    • getCreatedOnExpression

      public String getCreatedOnExpression()
    • getUpdatedAfter

      public Date getUpdatedAfter()
    • getUpdatedAfterExpression

      public String getUpdatedAfterExpression()
    • getDelegationState

      public String getDelegationState()
    • getCandidateGroups

      public List<String> getCandidateGroups()
    • getCandidateGroupsExpression

      public String getCandidateGroupsExpression()
    • getTaskVariables

      public List<VariableQueryParameterDto> getTaskVariables()
    • getProcessVariables

      public List<VariableQueryParameterDto> getProcessVariables()
    • getCaseInstanceVariables

      public List<VariableQueryParameterDto> getCaseInstanceVariables()
    • getOrQueries

      public List<TaskQueryDto> getOrQueries()
    • isVariableNamesIgnoreCase

      public Boolean isVariableNamesIgnoreCase()
    • isVariableValuesIgnoreCase

      public Boolean isVariableValuesIgnoreCase()
    • getWithCommentAttachmentInfo

      public Boolean getWithCommentAttachmentInfo()
    • applyFilters

      protected void applyFilters(TaskQuery query)
      Specified by:
      applyFilters in class AbstractQueryDto<TaskQuery>
    • applySortBy

      protected void applySortBy(TaskQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)
      Specified by:
      applySortBy in class AbstractQueryDto<TaskQuery>
    • getValueTypeName

      protected String getValueTypeName(Map<String,Object> parameters)
    • getVariableName

      protected String getVariableName(Map<String,Object> parameters)
    • getValue

      protected Object getValue(Map<String,Object> map, String key)
    • getValueTypeByName

      protected ValueType getValueTypeByName(String name, ProcessEngine engine)
    • fromQuery

      public static TaskQueryDto fromQuery(Query<?,?> query)
    • fromQuery

      public static TaskQueryDto fromQuery(Query<?,?> query, boolean isOrQueryActive)
    • convertQueryOrderingPropertiesToSortingDtos

      public static List<SortingDto> convertQueryOrderingPropertiesToSortingDtos(List<QueryOrderingProperty> orderingProperties)
    • convertVariableOrderPropertyToSortingDto

      public static SortingDto convertVariableOrderPropertyToSortingDto(VariableOrderProperty variableOrderProperty)
    • convertQueryOrderingPropertyToSortingDto

      public static SortingDto convertQueryOrderingPropertyToSortingDto(QueryOrderingProperty orderingProperty)
    • sortByValueForQueryProperty

      public static String sortByValueForQueryProperty(QueryProperty queryProperty)
    • sortByValueForVariableOrderProperty

      public static String sortByValueForVariableOrderProperty(VariableOrderProperty variableOrderProperty)
    • sortByValueForQueryEntityRelationCondition

      public static String sortByValueForQueryEntityRelationCondition(QueryEntityRelationCondition relationCondition)
    • sortParametersForVariableOrderProperty

      public static Map<String,Object> sortParametersForVariableOrderProperty(VariableOrderProperty variableOrderProperty)