public class VMDiskPermissions extends CollectionDecorator<Permission,Permissions,VMDiskPermission>
VMDiskPermissions providing relation and functional services
to Permissions.
| Constructor and Description |
|---|
VMDiskPermissions(HttpProxyBroker proxy,
VMDisk parent) |
| Modifier and Type | Method and Description |
|---|---|
VMDiskPermission |
add(Permission permission)
Adds Permission object.
|
VMDiskPermission |
get(UUID id)
Fetches VMDiskPermission object by id.
|
VMDiskPermission |
getById(String id)
Fetches VMDiskPermission object by id.
|
List<VMDiskPermission> |
list()
Lists VMDiskPermission objects.
|
getpublic VMDiskPermissions(HttpProxyBroker proxy, VMDisk parent)
proxy - HttpProxyBrokerparent - VMDiskpublic List<VMDiskPermission> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<Permission,Permissions,VMDiskPermission>VMDiskPermissionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public VMDiskPermission get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<Permission,Permissions,VMDiskPermission>id - entity idVMDiskPermissionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public VMDiskPermission getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<Permission,Permissions,VMDiskPermission>id - entity idVMDiskPermissionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public VMDiskPermission add(Permission permission) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
permission - PermissionVMDiskPermissionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0