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