public class HostUnmanagedNetworks extends CollectionDecorator<UnmanagedNetwork,UnmanagedNetworks,HostUnmanagedNetwork>
HostUnmanagedNetworks providing relation and functional services
Constructor and Description |
---|
HostUnmanagedNetworks(HttpProxyBroker proxy,
Host parent) |
Modifier and Type | Method and Description |
---|---|
HostUnmanagedNetwork |
get(UUID id)
Fetches HostUnmanagedNetwork object by id.
|
HostUnmanagedNetwork |
getById(String id)
Fetches HostUnmanagedNetwork object by id.
|
List<HostUnmanagedNetwork> |
list()
Lists HostUnmanagedNetwork objects.
|
List<HostUnmanagedNetwork> |
list(Integer max)
Lists HostUnmanagedNetwork objects.
|
get
public HostUnmanagedNetworks(HttpProxyBroker proxy, Host parent)
proxy
- HttpProxyBrokerparent
- Hostpublic List<HostUnmanagedNetwork> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<UnmanagedNetwork,UnmanagedNetworks,HostUnmanagedNetwork>
HostUnmanagedNetwork
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 HostUnmanagedNetwork get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<UnmanagedNetwork,UnmanagedNetworks,HostUnmanagedNetwork>
id
- entity idHostUnmanagedNetwork
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 HostUnmanagedNetwork getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById
in class CollectionDecorator<UnmanagedNetwork,UnmanagedNetworks,HostUnmanagedNetwork>
id
- entity idHostUnmanagedNetwork
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<HostUnmanagedNetwork> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max
- [max results]
HostUnmanagedNetwork
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