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