public class NetworkVnicProfilePermissions extends CollectionDecorator<Permission,Permissions,NetworkVnicProfilePermission>
NetworkVnicProfilePermissions providing relation and functional services
to Permissions.
| Constructor and Description |
|---|
NetworkVnicProfilePermissions(HttpProxyBroker proxy,
NetworkVnicProfile parent) |
| Modifier and Type | Method and Description |
|---|---|
NetworkVnicProfilePermission |
add(Permission permission)
Adds Permission object.
|
NetworkVnicProfilePermission |
get(UUID id)
Fetches NetworkVnicProfilePermission object by id.
|
NetworkVnicProfilePermission |
getById(String id)
Fetches NetworkVnicProfilePermission object by id.
|
List<NetworkVnicProfilePermission> |
list()
Lists NetworkVnicProfilePermission objects.
|
getpublic NetworkVnicProfilePermissions(HttpProxyBroker proxy, NetworkVnicProfile parent)
proxy - HttpProxyBrokerparent - NetworkVnicProfilepublic List<NetworkVnicProfilePermission> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<Permission,Permissions,NetworkVnicProfilePermission>NetworkVnicProfilePermissionorg.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 NetworkVnicProfilePermission get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<Permission,Permissions,NetworkVnicProfilePermission>id - entity idNetworkVnicProfilePermissionorg.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 NetworkVnicProfilePermission getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<Permission,Permissions,NetworkVnicProfilePermission>id - entity idNetworkVnicProfilePermissionorg.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 NetworkVnicProfilePermission add(Permission permission) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
permission - PermissionNetworkVnicProfilePermissionorg.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