public class StorageDomainVMs extends CollectionDecorator<VM,VMs,StorageDomainVM>
StorageDomainVMs providing relation and functional services
to VMs
.
Constructor and Description |
---|
StorageDomainVMs(HttpProxyBroker proxy,
StorageDomain parent) |
Modifier and Type | Method and Description |
---|---|
StorageDomainVM |
get(UUID id)
Fetches StorageDomainVM object by id.
|
List<StorageDomainVM> |
list()
Lists StorageDomainVM objects.
|
List<StorageDomainVM> |
list(Integer max)
Lists StorageDomainVM objects.
|
get
public StorageDomainVMs(HttpProxyBroker proxy, StorageDomain parent)
proxy
- HttpProxyBrokerparent
- StorageDomainpublic List<StorageDomainVM> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<VM,VMs,StorageDomainVM>
StorageDomainVM
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 StorageDomainVM get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<VM,VMs,StorageDomainVM>
id
- entity idStorageDomainVM
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<StorageDomainVM> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max
- [max results]
StorageDomainVM
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