Class TaskSearchRequest
java.lang.Object
io.camunda.tasklist.generated.model.TaskSearchRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-29T10:52:23.981575172Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class TaskSearchRequest
extends Object
Request object to search tasks by provided params.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGets or Sets implementationstatic enumThe state of the tasks. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAssigneesItem(String assigneesItem) addCandidateGroupsItem(String candidateGroupsItem) addCandidateUsersItem(String candidateUsersItem) addIncludeVariablesItem(IncludeVariable includeVariablesItem) addSearchAfterItem(String searchAfterItem) addSearchAfterOrEqualItem(String searchAfterOrEqualItem) addSearchBeforeItem(String searchBeforeItem) addSearchBeforeOrEqualItem(String searchBeforeOrEqualItem) addSortItem(TaskOrderBy sortItem) addTaskVariablesItem(TaskByVariables taskVariablesItem) addTenantIdsItem(String tenantIdsItem) candidateGroup(String candidateGroup) candidateGroups(List<String> candidateGroups) candidateUser(String candidateUser) candidateUsers(List<String> candidateUsers) dueDate(DateFilter dueDate) booleanfollowUpDate(DateFilter followUpDate) Are the tasks assigned?Who is assigned to the tasks?The assignee is one of the given assignees.Given group is in candidate groups list.At least one of the given groups is in candidate groups list.Given user is in candidate user list.At least one of the given users is in candidate user list.Get dueDateGet followUpDateGet implementationAn array used to specify a list of variable names that should be included in the response when querying tasks.<br>This field allows users to selectively retrieve specific variables associated with the tasks returned in the search results.Size of tasks page (default = 50).Get priorityReference to process definition (renamed equivalent of TaskQuery.processDefinitionId field).Reference to process instance (renamed equivalent of TaskQuery.processInstanceId field)Used to return a paginated result.Used to return a paginated result.Used to return a paginated result.Used to return a paginated result.getSort()An array of objects specifying the fields to sort the results by.getState()The state of the tasks.What's the BPMN flow node?An array of filter clauses specifying the variables to filter for.<br>If defined, the query returns only tasks to which all clauses apply.<br>However, it's important to note that this filtering mechanism is<br>designed to work exclusively with truncated variables.An array of Tenant IDs to filter tasks.inthashCode()implementation(TaskSearchRequest.ImplementationEnum implementation) includeVariables(List<IncludeVariable> includeVariables) priority(RangeValueFilter priority) processDefinitionKey(String processDefinitionKey) processInstanceKey(String processInstanceKey) searchAfter(List<String> searchAfter) searchAfterOrEqual(List<String> searchAfterOrEqual) searchBefore(List<String> searchBefore) searchBeforeOrEqual(List<String> searchBeforeOrEqual) voidsetAssigned(Boolean assigned) voidsetAssignee(String assignee) voidsetAssignees(List<String> assignees) voidsetCandidateGroup(String candidateGroup) voidsetCandidateGroups(List<String> candidateGroups) voidsetCandidateUser(String candidateUser) voidsetCandidateUsers(List<String> candidateUsers) voidsetDueDate(DateFilter dueDate) voidsetFollowUpDate(DateFilter followUpDate) voidsetImplementation(TaskSearchRequest.ImplementationEnum implementation) voidsetIncludeVariables(List<IncludeVariable> includeVariables) voidsetPageSize(Integer pageSize) voidsetPriority(RangeValueFilter priority) voidsetProcessDefinitionKey(String processDefinitionKey) voidsetProcessInstanceKey(String processInstanceKey) voidsetSearchAfter(List<String> searchAfter) voidsetSearchAfterOrEqual(List<String> searchAfterOrEqual) voidsetSearchBefore(List<String> searchBefore) voidsetSearchBeforeOrEqual(List<String> searchBeforeOrEqual) voidsetSort(List<TaskOrderBy> sort) voidvoidsetTaskDefinitionId(String taskDefinitionId) voidsetTaskVariables(List<TaskByVariables> taskVariables) voidsetTenantIds(List<String> tenantIds) sort(List<TaskOrderBy> sort) state(TaskSearchRequest.StateEnum state) taskDefinitionId(String taskDefinitionId) taskVariables(List<TaskByVariables> taskVariables) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_ASSIGNED
- See Also:
-
JSON_PROPERTY_ASSIGNEE
- See Also:
-
JSON_PROPERTY_ASSIGNEES
- See Also:
-
JSON_PROPERTY_TASK_DEFINITION_ID
- See Also:
-
JSON_PROPERTY_CANDIDATE_GROUP
- See Also:
-
JSON_PROPERTY_CANDIDATE_GROUPS
- See Also:
-
JSON_PROPERTY_CANDIDATE_USER
- See Also:
-
JSON_PROPERTY_CANDIDATE_USERS
- See Also:
-
JSON_PROPERTY_PROCESS_DEFINITION_KEY
- See Also:
-
JSON_PROPERTY_PROCESS_INSTANCE_KEY
- See Also:
-
JSON_PROPERTY_PAGE_SIZE
- See Also:
-
JSON_PROPERTY_FOLLOW_UP_DATE
- See Also:
-
JSON_PROPERTY_DUE_DATE
- See Also:
-
JSON_PROPERTY_TASK_VARIABLES
- See Also:
-
JSON_PROPERTY_TENANT_IDS
- See Also:
-
JSON_PROPERTY_SORT
- See Also:
-
JSON_PROPERTY_SEARCH_AFTER
- See Also:
-
JSON_PROPERTY_SEARCH_AFTER_OR_EQUAL
- See Also:
-
JSON_PROPERTY_SEARCH_BEFORE
- See Also:
-
JSON_PROPERTY_SEARCH_BEFORE_OR_EQUAL
- See Also:
-
JSON_PROPERTY_INCLUDE_VARIABLES
- See Also:
-
JSON_PROPERTY_IMPLEMENTATION
- See Also:
-
JSON_PROPERTY_PRIORITY
- See Also:
-
-
Constructor Details
-
TaskSearchRequest
public TaskSearchRequest()
-
-
Method Details
-
state
-
getState
The state of the tasks.- Returns:
- state
-
setState
-
assigned
-
getAssigned
Are the tasks assigned?- Returns:
- assigned
-
setAssigned
-
assignee
-
getAssignee
Who is assigned to the tasks?- Returns:
- assignee
-
setAssignee
-
assignees
-
addAssigneesItem
-
getAssignees
The assignee is one of the given assignees.- Returns:
- assignees
-
setAssignees
-
taskDefinitionId
-
getTaskDefinitionId
What's the BPMN flow node?- Returns:
- taskDefinitionId
-
setTaskDefinitionId
-
candidateGroup
-
getCandidateGroup
Given group is in candidate groups list.- Returns:
- candidateGroup
-
setCandidateGroup
-
candidateGroups
-
addCandidateGroupsItem
-
getCandidateGroups
At least one of the given groups is in candidate groups list.- Returns:
- candidateGroups
-
setCandidateGroups
-
candidateUser
-
getCandidateUser
Given user is in candidate user list.- Returns:
- candidateUser
-
setCandidateUser
-
candidateUsers
-
addCandidateUsersItem
-
getCandidateUsers
At least one of the given users is in candidate user list.- Returns:
- candidateUsers
-
setCandidateUsers
-
processDefinitionKey
-
getProcessDefinitionKey
Reference to process definition (renamed equivalent of TaskQuery.processDefinitionId field).- Returns:
- processDefinitionKey
-
setProcessDefinitionKey
-
processInstanceKey
-
getProcessInstanceKey
Reference to process instance (renamed equivalent of TaskQuery.processInstanceId field)- Returns:
- processInstanceKey
-
setProcessInstanceKey
-
pageSize
-
getPageSize
Size of tasks page (default = 50).- Returns:
- pageSize
-
setPageSize
-
followUpDate
-
getFollowUpDate
Get followUpDate- Returns:
- followUpDate
-
setFollowUpDate
-
dueDate
-
getDueDate
Get dueDate- Returns:
- dueDate
-
setDueDate
-
taskVariables
-
addTaskVariablesItem
-
getTaskVariables
An array of filter clauses specifying the variables to filter for.<br>If defined, the query returns only tasks to which all clauses apply.<br>However, it's important to note that this filtering mechanism is<br>designed to work exclusively with truncated variables. This means<br>variables of a larger size are not compatible with this filter, and<br>attempts to use them may result in inaccurate or incomplete query results.- Returns:
- taskVariables
-
setTaskVariables
-
tenantIds
-
addTenantIdsItem
-
getTenantIds
An array of Tenant IDs to filter tasks. When multi-tenancy is<br>enabled, tasks associated with the specified tenant IDs are returned;<br>if disabled, this parameter is ignored.- Returns:
- tenantIds
-
setTenantIds
-
sort
-
addSortItem
-
getSort
An array of objects specifying the fields to sort the results by.- Returns:
- sort
-
setSort
-
searchAfter
-
addSearchAfterItem
-
getSearchAfter
Used to return a paginated result. Array of values that should be copied from sortValues of one of the tasks from the current search results page.<br>It enables the API to return a page of tasks that directly follow the task identified by the provided values, with respect to the sorting order.- Returns:
- searchAfter
-
setSearchAfter
-
searchAfterOrEqual
-
addSearchAfterOrEqualItem
-
getSearchAfterOrEqual
Used to return a paginated result. Array of values that should be copied from sortValues of one of the tasks from the current search results page.<br>It enables the API to return a page of tasks that directly follow or are equal to the task identified by the provided values, with respect to the sorting order.- Returns:
- searchAfterOrEqual
-
setSearchAfterOrEqual
-
searchBefore
-
addSearchBeforeItem
-
getSearchBefore
Used to return a paginated result. Array of values that should be copied from sortValues of one of the tasks from the current search results page.<br>It enables the API to return a page of tasks that directly precede the task identified by the provided values, with respect to the sorting order.- Returns:
- searchBefore
-
setSearchBefore
-
searchBeforeOrEqual
-
addSearchBeforeOrEqualItem
-
getSearchBeforeOrEqual
Used to return a paginated result. Array of values that should be copied from sortValues of one of the tasks from the current search results page.<br>It enables the API to return a page of tasks that directly precede or are equal to the task identified by the provided values, with respect to the sorting order.- Returns:
- searchBeforeOrEqual
-
setSearchBeforeOrEqual
-
includeVariables
-
addIncludeVariablesItem
-
getIncludeVariables
An array used to specify a list of variable names that should be included in the response when querying tasks.<br>This field allows users to selectively retrieve specific variables associated with the tasks returned in the search results.- Returns:
- includeVariables
-
setIncludeVariables
-
implementation
-
getImplementation
Get implementation- Returns:
- implementation
-
setImplementation
-
priority
-
getPriority
Get priority- Returns:
- priority
-
setPriority
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-