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