public class TemplateGraphicsConsoles extends CollectionDecorator<GraphicsConsole,GraphicsConsoles,TemplateGraphicsConsole>
TemplateGraphicsConsoles providing relation and functional services
to GraphicsConsoles
.
Constructor and Description |
---|
TemplateGraphicsConsoles(HttpProxyBroker proxy,
Template parent) |
Modifier and Type | Method and Description |
---|---|
TemplateGraphicsConsole |
add(GraphicsConsole graphicsconsole)
Adds GraphicsConsole object.
|
TemplateGraphicsConsole |
add(GraphicsConsole graphicsconsole,
String correlationId)
Adds GraphicsConsole object.
|
TemplateGraphicsConsole |
add(GraphicsConsole graphicsconsole,
String correlationId,
String expect)
Adds GraphicsConsole object.
|
TemplateGraphicsConsole |
get(UUID id)
Fetches TemplateGraphicsConsole object by id.
|
TemplateGraphicsConsole |
getById(String id)
Fetches TemplateGraphicsConsole object by id.
|
List<TemplateGraphicsConsole> |
list()
Lists TemplateGraphicsConsole objects.
|
List<TemplateGraphicsConsole> |
list(Integer max)
Lists TemplateGraphicsConsole objects.
|
get
public TemplateGraphicsConsoles(HttpProxyBroker proxy, Template parent)
proxy
- HttpProxyBrokerparent
- Templatepublic List<TemplateGraphicsConsole> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<GraphicsConsole,GraphicsConsoles,TemplateGraphicsConsole>
TemplateGraphicsConsole
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 TemplateGraphicsConsole get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<GraphicsConsole,GraphicsConsoles,TemplateGraphicsConsole>
id
- entity idTemplateGraphicsConsole
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 TemplateGraphicsConsole getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById
in class CollectionDecorator<GraphicsConsole,GraphicsConsoles,TemplateGraphicsConsole>
id
- entity idTemplateGraphicsConsole
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 TemplateGraphicsConsole add(GraphicsConsole graphicsconsole) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
graphicsconsole
- GraphicsConsole
graphics_console.protocol
TemplateGraphicsConsole
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 TemplateGraphicsConsole add(GraphicsConsole graphicsconsole, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
graphicsconsole
- GraphicsConsole
graphics_console.protocol
correlationId
- [any string]
TemplateGraphicsConsole
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 TemplateGraphicsConsole add(GraphicsConsole graphicsconsole, String correlationId, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
graphicsconsole
- GraphicsConsole
graphics_console.protocol
correlationId
- [any string]
expect
- [201-created]
TemplateGraphicsConsole
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<TemplateGraphicsConsole> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max
- [max results]
TemplateGraphicsConsole
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