Package org.ovirt.engine.sdk4.services
Interface GroupsService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
GroupsServiceImpl
public interface GroupsService extends Service
Manages the collection of groups of users.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
GroupsService.AddRequest
Add group from a directory service.static interface
GroupsService.AddResponse
Add group from a directory service.static interface
GroupsService.ListRequest
List all the groups in the system.static interface
GroupsService.ListResponse
List all the groups in the system.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GroupsService.AddRequest
add()
Add group from a directory service.GroupService
groupService(String id)
Reference to the service that manages a specific group.GroupsService.ListRequest
list()
List all the groups in the system.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
add
GroupsService.AddRequest add()
Add group from a directory service. Please note that domain name is name of the authorization provider. For example, to add the `Developers` group from the `internal-authz` authorization provider send a request like this: [source] ---- POST /ovirt-engine/api/groups ---- With a request body like this: [source,xml] ----Developers internal-authz
-
list
GroupsService.ListRequest list()
List all the groups in the system. Usage: .... GET /ovirt-engine/api/groups .... Will return the list of groups: [source,xml] ----mygroup 476652557A382F67696B6D2B32762B37796E46476D513D3D DC=example,DC=com myextension-authz
-
groupService
GroupService groupService(String id)
Reference to the service that manages a specific group.
-
-