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