Package org.bonitasoft.web.client.api
Interface ArchivedProcessInstanceApi
-
- All Superinterfaces:
ApiClient.Api
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public interface ArchivedProcessInstanceApi extends ApiClient.Api
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classArchivedProcessInstanceApi.SearchArchivedProcessInstancesQueryParamsA convenience class for generating query parameters for thesearchArchivedProcessInstancesmethod in a fluent style.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteArchivedProcessInstanceById(String id)Delete the ArchivedProcessInstance by ID Delete the single ArchivedProcessInstance for the given IDApiResponse<Void>deleteArchivedProcessInstanceByIdWithHttpInfo(String id)Delete the ArchivedProcessInstance by ID Similar todeleteArchivedProcessInstanceByIdbut it also returns the http response headers .ArchivedProcessInstancegetArchivedProcessInstanceById(String id)Finds the ArchivedProcessInstance by ID Returns the single ArchivedProcessInstance for the given IDApiResponse<ArchivedProcessInstance>getArchivedProcessInstanceByIdWithHttpInfo(String id)Finds the ArchivedProcessInstance by ID Similar togetArchivedProcessInstanceByIdbut it also returns the http response headers .Map<String,Object>getContextByArchivedProcessInstanceId(String id)Finds the Context by ArchivedProcessInstance ID Returns the Context for the given ArchivedProcessInstance IDApiResponse<Map<String,Object>>getContextByArchivedProcessInstanceIdWithHttpInfo(String id)Finds the Context by ArchivedProcessInstance ID Similar togetContextByArchivedProcessInstanceIdbut it also returns the http response headers .List<ArchivedProcessInstance>searchArchivedProcessInstances(Integer p, Integer c, List<String> f, String o)Finds ArchivedProcessInstances Finds archived ProcessInstances (or ProcessInstance) with pagination params and filters You can order on `id`, `processDefinitionId`, `startedBy`, `startedBySubstitute`, `startDate`, `endDate`, `lastUpdate`, `archivedDate`, `sourceObjectId` You can filter on : * `sourceObjectId`: The original process instance ID before the process instance was archived * `processDefinitionId`: The process derfinition ID * `name`: the process name * `started_by`: the ID of the user who started the process * `team_manager_id`: allow to retrieve the process instances in which all users with this manager ID ar involved) * `supervisor_id`: allow the retrived the process instances of all processes the user with this ID is supervisor of) beware you cannot use team_manager_id and supervisor_id at the same timeList<ArchivedProcessInstance>searchArchivedProcessInstances(Map<String,Object> queryParams)Finds ArchivedProcessInstances Finds archived ProcessInstances (or ProcessInstance) with pagination params and filters You can order on `id`, `processDefinitionId`, `startedBy`, `startedBySubstitute`, `startDate`, `endDate`, `lastUpdate`, `archivedDate`, `sourceObjectId` You can filter on : * `sourceObjectId`: The original process instance ID before the process instance was archived * `processDefinitionId`: The process derfinition ID * `name`: the process name * `started_by`: the ID of the user who started the process * `team_manager_id`: allow to retrieve the process instances in which all users with this manager ID ar involved) * `supervisor_id`: allow the retrived the process instances of all processes the user with this ID is supervisor of) beware you cannot use team_manager_id and supervisor_id at the same time Note, this is equivalent to the othersearchArchivedProcessInstancesmethod, but with the query parameters collected into a single Map parameter.ApiResponse<List<ArchivedProcessInstance>>searchArchivedProcessInstancesWithHttpInfo(Integer p, Integer c, List<String> f, String o)Finds ArchivedProcessInstances Similar tosearchArchivedProcessInstancesbut it also returns the http response headers .ApiResponse<List<ArchivedProcessInstance>>searchArchivedProcessInstancesWithHttpInfo(Map<String,Object> queryParams)Finds ArchivedProcessInstances Finds archived ProcessInstances (or ProcessInstance) with pagination params and filters You can order on `id`, `processDefinitionId`, `startedBy`, `startedBySubstitute`, `startDate`, `endDate`, `lastUpdate`, `archivedDate`, `sourceObjectId` You can filter on : * `sourceObjectId`: The original process instance ID before the process instance was archived * `processDefinitionId`: The process derfinition ID * `name`: the process name * `started_by`: the ID of the user who started the process * `team_manager_id`: allow to retrieve the process instances in which all users with this manager ID ar involved) * `supervisor_id`: allow the retrived the process instances of all processes the user with this ID is supervisor of) beware you cannot use team_manager_id and supervisor_id at the same time Note, this is equivalent to the othersearchArchivedProcessInstancesthat receives the query parameters as a map, but this one also exposes the Http response headers
-
-
-
Method Detail
-
deleteArchivedProcessInstanceById
void deleteArchivedProcessInstanceById(String id)
Delete the ArchivedProcessInstance by ID Delete the single ArchivedProcessInstance for the given ID- Parameters:
id- ID of the ArchivedProcessInstance to delete (required)
-
deleteArchivedProcessInstanceByIdWithHttpInfo
ApiResponse<Void> deleteArchivedProcessInstanceByIdWithHttpInfo(String id)
Delete the ArchivedProcessInstance by ID Similar todeleteArchivedProcessInstanceByIdbut it also returns the http response headers . Delete the single ArchivedProcessInstance for the given ID- Parameters:
id- ID of the ArchivedProcessInstance to delete (required)
-
getArchivedProcessInstanceById
ArchivedProcessInstance getArchivedProcessInstanceById(String id)
Finds the ArchivedProcessInstance by ID Returns the single ArchivedProcessInstance for the given ID- Parameters:
id- ID of the ArchivedProcessInstance to return (required)- Returns:
- ArchivedProcessInstance
-
getArchivedProcessInstanceByIdWithHttpInfo
ApiResponse<ArchivedProcessInstance> getArchivedProcessInstanceByIdWithHttpInfo(String id)
Finds the ArchivedProcessInstance by ID Similar togetArchivedProcessInstanceByIdbut it also returns the http response headers . Returns the single ArchivedProcessInstance for the given ID- Parameters:
id- ID of the ArchivedProcessInstance to return (required)- Returns:
- A ApiResponse that wraps the response boyd and the http headers.
-
getContextByArchivedProcessInstanceId
Map<String,Object> getContextByArchivedProcessInstanceId(String id)
Finds the Context by ArchivedProcessInstance ID Returns the Context for the given ArchivedProcessInstance ID- Parameters:
id- ID of the ArchivedProcessInstance that has the Context to return (required)- Returns:
- Map<String, Object>
-
getContextByArchivedProcessInstanceIdWithHttpInfo
ApiResponse<Map<String,Object>> getContextByArchivedProcessInstanceIdWithHttpInfo(String id)
Finds the Context by ArchivedProcessInstance ID Similar togetContextByArchivedProcessInstanceIdbut it also returns the http response headers . Returns the Context for the given ArchivedProcessInstance ID- Parameters:
id- ID of the ArchivedProcessInstance that has the Context to return (required)- Returns:
- A ApiResponse that wraps the response boyd and the http headers.
-
searchArchivedProcessInstances
List<ArchivedProcessInstance> searchArchivedProcessInstances(Integer p, Integer c, List<String> f, String o)
Finds ArchivedProcessInstances Finds archived ProcessInstances (or ProcessInstance) with pagination params and filters You can order on `id`, `processDefinitionId`, `startedBy`, `startedBySubstitute`, `startDate`, `endDate`, `lastUpdate`, `archivedDate`, `sourceObjectId` You can filter on : * `sourceObjectId`: The original process instance ID before the process instance was archived * `processDefinitionId`: The process derfinition ID * `name`: the process name * `started_by`: the ID of the user who started the process * `team_manager_id`: allow to retrieve the process instances in which all users with this manager ID ar involved) * `supervisor_id`: allow the retrived the process instances of all processes the user with this ID is supervisor of) beware you cannot use team_manager_id and supervisor_id at the same time- 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<ArchivedProcessInstance>
-
searchArchivedProcessInstancesWithHttpInfo
ApiResponse<List<ArchivedProcessInstance>> searchArchivedProcessInstancesWithHttpInfo(Integer p, Integer c, List<String> f, String o)
Finds ArchivedProcessInstances Similar tosearchArchivedProcessInstancesbut it also returns the http response headers . Finds archived ProcessInstances (or ProcessInstance) with pagination params and filters You can order on `id`, `processDefinitionId`, `startedBy`, `startedBySubstitute`, `startDate`, `endDate`, `lastUpdate`, `archivedDate`, `sourceObjectId` You can filter on : * `sourceObjectId`: The original process instance ID before the process instance was archived * `processDefinitionId`: The process derfinition ID * `name`: the process name * `started_by`: the ID of the user who started the process * `team_manager_id`: allow to retrieve the process instances in which all users with this manager ID ar involved) * `supervisor_id`: allow the retrived the process instances of all processes the user with this ID is supervisor of) beware you cannot use team_manager_id and supervisor_id at the same time- 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.
-
searchArchivedProcessInstances
List<ArchivedProcessInstance> searchArchivedProcessInstances(Map<String,Object> queryParams)
Finds ArchivedProcessInstances Finds archived ProcessInstances (or ProcessInstance) with pagination params and filters You can order on `id`, `processDefinitionId`, `startedBy`, `startedBySubstitute`, `startDate`, `endDate`, `lastUpdate`, `archivedDate`, `sourceObjectId` You can filter on : * `sourceObjectId`: The original process instance ID before the process instance was archived * `processDefinitionId`: The process derfinition ID * `name`: the process name * `started_by`: the ID of the user who started the process * `team_manager_id`: allow to retrieve the process instances in which all users with this manager ID ar involved) * `supervisor_id`: allow the retrived the process instances of all processes the user with this ID is supervisor of) beware you cannot use team_manager_id and supervisor_id at the same time Note, this is equivalent to the othersearchArchivedProcessInstancesmethod, but with the query parameters collected into a single Map parameter. This is convenient for services with optional query parameters, especially when used with theArchivedProcessInstanceApi.SearchArchivedProcessInstancesQueryParamsclass 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<ArchivedProcessInstance>
-
searchArchivedProcessInstancesWithHttpInfo
ApiResponse<List<ArchivedProcessInstance>> searchArchivedProcessInstancesWithHttpInfo(Map<String,Object> queryParams)
Finds ArchivedProcessInstances Finds archived ProcessInstances (or ProcessInstance) with pagination params and filters You can order on `id`, `processDefinitionId`, `startedBy`, `startedBySubstitute`, `startDate`, `endDate`, `lastUpdate`, `archivedDate`, `sourceObjectId` You can filter on : * `sourceObjectId`: The original process instance ID before the process instance was archived * `processDefinitionId`: The process derfinition ID * `name`: the process name * `started_by`: the ID of the user who started the process * `team_manager_id`: allow to retrieve the process instances in which all users with this manager ID ar involved) * `supervisor_id`: allow the retrived the process instances of all processes the user with this ID is supervisor of) beware you cannot use team_manager_id and supervisor_id at the same time Note, this is equivalent to the othersearchArchivedProcessInstancesthat 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<ArchivedProcessInstance>
-
-