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