public class VMSnapshotCdRoms extends CollectionDecorator<CdRom,CdRoms,VMSnapshotCdRom>
VMSnapshotCdRoms providing relation and functional services
to CdRoms
.
Constructor and Description |
---|
VMSnapshotCdRoms(HttpProxyBroker proxy,
VMSnapshot parent) |
Modifier and Type | Method and Description |
---|---|
VMSnapshotCdRom |
get(UUID id)
Fetches VMSnapshotCdRom object by id.
|
List<VMSnapshotCdRom> |
list()
Lists VMSnapshotCdRom objects.
|
get
public VMSnapshotCdRoms(HttpProxyBroker proxy, VMSnapshot parent)
proxy
- HttpProxyBrokerparent
- VMSnapshotpublic List<VMSnapshotCdRom> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<CdRom,CdRoms,VMSnapshotCdRom>
VMSnapshotCdRom
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 VMSnapshotCdRom get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<CdRom,CdRoms,VMSnapshotCdRom>
id
- entity idVMSnapshotCdRom
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