Package org.bonitasoft.web.client.api
Interface ActivityApi
- All Superinterfaces:
ApiClient.Api
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.12.0")
public interface ActivityApi
extends ApiClient.Api
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA convenience class for generating query parameters for thesearchActivitiesmethod in a fluent style. -
Method Summary
Modifier and TypeMethodDescriptionFinds the Activity by ID Returns the single Activity for the given IDFinds the Activity by ID Similar togetActivityByIdbut it also returns the http response headers .Finds Activities Finds Activities with pagination params and filters.searchActivities(ActivityApi.SearchActivitiesQueryParams queryParams) Finds Activities Finds Activities with pagination params and filters.Finds Activities Similar tosearchActivitiesbut it also returns the http response headers .Finds Activities Finds Activities with pagination params and filters.voidupdateActivityById(String id, ActivityUpdateRequest activityUpdateRequest) Update the Activity by ID Update the Activity for the given IDupdateActivityByIdWithHttpInfo(String id, ActivityUpdateRequest activityUpdateRequest) Update the Activity by ID Similar toupdateActivityByIdbut it also returns the http response headers .
-
Method Details
-
getActivityById
Finds the Activity by ID Returns the single Activity for the given ID- Parameters:
id- ID of the Activity to return (required)- Returns:
- Activity
-
getActivityByIdWithHttpInfo
Finds the Activity by ID Similar togetActivityByIdbut it also returns the http response headers . Returns the single Activity for the given ID- Parameters:
id- ID of the Activity to return (required)- Returns:
- A ApiResponse that wraps the response boyd and the http headers.
-
searchActivities
Finds Activities Finds 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`, `displayName`, `state`, `processDefinitionId`, `parentProcessInstanceId`, `parentActivityInstanceId` (order by parent activity id), `rootProcessInstanceId`, `lastUpdateDate` - can search on `name`, `displayName`, `state`, `processDefinitionId`, `parentProcessInstanceId`, `parentActivityInstanceId` (order by parent activity id), `rootProcessInstanceId`, `lastUpdateDate` - can filter on `name`, `state`, `processId`, `parentProcessInstanceId`, `rootProcessInstanceId`, `last_update_date`, `supervisor_id` (only in Enterprise editions)- 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<Activity>
-
searchActivitiesWithHttpInfo
ApiResponse<List<Activity>> searchActivitiesWithHttpInfo(Integer p, Integer c, List<String> f, String o, String s) Finds Activities Similar tosearchActivitiesbut it also returns the http response headers . Finds 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`, `displayName`, `state`, `processDefinitionId`, `parentProcessInstanceId`, `parentActivityInstanceId` (order by parent activity id), `rootProcessInstanceId`, `lastUpdateDate` - can search on `name`, `displayName`, `state`, `processDefinitionId`, `parentProcessInstanceId`, `parentActivityInstanceId` (order by parent activity id), `rootProcessInstanceId`, `lastUpdateDate` - can filter on `name`, `state`, `processId`, `parentProcessInstanceId`, `rootProcessInstanceId`, `last_update_date`, `supervisor_id` (only in Enterprise editions)- 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.
-
searchActivities
Finds Activities Finds 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`, `displayName`, `state`, `processDefinitionId`, `parentProcessInstanceId`, `parentActivityInstanceId` (order by parent activity id), `rootProcessInstanceId`, `lastUpdateDate` - can search on `name`, `displayName`, `state`, `processDefinitionId`, `parentProcessInstanceId`, `parentActivityInstanceId` (order by parent activity id), `rootProcessInstanceId`, `lastUpdateDate` - can filter on `name`, `state`, `processId`, `parentProcessInstanceId`, `rootProcessInstanceId`, `last_update_date`, `supervisor_id` (only in Enterprise editions) Note, this is equivalent to the othersearchActivitiesmethod, but with the query parameters collected into a single Map parameter. This is convenient for services with optional query parameters, especially when used with theActivityApi.SearchActivitiesQueryParamsclass 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<Activity>
-
searchActivitiesWithHttpInfo
ApiResponse<List<Activity>> searchActivitiesWithHttpInfo(ActivityApi.SearchActivitiesQueryParams queryParams) Finds Activities Finds 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`, `displayName`, `state`, `processDefinitionId`, `parentProcessInstanceId`, `parentActivityInstanceId` (order by parent activity id), `rootProcessInstanceId`, `lastUpdateDate` - can search on `name`, `displayName`, `state`, `processDefinitionId`, `parentProcessInstanceId`, `parentActivityInstanceId` (order by parent activity id), `rootProcessInstanceId`, `lastUpdateDate` - can filter on `name`, `state`, `processId`, `parentProcessInstanceId`, `rootProcessInstanceId`, `last_update_date`, `supervisor_id` (only in Enterprise editions) Note, this is equivalent to the othersearchActivitiesthat 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<Activity>
-
updateActivityById
Update the Activity by ID Update the Activity for the given ID- Parameters:
id- ID of the Activity to return (required)activityUpdateRequest- Partial Activity description (required)
-
updateActivityByIdWithHttpInfo
ApiResponse<Void> updateActivityByIdWithHttpInfo(String id, ActivityUpdateRequest activityUpdateRequest) Update the Activity by ID Similar toupdateActivityByIdbut it also returns the http response headers . Update the Activity for the given ID- Parameters:
id- ID of the Activity to return (required)activityUpdateRequest- Partial Activity description (required)
-