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