Package org.bonitasoft.web.client.api
Interface GroupApi
- All Superinterfaces:
ApiClient.Api
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.12.0")
public interface GroupApi
extends ApiClient.Api
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA convenience class for generating query parameters for thesearchGroupsmethod in a fluent style. -
Method Summary
Modifier and TypeMethodDescriptionCreate the Group Create the GroupCreate the Group Similar tocreateGroupbut it also returns the http response headers .voidDelete the Group by ID Delete the single Group for the given IDDelete the Group by ID Similar todeleteGroupByIdbut it also returns the http response headers .getGroupById(String id) Finds the Group by ID Returns the single Group for the given IDFinds the Group by ID Similar togetGroupByIdbut it also returns the http response headers .Finds Groups Finds Groups with pagination params and filters. - can order on `id`,`name`,`displayName` - can filter on `name`,`displayName`,`parent_path`searchGroups(GroupApi.SearchGroupsQueryParams queryParams) Finds Groups Finds Groups with pagination params and filters. - can order on `id`,`name`,`displayName` - can filter on `name`,`displayName`,`parent_path` Note, this is equivalent to the othersearchGroupsmethod, but with the query parameters collected into a single Map parameter.Finds Groups Similar tosearchGroupsbut it also returns the http response headers .searchGroupsWithHttpInfo(GroupApi.SearchGroupsQueryParams queryParams) Finds Groups Finds Groups with pagination params and filters. - can order on `id`,`name`,`displayName` - can filter on `name`,`displayName`,`parent_path` Note, this is equivalent to the othersearchGroupsthat receives the query parameters as a map, but this one also exposes the Http response headersvoidupdateGroupById(String id, GroupUpdateRequest groupUpdateRequest) Update the Group by ID Update the Group for the given IDupdateGroupByIdWithHttpInfo(String id, GroupUpdateRequest groupUpdateRequest) Update the Group by ID Similar toupdateGroupByIdbut it also returns the http response headers .
-
Method Details
-
createGroup
Create the Group Create the Group- Parameters:
body- Partial Group description (required)- Returns:
- Group
-
createGroupWithHttpInfo
Create the Group Similar tocreateGroupbut it also returns the http response headers . Create the Group- Parameters:
body- Partial Group description (required)- Returns:
- A ApiResponse that wraps the response boyd and the http headers.
-
deleteGroupById
Delete the Group by ID Delete the single Group for the given ID- Parameters:
id- ID of the Group to delete (required)
-
deleteGroupByIdWithHttpInfo
Delete the Group by ID Similar todeleteGroupByIdbut it also returns the http response headers . Delete the single Group for the given ID- Parameters:
id- ID of the Group to delete (required)
-
getGroupById
Finds the Group by ID Returns the single Group for the given ID- Parameters:
id- ID of the Group to return (required)- Returns:
- Group
-
getGroupByIdWithHttpInfo
Finds the Group by ID Similar togetGroupByIdbut it also returns the http response headers . Returns the single Group for the given ID- Parameters:
id- ID of the Group to return (required)- Returns:
- A ApiResponse that wraps the response boyd and the http headers.
-
searchGroups
Finds Groups Finds Groups with pagination params and filters. - can order on `id`,`name`,`displayName` - can filter on `name`,`displayName`,`parent_path`- 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<Group>
-
searchGroupsWithHttpInfo
Finds Groups Similar tosearchGroupsbut it also returns the http response headers . Finds Groups with pagination params and filters. - can order on `id`,`name`,`displayName` - can filter on `name`,`displayName`,`parent_path`- 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.
-
searchGroups
Finds Groups Finds Groups with pagination params and filters. - can order on `id`,`name`,`displayName` - can filter on `name`,`displayName`,`parent_path` Note, this is equivalent to the othersearchGroupsmethod, but with the query parameters collected into a single Map parameter. This is convenient for services with optional query parameters, especially when used with theGroupApi.SearchGroupsQueryParamsclass 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<Group>
-
searchGroupsWithHttpInfo
Finds Groups Finds Groups with pagination params and filters. - can order on `id`,`name`,`displayName` - can filter on `name`,`displayName`,`parent_path` Note, this is equivalent to the othersearchGroupsthat 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<Group>
-
updateGroupById
Update the Group by ID Update the Group for the given ID- Parameters:
id- ID of the Group to return (required)groupUpdateRequest- Partial Group description (required)
-
updateGroupByIdWithHttpInfo
Update the Group by ID Similar toupdateGroupByIdbut it also returns the http response headers . Update the Group for the given ID- Parameters:
id- ID of the Group to return (required)groupUpdateRequest- Partial Group description (required)
-