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.
|
List<NetworkVnicProfilePermission> |
list(Integer max)
Lists NetworkVnicProfilePermission objects.
|
get
public 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>
NetworkVnicProfilePermission
org.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 idNetworkVnicProfilePermission
org.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 idNetworkVnicProfilePermission
org.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
- Permission
NetworkVnicProfilePermission
org.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 List<NetworkVnicProfilePermission> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max
- [max results]
NetworkVnicProfilePermission
org.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