Package org.bonitasoft.web.client.api
Interface HumanTaskApi
- All Superinterfaces:
ApiClient.Api
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.12.0")
public interface HumanTaskApi
extends ApiClient.Api
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA convenience class for generating query parameters for thesearchHumanTasksmethod in a fluent style. -
Method Summary
Modifier and TypeMethodDescriptionFinds the HumanTask by ID Returns the single HumanTask for the given IDFinds the HumanTask by ID Similar togetHumanTaskByIdbut it also returns the http response headers .Finds HumanTasks Finds HumanTasks with pagination params and filters - can order on `name`, `priority`, `dueDate`, `state`, `processDefinitionId`, `processInstanceId`, `parentActivityInstanceId`, `assigneeId`, `parentContainerId`, `displayName`, `reachedStateDate` - can search on any field that can be used to order results - can filter on `assigned_id`, `user_id`, `show_assigned_to_others` (since 2022.2), `state`, `name`, `displayName`, `processDefinitionId`, `caseId`, `rootCaseId`, `parentCaseId`searchHumanTasks(HumanTaskApi.SearchHumanTasksQueryParams queryParams) Finds HumanTasks Finds HumanTasks with pagination params and filters - can order on `name`, `priority`, `dueDate`, `state`, `processDefinitionId`, `processInstanceId`, `parentActivityInstanceId`, `assigneeId`, `parentContainerId`, `displayName`, `reachedStateDate` - can search on any field that can be used to order results - can filter on `assigned_id`, `user_id`, `show_assigned_to_others` (since 2022.2), `state`, `name`, `displayName`, `processDefinitionId`, `caseId`, `rootCaseId`, `parentCaseId` Note, this is equivalent to the othersearchHumanTasksmethod, but with the query parameters collected into a single Map parameter.Finds HumanTasks Similar tosearchHumanTasksbut it also returns the http response headers .Finds HumanTasks Finds HumanTasks with pagination params and filters - can order on `name`, `priority`, `dueDate`, `state`, `processDefinitionId`, `processInstanceId`, `parentActivityInstanceId`, `assigneeId`, `parentContainerId`, `displayName`, `reachedStateDate` - can search on any field that can be used to order results - can filter on `assigned_id`, `user_id`, `show_assigned_to_others` (since 2022.2), `state`, `name`, `displayName`, `processDefinitionId`, `caseId`, `rootCaseId`, `parentCaseId` Note, this is equivalent to the othersearchHumanTasksthat receives the query parameters as a map, but this one also exposes the Http response headersvoidupdateHumanTaskById(String id, HumanTaskUpdateRequest humanTaskUpdateRequest) Update the HumanTask by ID Update the HumanTask for the given IDupdateHumanTaskByIdWithHttpInfo(String id, HumanTaskUpdateRequest humanTaskUpdateRequest) Update the HumanTask by ID Similar toupdateHumanTaskByIdbut it also returns the http response headers .
-
Method Details
-
getHumanTaskById
Finds the HumanTask by ID Returns the single HumanTask for the given ID- Parameters:
id- ID of the HumanTask to return (required)- Returns:
- HumanTask
-
getHumanTaskByIdWithHttpInfo
Finds the HumanTask by ID Similar togetHumanTaskByIdbut it also returns the http response headers . Returns the single HumanTask for the given ID- Parameters:
id- ID of the HumanTask to return (required)- Returns:
- A ApiResponse that wraps the response boyd and the http headers.
-
searchHumanTasks
Finds HumanTasks Finds HumanTasks with pagination params and filters - can order on `name`, `priority`, `dueDate`, `state`, `processDefinitionId`, `processInstanceId`, `parentActivityInstanceId`, `assigneeId`, `parentContainerId`, `displayName`, `reachedStateDate` - can search on any field that can be used to order results - can filter on `assigned_id`, `user_id`, `show_assigned_to_others` (since 2022.2), `state`, `name`, `displayName`, `processDefinitionId`, `caseId`, `rootCaseId`, `parentCaseId`- Parameters:
p- index of the page to display (required)c- maximum number of elements to retrieve (required)f- can filter on attributes with the format f={filter\\_name}={filter\\_value} with the name/value pair as url encoded string. (optional)o- can order on attributes (optional)s- can search on attributes (optional)- Returns:
- List<HumanTask>
-
searchHumanTasksWithHttpInfo
ApiResponse<List<HumanTask>> searchHumanTasksWithHttpInfo(Integer p, Integer c, List<String> f, String o, String s) Finds HumanTasks Similar tosearchHumanTasksbut it also returns the http response headers . Finds HumanTasks with pagination params and filters - can order on `name`, `priority`, `dueDate`, `state`, `processDefinitionId`, `processInstanceId`, `parentActivityInstanceId`, `assigneeId`, `parentContainerId`, `displayName`, `reachedStateDate` - can search on any field that can be used to order results - can filter on `assigned_id`, `user_id`, `show_assigned_to_others` (since 2022.2), `state`, `name`, `displayName`, `processDefinitionId`, `caseId`, `rootCaseId`, `parentCaseId`- Parameters:
p- index of the page to display (required)c- maximum number of elements to retrieve (required)f- can filter on attributes with the format f={filter\\_name}={filter\\_value} with the name/value pair as url encoded string. (optional)o- can order on attributes (optional)s- can search on attributes (optional)- Returns:
- A ApiResponse that wraps the response boyd and the http headers.
-
searchHumanTasks
Finds HumanTasks Finds HumanTasks with pagination params and filters - can order on `name`, `priority`, `dueDate`, `state`, `processDefinitionId`, `processInstanceId`, `parentActivityInstanceId`, `assigneeId`, `parentContainerId`, `displayName`, `reachedStateDate` - can search on any field that can be used to order results - can filter on `assigned_id`, `user_id`, `show_assigned_to_others` (since 2022.2), `state`, `name`, `displayName`, `processDefinitionId`, `caseId`, `rootCaseId`, `parentCaseId` Note, this is equivalent to the othersearchHumanTasksmethod, but with the query parameters collected into a single Map parameter. This is convenient for services with optional query parameters, especially when used with theHumanTaskApi.SearchHumanTasksQueryParamsclass that allows for building up this map in a fluent style.- Parameters:
queryParams- Map of query parameters as name-value pairsThe following elements may be specified in the query map:
- p - index of the page to display (required)
- c - maximum number of elements to retrieve (required)
- f - can filter on attributes with the format f={filter\\_name}={filter\\_value} with the name/value pair as url encoded string. (optional)
- o - can order on attributes (optional)
- s - can search on attributes (optional)
- Returns:
- List<HumanTask>
-
searchHumanTasksWithHttpInfo
ApiResponse<List<HumanTask>> searchHumanTasksWithHttpInfo(HumanTaskApi.SearchHumanTasksQueryParams queryParams) Finds HumanTasks Finds HumanTasks with pagination params and filters - can order on `name`, `priority`, `dueDate`, `state`, `processDefinitionId`, `processInstanceId`, `parentActivityInstanceId`, `assigneeId`, `parentContainerId`, `displayName`, `reachedStateDate` - can search on any field that can be used to order results - can filter on `assigned_id`, `user_id`, `show_assigned_to_others` (since 2022.2), `state`, `name`, `displayName`, `processDefinitionId`, `caseId`, `rootCaseId`, `parentCaseId` Note, this is equivalent to the othersearchHumanTasksthat receives the query parameters as a map, but this one also exposes the Http response headers- Parameters:
queryParams- Map of query parameters as name-value pairsThe following elements may be specified in the query map:
- p - index of the page to display (required)
- c - maximum number of elements to retrieve (required)
- f - can filter on attributes with the format f={filter\\_name}={filter\\_value} with the name/value pair as url encoded string. (optional)
- o - can order on attributes (optional)
- s - can search on attributes (optional)
- Returns:
- List<HumanTask>
-
updateHumanTaskById
Update the HumanTask by ID Update the HumanTask for the given ID- Parameters:
id- ID of the HumanTask to return (required)humanTaskUpdateRequest- Fields that can be updated are `assignedId` and `state`. Specify only those fields that you want to change. (required)
-
updateHumanTaskByIdWithHttpInfo
ApiResponse<Void> updateHumanTaskByIdWithHttpInfo(String id, HumanTaskUpdateRequest humanTaskUpdateRequest) Update the HumanTask by ID Similar toupdateHumanTaskByIdbut it also returns the http response headers . Update the HumanTask for the given ID- Parameters:
id- ID of the HumanTask to return (required)humanTaskUpdateRequest- Fields that can be updated are `assignedId` and `state`. Specify only those fields that you want to change. (required)
-