Class RoleServiceImpl

    • Method Detail

      • get

        public RoleService.GetRequest get()
        Description copied from interface: RoleService
        Get the role. [source] ---- GET /ovirt-engine/api/roles/123 ---- You will receive XML response like this one: [source,xml] ---- MyRole MyRole description true false ----
        Specified by:
        get in interface RoleService
      • remove

        public RoleService.RemoveRequest remove()
        Description copied from interface: RoleService
        Removes the role. To remove the role you need to know its id, then send request like this: [source] ---- DELETE /ovirt-engine/api/roles/{role_id} ----
        Specified by:
        remove in interface RoleService
      • update

        public RoleService.UpdateRequest update()
        Description copied from interface: RoleService
        Updates a role. You are allowed to update `name`, `description` and `administrative` attributes after role is created. Within this endpoint you can't add or remove roles permits you need to use <> that manages permits of role. For example to update role's `name`, `description` and `administrative` attributes send a request like this: [source] ---- PUT /ovirt-engine/api/roles/123 ---- With a request body like this: [source,xml] ---- MyNewRoleName My new description of the role true ----
        Specified by:
        update in interface RoleService
      • service

        public Service service​(String path)
        Description copied from interface: RoleService
        Service locator method, returns individual service on which the URI is dispatched.
        Specified by:
        service in interface RoleService