Package org.bonitasoft.web.client.api
Interface ActorApi
-
- All Superinterfaces:
ApiClient.Api
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public interface ActorApi extends ApiClient.Api
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classActorApi.SearchActorsQueryParamsA convenience class for generating query parameters for thesearchActorsmethod in a fluent style.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActorgetActorById(String id)Finds the Actor by ID Returns the single Actor for the given IDApiResponse<Actor>getActorByIdWithHttpInfo(String id)Finds the Actor by ID Similar togetActorByIdbut it also returns the http response headers .List<Actor>searchActors(Integer p, Integer c, List<String> f, String o)Finds Actors Finds Actors with pagination params and filtersList<Actor>searchActors(Map<String,Object> 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.ApiResponse<List<Actor>>searchActorsWithHttpInfo(Integer p, Integer c, List<String> f, String o)Finds Actors Similar tosearchActorsbut it also returns the http response headers .ApiResponse<List<Actor>>searchActorsWithHttpInfo(Map<String,Object> 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)Update the Actor by ID Update the Actor for the given IDApiResponse<Void>updateActorByIdWithHttpInfo(String id, ActorUpdateRequest actorUpdateRequest)Update the Actor by ID Similar toupdateActorByIdbut it also returns the http response headers .
-
-
-
Method Detail
-
getActorById
Actor getActorById(String id)
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
ApiResponse<Actor> getActorByIdWithHttpInfo(String id)
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
List<Actor> searchActors(Integer p, Integer c, List<String> f, String o)
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
ApiResponse<List<Actor>> searchActorsWithHttpInfo(Integer p, Integer c, List<String> f, String o)
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
List<Actor> searchActors(Map<String,Object> 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. 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
ApiResponse<List<Actor>> searchActorsWithHttpInfo(Map<String,Object> 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 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
void updateActorById(String id, ActorUpdateRequest actorUpdateRequest)
Update the Actor by ID Update the Actor for the given ID- Parameters:
id- ID of the Actor to return (required)actorUpdateRequest- Fields that can be upated are `displayName` and `description` (required)
-
updateActorByIdWithHttpInfo
ApiResponse<Void> updateActorByIdWithHttpInfo(String id, ActorUpdateRequest actorUpdateRequest)
Update the Actor by ID Similar toupdateActorByIdbut it also returns the http response headers . Update the Actor for the given ID- Parameters:
id- ID of the Actor to return (required)actorUpdateRequest- Fields that can be upated are `displayName` and `description` (required)
-
-