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