Package org.bonitasoft.web.client.api
Interface ArchivedTaskApi
-
- All Superinterfaces:
ApiClient.Api
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public interface ArchivedTaskApi extends ApiClient.Api
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classArchivedTaskApi.SearchArchivedTasksQueryParamsA convenience class for generating query parameters for thesearchArchivedTasksmethod in a fluent style.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ArchivedTaskgetArchivedTaskById(String id)Finds the ArchivedTask by ID Returns the single ArchivedTask for the given IDApiResponse<ArchivedTask>getArchivedTaskByIdWithHttpInfo(String id)Finds the ArchivedTask by ID Similar togetArchivedTaskByIdbut it also returns the http response headers .List<ArchivedTask>searchArchivedTasks(Integer p, Integer c, List<String> f, String o)Finds ArchivedTasks Finds ArchivedTasks with pagination params and filters - Can order on `caseId`, `name`, `displayName`, `processId`, `state`, `type`, `archivedDate`, `reached_state_date`, `assigned_id` - Can filter on `caseId`, `name`, `displayName`, `processId`, `state`, `type`, `archivedDate`, `reached_state_date`, `assigned_id`, `isTerminal`List<ArchivedTask>searchArchivedTasks(Map<String,Object> queryParams)Finds ArchivedTasks Finds ArchivedTasks with pagination params and filters - Can order on `caseId`, `name`, `displayName`, `processId`, `state`, `type`, `archivedDate`, `reached_state_date`, `assigned_id` - Can filter on `caseId`, `name`, `displayName`, `processId`, `state`, `type`, `archivedDate`, `reached_state_date`, `assigned_id`, `isTerminal` Note, this is equivalent to the othersearchArchivedTasksmethod, but with the query parameters collected into a single Map parameter.ApiResponse<List<ArchivedTask>>searchArchivedTasksWithHttpInfo(Integer p, Integer c, List<String> f, String o)Finds ArchivedTasks Similar tosearchArchivedTasksbut it also returns the http response headers .ApiResponse<List<ArchivedTask>>searchArchivedTasksWithHttpInfo(Map<String,Object> queryParams)Finds ArchivedTasks Finds ArchivedTasks with pagination params and filters - Can order on `caseId`, `name`, `displayName`, `processId`, `state`, `type`, `archivedDate`, `reached_state_date`, `assigned_id` - Can filter on `caseId`, `name`, `displayName`, `processId`, `state`, `type`, `archivedDate`, `reached_state_date`, `assigned_id`, `isTerminal` Note, this is equivalent to the othersearchArchivedTasksthat receives the query parameters as a map, but this one also exposes the Http response headers
-
-
-
Method Detail
-
getArchivedTaskById
ArchivedTask getArchivedTaskById(String id)
Finds the ArchivedTask by ID Returns the single ArchivedTask for the given ID- Parameters:
id- ID of the ArchivedTask to return (required)- Returns:
- ArchivedTask
-
getArchivedTaskByIdWithHttpInfo
ApiResponse<ArchivedTask> getArchivedTaskByIdWithHttpInfo(String id)
Finds the ArchivedTask by ID Similar togetArchivedTaskByIdbut it also returns the http response headers . Returns the single ArchivedTask for the given ID- Parameters:
id- ID of the ArchivedTask to return (required)- Returns:
- A ApiResponse that wraps the response boyd and the http headers.
-
searchArchivedTasks
List<ArchivedTask> searchArchivedTasks(Integer p, Integer c, List<String> f, String o)
Finds ArchivedTasks Finds ArchivedTasks with pagination params and filters - Can order on `caseId`, `name`, `displayName`, `processId`, `state`, `type`, `archivedDate`, `reached_state_date`, `assigned_id` - Can filter on `caseId`, `name`, `displayName`, `processId`, `state`, `type`, `archivedDate`, `reached_state_date`, `assigned_id`, `isTerminal`- 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)- Returns:
- List<ArchivedTask>
-
searchArchivedTasksWithHttpInfo
ApiResponse<List<ArchivedTask>> searchArchivedTasksWithHttpInfo(Integer p, Integer c, List<String> f, String o)
Finds ArchivedTasks Similar tosearchArchivedTasksbut it also returns the http response headers . Finds ArchivedTasks with pagination params and filters - Can order on `caseId`, `name`, `displayName`, `processId`, `state`, `type`, `archivedDate`, `reached_state_date`, `assigned_id` - Can filter on `caseId`, `name`, `displayName`, `processId`, `state`, `type`, `archivedDate`, `reached_state_date`, `assigned_id`, `isTerminal`- 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)- Returns:
- A ApiResponse that wraps the response boyd and the http headers.
-
searchArchivedTasks
List<ArchivedTask> searchArchivedTasks(Map<String,Object> queryParams)
Finds ArchivedTasks Finds ArchivedTasks with pagination params and filters - Can order on `caseId`, `name`, `displayName`, `processId`, `state`, `type`, `archivedDate`, `reached_state_date`, `assigned_id` - Can filter on `caseId`, `name`, `displayName`, `processId`, `state`, `type`, `archivedDate`, `reached_state_date`, `assigned_id`, `isTerminal` Note, this is equivalent to the othersearchArchivedTasksmethod, but with the query parameters collected into a single Map parameter. This is convenient for services with optional query parameters, especially when used with theArchivedTaskApi.SearchArchivedTasksQueryParamsclass 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)
- Returns:
- List<ArchivedTask>
-
searchArchivedTasksWithHttpInfo
ApiResponse<List<ArchivedTask>> searchArchivedTasksWithHttpInfo(Map<String,Object> queryParams)
Finds ArchivedTasks Finds ArchivedTasks with pagination params and filters - Can order on `caseId`, `name`, `displayName`, `processId`, `state`, `type`, `archivedDate`, `reached_state_date`, `assigned_id` - Can filter on `caseId`, `name`, `displayName`, `processId`, `state`, `type`, `archivedDate`, `reached_state_date`, `assigned_id`, `isTerminal` Note, this is equivalent to the othersearchArchivedTasksthat 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)
- Returns:
- List<ArchivedTask>
-
-