Package org.bonitasoft.web.client.api
Interface ArchivedActivityApi
- All Superinterfaces:
ApiClient.Api
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.12.0")
public interface ArchivedActivityApi
extends ApiClient.Api
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA convenience class for generating query parameters for thesearchArchivedActivitiesmethod in a fluent style. -
Method Summary
Modifier and TypeMethodDescriptionFinds the Archived Activity by ID Returns the single Archived Activity for the given IDFinds the Archived Activity by ID Similar togetArchivedActivityByIdbut it also returns the http response headers .Finds Archived Activities Finds Archived Activities with pagination params and filters.Finds Archived Activities Finds Archived Activities with pagination params and filters.Finds Archived Activities Similar tosearchArchivedActivitiesbut it also returns the http response headers .searchArchivedActivitiesWithHttpInfo(ArchivedActivityApi.SearchArchivedActivitiesQueryParams queryParams) Finds Archived Activities Finds Archived Activities with pagination params and filters.
-
Method Details
-
getArchivedActivityById
Finds the Archived Activity by ID Returns the single Archived Activity for the given ID- Parameters:
id- ID of the Archived Activity to return (required)- Returns:
- ArchivedActivity
-
getArchivedActivityByIdWithHttpInfo
Finds the Archived Activity by ID Similar togetArchivedActivityByIdbut it also returns the http response headers . Returns the single Archived Activity for the given ID- Parameters:
id- ID of the Archived Activity to return (required)- Returns:
- A ApiResponse that wraps the response boyd and the http headers.
-
searchArchivedActivities
List<ArchivedActivity> searchArchivedActivities(Integer p, Integer c, List<String> f, String o, String s) Finds Archived Activities Finds Archived Activities with pagination params and filters. Activities in states completed, cancelled, or aborted are not retrieved. The search returns an array of activities. Can order on: - `name` : the name of this activity - `displayName` : the display name of this activity - `state` : the current state of the activity - `type` : the activity type - `isTerminal` : say whether or not the activity is in a terminal state - `processId` : the process this activity is associated to - `caseId` : the process instance initiator this activity is associated to - `reached_state_date` : the date when this activity arrived in this state Can filter on: - `supervisor_id`: retrieve the information the process manager associated to this id has access to (only in Enterprise editions) - f: same as the sort order fields- 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<ArchivedActivity>
-
searchArchivedActivitiesWithHttpInfo
ApiResponse<List<ArchivedActivity>> searchArchivedActivitiesWithHttpInfo(Integer p, Integer c, List<String> f, String o, String s) Finds Archived Activities Similar tosearchArchivedActivitiesbut it also returns the http response headers . Finds Archived Activities with pagination params and filters. Activities in states completed, cancelled, or aborted are not retrieved. The search returns an array of activities. Can order on: - `name` : the name of this activity - `displayName` : the display name of this activity - `state` : the current state of the activity - `type` : the activity type - `isTerminal` : say whether or not the activity is in a terminal state - `processId` : the process this activity is associated to - `caseId` : the process instance initiator this activity is associated to - `reached_state_date` : the date when this activity arrived in this state Can filter on: - `supervisor_id`: retrieve the information the process manager associated to this id has access to (only in Enterprise editions) - f: same as the sort order fields- 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.
-
searchArchivedActivities
List<ArchivedActivity> searchArchivedActivities(ArchivedActivityApi.SearchArchivedActivitiesQueryParams queryParams) Finds Archived Activities Finds Archived Activities with pagination params and filters. Activities in states completed, cancelled, or aborted are not retrieved. The search returns an array of activities. Can order on: - `name` : the name of this activity - `displayName` : the display name of this activity - `state` : the current state of the activity - `type` : the activity type - `isTerminal` : say whether or not the activity is in a terminal state - `processId` : the process this activity is associated to - `caseId` : the process instance initiator this activity is associated to - `reached_state_date` : the date when this activity arrived in this state Can filter on: - `supervisor_id`: retrieve the information the process manager associated to this id has access to (only in Enterprise editions) - f: same as the sort order fields Note, this is equivalent to the othersearchArchivedActivitiesmethod, but with the query parameters collected into a single Map parameter. This is convenient for services with optional query parameters, especially when used with theArchivedActivityApi.SearchArchivedActivitiesQueryParamsclass 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<ArchivedActivity>
-
searchArchivedActivitiesWithHttpInfo
ApiResponse<List<ArchivedActivity>> searchArchivedActivitiesWithHttpInfo(ArchivedActivityApi.SearchArchivedActivitiesQueryParams queryParams) Finds Archived Activities Finds Archived Activities with pagination params and filters. Activities in states completed, cancelled, or aborted are not retrieved. The search returns an array of activities. Can order on: - `name` : the name of this activity - `displayName` : the display name of this activity - `state` : the current state of the activity - `type` : the activity type - `isTerminal` : say whether or not the activity is in a terminal state - `processId` : the process this activity is associated to - `caseId` : the process instance initiator this activity is associated to - `reached_state_date` : the date when this activity arrived in this state Can filter on: - `supervisor_id`: retrieve the information the process manager associated to this id has access to (only in Enterprise editions) - f: same as the sort order fields Note, this is equivalent to the othersearchArchivedActivitiesthat 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<ArchivedActivity>
-