Class PermitServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.PermitServiceImpl
-
- All Implemented Interfaces:
Service
,PermitService
public class PermitServiceImpl extends ServiceImpl implements PermitService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.PermitService
PermitService.GetRequest, PermitService.GetResponse, PermitService.RemoveRequest, PermitService.RemoveResponse
-
-
Constructor Summary
Constructors Constructor Description PermitServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PermitService.GetRequest
get()
Gets the information about the permit of the role.PermitService.RemoveRequest
remove()
Removes the permit from the role.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
-
PermitServiceImpl
public PermitServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public PermitService.GetRequest get()
Description copied from interface:PermitService
Gets the information about the permit of the role. For example to retrieve the information about the permit with the id `456` of the role with the id `123` send a request like this: .... GET /ovirt-engine/api/roles/123/permits/456 .... [source,xml] ----change_vm_cd false - Specified by:
get
in interfacePermitService
-
remove
public PermitService.RemoveRequest remove()
Description copied from interface:PermitService
Removes the permit from the role. For example to remove the permit with id `456` from the role with id `123` send a request like this: .... DELETE /ovirt-engine/api/roles/123/permits/456 ....- Specified by:
remove
in interfacePermitService
-
service
public Service service(String path)
Description copied from interface:PermitService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfacePermitService
-
-