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