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