Package org.bonitasoft.web.client.api
Interface HumanTaskApi
-
- All Superinterfaces:
ApiClient.Api
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public interface HumanTaskApi extends ApiClient.Api
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHumanTaskApi.SearchHumanTasksQueryParamsA convenience class for generating query parameters for thesearchHumanTasksmethod in a fluent style.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HumanTaskgetHumanTaskById(String id)Finds the HumanTask by ID Returns the single HumanTask for the given IDApiResponse<HumanTask>getHumanTaskByIdWithHttpInfo(String id)Finds the HumanTask by ID Similar togetHumanTaskByIdbut it also returns the http response headers .List<HumanTask>searchHumanTasks(Integer p, Integer c, List<String> f, String o, String s)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`, `state`, `name`, `displayName`, `processDefinitionId`, `caseId`, `rootProcessInstanceId`, `parentProcessInstanceId`List<HumanTask>searchHumanTasks(Map<String,Object> 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`, `state`, `name`, `displayName`, `processDefinitionId`, `caseId`, `rootProcessInstanceId`, `parentProcessInstanceId` Note, this is equivalent to the othersearchHumanTasksmethod, but with the query parameters collected into a single Map parameter.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 .ApiResponse<List<HumanTask>>searchHumanTasksWithHttpInfo(Map<String,Object> 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`, `state`, `name`, `displayName`, `processDefinitionId`, `caseId`, `rootProcessInstanceId`, `parentProcessInstanceId` 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 IDApiResponse<Void>updateHumanTaskByIdWithHttpInfo(String id, HumanTaskUpdateRequest humanTaskUpdateRequest)Update the HumanTask by ID Similar toupdateHumanTaskByIdbut it also returns the http response headers .
-
-
-
Method Detail
-
getHumanTaskById
HumanTask getHumanTaskById(String id)
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
ApiResponse<HumanTask> getHumanTaskByIdWithHttpInfo(String id)
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
List<HumanTask> searchHumanTasks(Integer p, Integer c, List<String> f, String o, String s)
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`, `state`, `name`, `displayName`, `processDefinitionId`, `caseId`, `rootProcessInstanceId`, `parentProcessInstanceId`- 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`, `state`, `name`, `displayName`, `processDefinitionId`, `caseId`, `rootProcessInstanceId`, `parentProcessInstanceId`- 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
List<HumanTask> searchHumanTasks(Map<String,Object> 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`, `state`, `name`, `displayName`, `processDefinitionId`, `caseId`, `rootProcessInstanceId`, `parentProcessInstanceId` 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(Map<String,Object> 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`, `state`, `name`, `displayName`, `processDefinitionId`, `caseId`, `rootProcessInstanceId`, `parentProcessInstanceId` 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
void updateHumanTaskById(String id, HumanTaskUpdateRequest humanTaskUpdateRequest)
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)
-
-