public class DataCenterIscsiBondNetworks extends CollectionDecorator<Network,Networks,DataCenterIscsiBondNetwork>
DataCenterIscsiBondNetworks providing relation and functional services
to Networks
.
Constructor and Description |
---|
DataCenterIscsiBondNetworks(HttpProxyBroker proxy,
DataCenterIscsiBond parent) |
Modifier and Type | Method and Description |
---|---|
DataCenterIscsiBondNetwork |
add(Network network)
Adds Network object.
|
DataCenterIscsiBondNetwork |
get(UUID id)
Fetches DataCenterIscsiBondNetwork object by id.
|
DataCenterIscsiBondNetwork |
getById(String id)
Fetches DataCenterIscsiBondNetwork object by id.
|
List<DataCenterIscsiBondNetwork> |
list()
Lists DataCenterIscsiBondNetwork objects.
|
get
public DataCenterIscsiBondNetworks(HttpProxyBroker proxy, DataCenterIscsiBond parent)
proxy
- HttpProxyBrokerparent
- DataCenterIscsiBondpublic List<DataCenterIscsiBondNetwork> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<Network,Networks,DataCenterIscsiBondNetwork>
DataCenterIscsiBondNetwork
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 DataCenterIscsiBondNetwork get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<Network,Networks,DataCenterIscsiBondNetwork>
id
- entity idDataCenterIscsiBondNetwork
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 DataCenterIscsiBondNetwork getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById
in class CollectionDecorator<Network,Networks,DataCenterIscsiBondNetwork>
id
- entity idDataCenterIscsiBondNetwork
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 DataCenterIscsiBondNetwork add(Network network) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
network
- Network
DataCenterIscsiBondNetwork
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