Class GroupsServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.GroupsServiceImpl
-
- All Implemented Interfaces:
Service
,GroupsService
public class GroupsServiceImpl extends ServiceImpl implements GroupsService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.GroupsService
GroupsService.AddRequest, GroupsService.AddResponse, GroupsService.ListRequest, GroupsService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description GroupsServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete 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.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
GroupsServiceImpl
public GroupsServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public GroupsService.AddRequest add()
Description copied from interface:GroupsService
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 - Specified by:
add
in interfaceGroupsService
-
list
public GroupsService.ListRequest list()
Description copied from interface:GroupsService
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 - Specified by:
list
in interfaceGroupsService
-
groupService
public GroupService groupService(String id)
Description copied from interface:GroupsService
Reference to the service that manages a specific group.- Specified by:
groupService
in interfaceGroupsService
-
service
public Service service(String path)
Description copied from interface:GroupsService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceGroupsService
-
-