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.
|
StorageDomainTemplate |
getById(String id)
Fetches StorageDomainTemplate object by id.
|
List<StorageDomainTemplate> |
list()
Lists StorageDomainTemplate objects.
|
List<StorageDomainTemplate> |
list(Integer max,
Boolean unregistered)
Lists StorageDomainTemplate objects.
|
getpublic 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>StorageDomainTemplateorg.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 idStorageDomainTemplateorg.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 getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<Template,Templates,StorageDomainTemplate>id - entity idStorageDomainTemplateorg.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, Boolean unregistered) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max -
[max results]
unregistered -
[true|false]
StorageDomainTemplateorg.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