public class TaskQueryDto extends AbstractQueryDto<TaskQuery>
expressions, SORT_ORDER_ASC_VALUE, SORT_ORDER_DESC_VALUE, sortBy, sortings, sortOrder, VALID_SORT_ORDER_VALUES
objectMapper
Constructor and Description |
---|
TaskQueryDto() |
TaskQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
javax.ws.rs.core.MultivaluedMap<String,String> queryParameters) |
applySortingOptions, applySortOrder, getSorting, setSortBy, setSorting, setSortOrder, sortOptionsValid, sortOrderValueForDirection, toQuery
setObjectMapper, setValueBasedOnAnnotation
public static final String SORT_BY_PROCESS_INSTANCE_ID_VALUE
public static final String SORT_BY_CASE_INSTANCE_ID_VALUE
public static final String SORT_BY_DUE_DATE_VALUE
public static final String SORT_BY_FOLLOW_UP_VALUE
public static final String SORT_BY_EXECUTION_ID_VALUE
public static final String SORT_BY_CASE_EXECUTION_ID_VALUE
public static final String SORT_BY_ASSIGNEE_VALUE
public static final String SORT_BY_CREATE_TIME_VALUE
public static final String SORT_BY_DESCRIPTION_VALUE
public static final String SORT_BY_ID_VALUE
public static final String SORT_BY_NAME_VALUE
public static final String SORT_BY_NAME_CASE_INSENSITIVE_VALUE
public static final String SORT_BY_PRIORITY_VALUE
public static final String SORT_BY_TENANT_ID_VALUE
public static final String SORT_BY_PROCESS_VARIABLE
public static final String SORT_BY_EXECUTION_VARIABLE
public static final String SORT_BY_TASK_VARIABLE
public static final String SORT_BY_CASE_INSTANCE_VARIABLE
public static final String SORT_BY_CASE_EXECUTION_VARIABLE
public static final String SORT_PARAMETERS_VARIABLE_NAME
public static final String SORT_PARAMETERS_VALUE_TYPE
protected Boolean assigned
protected Boolean withCandidateGroups
protected Boolean withoutCandidateGroups
protected Boolean withCandidateUsers
protected Boolean withoutCandidateUsers
protected Boolean variableNamesIgnoreCase
protected Boolean variableValuesIgnoreCase
public void setOrQueries(List<TaskQueryDto> orQueries)
public void setProcessInstanceBusinessKey(String businessKey)
public void setProcessInstanceBusinessKeyExpression(String businessKeyExpression)
public void setProcessInstanceBusinessKeyIn(String[] processInstanceBusinessKeyIn)
public void setProcessInstanceBusinessKeyLike(String businessKeyLike)
public void setProcessInstanceBusinessKeyLikeExpression(String businessKeyLikeExpression)
public void setProcessDefinitionKey(String processDefinitionKey)
public void setProcessDefinitionKeyIn(String[] processDefinitionKeyIn)
public void setProcessDefinitionId(String processDefinitionId)
public void setExecutionId(String executionId)
public void setActivityInstanceIdIn(String[] activityInstanceIdIn)
public void setTenantIdIn(String[] tenantIdIn)
public void setWithoutTenantId(Boolean withoutTenantId)
public void setProcessDefinitionName(String processDefinitionName)
public void setProcessDefinitionNameLike(String processDefinitionNameLike)
public void setProcessInstanceId(String processInstanceId)
public void setAssignee(String assignee)
public void setAssigneeExpression(String assigneeExpression)
public void setAssigneeLike(String assigneeLike)
public void setAssigneeLikeExpression(String assigneeLikeExpression)
public void setCandidateGroup(String candidateGroup)
public void setCandidateGroupExpression(String candidateGroupExpression)
public void setWithCandidateGroups(Boolean withCandidateGroups)
public void setWithoutCandidateGroups(Boolean withoutCandidateGroups)
public void setWithCandidateUsers(Boolean withCandidateUsers)
public void setWithoutCandidateUsers(Boolean withoutCandidateUsers)
public void setCandidateUser(String candidateUser)
public void setCandidateUserExpression(String candidateUserExpression)
public void setIncludeAssignedTasks(Boolean includeAssignedTasks)
public void setTaskDefinitionKey(String taskDefinitionKey)
public void setTaskDefinitionKeyIn(String[] taskDefinitionKeyIn)
public void setTaskDefinitionKeyLike(String taskDefinitionKeyLike)
public void setDescription(String description)
public void setDescriptionLike(String descriptionLike)
public void setInvolvedUser(String involvedUser)
public void setInvolvedUserExpression(String involvedUserExpression)
public void setMaxPriority(Integer maxPriority)
public void setMinPriority(Integer minPriority)
public void setName(String name)
public void setNameNotEqual(String nameNotEqual)
public void setNameLike(String nameLike)
public void setNameNotLike(String nameNotLike)
public void setOwner(String owner)
public void setOwnerExpression(String ownerExpression)
public void setPriority(Integer priority)
public void setParentTaskId(String parentTaskId)
public void setAssigned(Boolean assigned)
public void setUnassigned(Boolean unassigned)
public void setActive(Boolean active)
public void setSuspended(Boolean suspended)
public void setDueAfter(Date dueAfter)
public void setDueAfterExpression(String dueAfterExpression)
public void setDueBefore(Date dueBefore)
public void setDueBeforeExpression(String dueBeforeExpression)
public void setDueDate(Date dueDate)
@Deprecated public void setDue(Date dueDate)
public void setDueDateExpression(String dueDateExpression)
public void setFollowUpAfter(Date followUpAfter)
public void setFollowUpAfterExpression(String followUpAfterExpression)
public void setFollowUpBefore(Date followUpBefore)
public void setFollowUpBeforeOrNotExistentExpression(String followUpBeforeExpression)
public void setFollowUpBeforeOrNotExistent(Date followUpBefore)
public void setFollowUpBeforeExpression(String followUpBeforeExpression)
public void setFollowUpDate(Date followUpDate)
@Deprecated public void setFollowUp(Date followUpDate)
public void setFollowUpDateExpression(String followUpDateExpression)
public void setCreatedAfter(Date createdAfter)
public void setCreatedAfterExpression(String createdAfterExpression)
public void setCreatedBefore(Date createdBefore)
public void setCreatedBeforeExpression(String createdBeforeExpression)
public void setCreatedOn(Date createdOn)
@Deprecated public void setCreated(Date createdOn)
public void setCreatedOnExpression(String createdOnExpression)
public void setDelegationState(String taskDelegationState)
public void setCandidateGroupsExpression(String candidateGroupsExpression)
public void setTaskVariables(List<VariableQueryParameterDto> taskVariables)
public void setProcessVariables(List<VariableQueryParameterDto> processVariables)
public void setCaseDefinitionId(String caseDefinitionId)
public void setCaseDefinitionKey(String caseDefinitionKey)
public void setCaseDefinitionName(String caseDefinitionName)
public void setCaseDefinitionNameLike(String caseDefinitionNameLike)
public void setCaseExecutionId(String caseExecutionId)
public void setCaseInstanceBusinessKey(String caseInstanceBusinessKey)
public void setCaseInstanceBusinessKeyLike(String caseInstanceBusinessKeyLike)
public void setCaseInstanceId(String caseInstanceId)
public void setCaseInstanceVariables(List<VariableQueryParameterDto> caseInstanceVariables)
public void setVariableNamesIgnoreCase(Boolean variableNamesCaseInsensitive)
public void setVariableValuesIgnoreCase(Boolean variableValuesCaseInsensitive)
protected boolean isValidSortByValue(String value)
isValidSortByValue
in class AbstractQueryDto<TaskQuery>
protected TaskQuery createNewQuery(ProcessEngine engine)
createNewQuery
in class AbstractQueryDto<TaskQuery>
public String getProcessInstanceBusinessKey()
public String getProcessInstanceBusinessKeyExpression()
public String[] getProcessInstanceBusinessKeyIn()
public String getProcessInstanceBusinessKeyLike()
public String getProcessInstanceBusinessKeyLikeExpression()
public String getProcessDefinitionKey()
public String[] getProcessDefinitionKeyIn()
public String getProcessDefinitionId()
public String getExecutionId()
public String[] getActivityInstanceIdIn()
public String[] getTenantIdIn()
public Boolean getWithoutTenantId()
public String getProcessDefinitionName()
public String getProcessDefinitionNameLike()
public String getProcessInstanceId()
public String getAssignee()
public String getAssigneeExpression()
public String getAssigneeLike()
public String getAssigneeLikeExpression()
public String getCandidateGroup()
public String getCandidateGroupExpression()
public String getCandidateUser()
public String getCandidateUserExpression()
public Boolean getIncludeAssignedTasks()
public String[] getTaskDefinitionKeyIn()
public String getTaskDefinitionKey()
public String getTaskDefinitionKeyLike()
public String getDescription()
public String getDescriptionLike()
public String getInvolvedUser()
public String getInvolvedUserExpression()
public Integer getMaxPriority()
public Integer getMinPriority()
public String getName()
public String getNameNotEqual()
public String getNameLike()
public String getNameNotLike()
public String getOwner()
public String getOwnerExpression()
public Integer getPriority()
public String getParentTaskId()
public Boolean getUnassigned()
public Boolean getActive()
public Boolean getSuspended()
public String getCaseDefinitionKey()
public String getCaseDefinitionId()
public String getCaseDefinitionName()
public String getCaseDefinitionNameLike()
public String getCaseInstanceId()
public String getCaseInstanceBusinessKey()
public String getCaseInstanceBusinessKeyLike()
public String getCaseExecutionId()
public Date getDueAfter()
public String getDueAfterExpression()
public Date getDueBefore()
public String getDueBeforeExpression()
public Date getDueDate()
public String getDueDateExpression()
public Date getFollowUpAfter()
public String getFollowUpAfterExpression()
public Date getFollowUpBefore()
public String getFollowUpBeforeExpression()
public Date getFollowUpBeforeOrNotExistent()
public String getFollowUpBeforeOrNotExistentExpression()
public Date getFollowUpDate()
public String getFollowUpDateExpression()
public Date getCreatedAfter()
public String getCreatedAfterExpression()
public Date getCreatedBefore()
public String getCreatedBeforeExpression()
public Date getCreatedOn()
public String getCreatedOnExpression()
public String getDelegationState()
public String getCandidateGroupsExpression()
public List<VariableQueryParameterDto> getTaskVariables()
public List<VariableQueryParameterDto> getProcessVariables()
public List<VariableQueryParameterDto> getCaseInstanceVariables()
public List<TaskQueryDto> getOrQueries()
public Boolean isVariableNamesIgnoreCase()
public Boolean isVariableValuesIgnoreCase()
protected void applyFilters(TaskQuery query)
applyFilters
in class AbstractQueryDto<TaskQuery>
protected void applySortBy(TaskQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)
applySortBy
in class AbstractQueryDto<TaskQuery>
protected org.camunda.bpm.engine.variable.type.ValueType getValueTypeByName(String name, ProcessEngine engine)
public static TaskQueryDto fromQuery(Query<?,?> query)
public static TaskQueryDto fromQuery(Query<?,?> query, boolean isOrQueryActive)
public static List<SortingDto> convertQueryOrderingPropertiesToSortingDtos(List<QueryOrderingProperty> orderingProperties)
public static SortingDto convertVariableOrderPropertyToSortingDto(VariableOrderProperty variableOrderProperty)
public static SortingDto convertQueryOrderingPropertyToSortingDto(QueryOrderingProperty orderingProperty)
public static String sortByValueForQueryProperty(QueryProperty queryProperty)
public static String sortByValueForVariableOrderProperty(VariableOrderProperty variableOrderProperty)
public static String sortByValueForQueryEntityRelationCondition(QueryEntityRelationCondition relationCondition)
public static Map<String,Object> sortParametersForVariableOrderProperty(VariableOrderProperty variableOrderProperty)
Copyright © 2022. All rights reserved.