Package org.bonitasoft.web.client.api
Interface ArchivedTaskApi
-
- All Superinterfaces:
ApiClient.Api
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 IDList<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.
-
-
-
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
-
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>
-
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>
-
-