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