public class InstanceTypeNICs extends CollectionDecorator<NIC,Nics,InstanceTypeNIC>
InstanceTypeNICs providing relation and functional services
to Nics.
| Constructor and Description |
|---|
InstanceTypeNICs(HttpProxyBroker proxy,
InstanceType parent) |
| Modifier and Type | Method and Description |
|---|---|
InstanceTypeNIC |
add(NIC nic)
Adds NIC object.
|
InstanceTypeNIC |
get(UUID id)
Fetches InstanceTypeNIC object by id.
|
InstanceTypeNIC |
getById(String id)
Fetches InstanceTypeNIC object by id.
|
List<InstanceTypeNIC> |
list()
Lists InstanceTypeNIC objects.
|
getpublic InstanceTypeNICs(HttpProxyBroker proxy, InstanceType parent)
proxy - HttpProxyBrokerparent - InstanceTypepublic List<InstanceTypeNIC> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<NIC,Nics,InstanceTypeNIC>InstanceTypeNICorg.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 InstanceTypeNIC get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<NIC,Nics,InstanceTypeNIC>id - entity idInstanceTypeNICorg.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 InstanceTypeNIC getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<NIC,Nics,InstanceTypeNIC>id - entity idInstanceTypeNICorg.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 InstanceTypeNIC add(NIC nic) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
nic - NICInstanceTypeNICorg.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