Package org.bonitasoft.web.client.api
Interface ActorApi
- All Superinterfaces:
ApiClient.Api
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.12.0")
public interface ActorApi
extends ApiClient.Api
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA convenience class for generating query parameters for thesearchActorsmethod in a fluent style. -
Method Summary
Modifier and TypeMethodDescriptiongetActorById(String id) Finds the Actor by ID Returns the single Actor for the given IDFinds the Actor by ID Similar togetActorByIdbut it also returns the http response headers .Finds Actors Finds Actors with pagination params and filterssearchActors(ActorApi.SearchActorsQueryParams queryParams) Finds Actors Finds Actors with pagination params and filters Note, this is equivalent to the othersearchActorsmethod, but with the query parameters collected into a single Map parameter.Finds Actors Similar tosearchActorsbut it also returns the http response headers .searchActorsWithHttpInfo(ActorApi.SearchActorsQueryParams queryParams) Finds Actors Finds Actors with pagination params and filters Note, this is equivalent to the othersearchActorsthat receives the query parameters as a map, but this one also exposes the Http response headersvoidupdateActorById(String id, ActorUpdateRequest actorUpdateRequest) Deprecated.updateActorByIdWithHttpInfo(String id, ActorUpdateRequest actorUpdateRequest) Deprecated.
-
Method Details
-
getActorById
Finds the Actor by ID Returns the single Actor for the given ID- Parameters:
id- ID of the Actor to return (required)- Returns:
- Actor
-
getActorByIdWithHttpInfo
Finds the Actor by ID Similar togetActorByIdbut it also returns the http response headers . Returns the single Actor for the given ID- Parameters:
id- ID of the Actor to return (required)- Returns:
- A ApiResponse that wraps the response boyd and the http headers.
-
searchActors
Finds Actors Finds Actors with pagination params and filters- 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<Actor>
-
searchActorsWithHttpInfo
Finds Actors Similar tosearchActorsbut it also returns the http response headers . Finds Actors with pagination params and filters- 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.
-
searchActors
Finds Actors Finds Actors with pagination params and filters Note, this is equivalent to the othersearchActorsmethod, but with the query parameters collected into a single Map parameter. This is convenient for services with optional query parameters, especially when used with theActorApi.SearchActorsQueryParamsclass 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<Actor>
-
searchActorsWithHttpInfo
Finds Actors Finds Actors with pagination params and filters Note, this is equivalent to the othersearchActorsthat 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<Actor>
-
updateActorById
Deprecated.Update the Actor by ID Update the Actor for the given ID Warning: as of 9.0.0, updating an Actor using this API is deprecated.- Parameters:
id- ID of the Actor to return (required)actorUpdateRequest- Fields that can be upated are `displayName` and `description` (required)
-
updateActorByIdWithHttpInfo
@Deprecated ApiResponse<Void> updateActorByIdWithHttpInfo(String id, ActorUpdateRequest actorUpdateRequest) Deprecated.Update the Actor by ID Similar toupdateActorByIdbut it also returns the http response headers . Update the Actor for the given ID Warning: as of 9.0.0, updating an Actor using this API is deprecated.- Parameters:
id- ID of the Actor to return (required)actorUpdateRequest- Fields that can be upated are `displayName` and `description` (required)
-