public class StorageDomainVMDisks extends CollectionDecorator<Disk,Disks,StorageDomainVMDisk>
StorageDomainVMDisks providing relation and functional services
to Disks
.
Constructor and Description |
---|
StorageDomainVMDisks(HttpProxyBroker proxy,
StorageDomainVM parent) |
Modifier and Type | Method and Description |
---|---|
StorageDomainVMDisk |
get(UUID id)
Fetches StorageDomainVMDisk object by id.
|
List<StorageDomainVMDisk> |
list()
Lists StorageDomainVMDisk objects.
|
get
public StorageDomainVMDisks(HttpProxyBroker proxy, StorageDomainVM parent)
proxy
- HttpProxyBrokerparent
- StorageDomainVMpublic List<StorageDomainVMDisk> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<Disk,Disks,StorageDomainVMDisk>
StorageDomainVMDisk
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 StorageDomainVMDisk get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<Disk,Disks,StorageDomainVMDisk>
id
- entity idStorageDomainVMDisk
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