Class UserServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.UserServiceImpl
-
- All Implemented Interfaces:
Service
,UserService
public class UserServiceImpl extends ServiceImpl implements UserService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.UserService
UserService.GetRequest, UserService.GetResponse, UserService.RemoveRequest, UserService.RemoveResponse, UserService.UpdateRequest, UserService.UpdateResponse
-
-
Constructor Summary
Constructors Constructor Description UserServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventSubscriptionsService
eventSubscriptionsService()
List of event-subscriptions for this user.UserService.GetRequest
get()
Gets the system user information.DomainUserGroupsService
groupsService()
UserOptionsService
optionsService()
AssignedPermissionsService
permissionsService()
UserService.RemoveRequest
remove()
Removes the system user.AssignedRolesService
rolesService()
Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.SshPublicKeysService
sshPublicKeysService()
AssignedTagsService
tagsService()
String
toString()
UserService.UpdateRequest
update()
Updates information about the user.-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
UserServiceImpl
public UserServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public UserService.GetRequest get()
Description copied from interface:UserService
Gets the system user information. Usage: .... GET /ovirt-engine/api/users/1234 .... Will return the user information: [source,xml] ----admin 23456 [email protected] Lastname * user1 user1@domain-authz domain-authz - Specified by:
get
in interfaceUserService
-
remove
public UserService.RemoveRequest remove()
Description copied from interface:UserService
Removes the system user. Usage: .... DELETE /ovirt-engine/api/users/1234 ....- Specified by:
remove
in interfaceUserService
-
update
public UserService.UpdateRequest update()
Description copied from interface:UserService
Updates information about the user. Only the `user_options` field can be updated. For example, to update user options: [source] ---- PUT /ovirt-engine/api/users/123 ---- With a request body like this: [source,xml] ----test ["any","JSON"] > endpoint instead. - Specified by:
update
in interfaceUserService
-
eventSubscriptionsService
public EventSubscriptionsService eventSubscriptionsService()
Description copied from interface:UserService
List of event-subscriptions for this user.- Specified by:
eventSubscriptionsService
in interfaceUserService
-
groupsService
public DomainUserGroupsService groupsService()
- Specified by:
groupsService
in interfaceUserService
-
optionsService
public UserOptionsService optionsService()
- Specified by:
optionsService
in interfaceUserService
-
permissionsService
public AssignedPermissionsService permissionsService()
- Specified by:
permissionsService
in interfaceUserService
-
rolesService
public AssignedRolesService rolesService()
- Specified by:
rolesService
in interfaceUserService
-
sshPublicKeysService
public SshPublicKeysService sshPublicKeysService()
- Specified by:
sshPublicKeysService
in interfaceUserService
-
tagsService
public AssignedTagsService tagsService()
- Specified by:
tagsService
in interfaceUserService
-
service
public Service service(String path)
Description copied from interface:UserService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceUserService
-
-