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