public class VMSessions extends CollectionDecorator<Session,Sessions,VMSession>
VMSessions providing relation and functional services
to Sessions.
| Constructor and Description |
|---|
VMSessions(HttpProxyBroker proxy,
VM parent) |
| Modifier and Type | Method and Description |
|---|---|
VMSession |
get(UUID id)
Fetches VMSession object by id.
|
VMSession |
getById(String id)
Fetches VMSession object by id.
|
List<VMSession> |
list()
Lists VMSession objects.
|
getpublic VMSessions(HttpProxyBroker proxy, VM parent)
proxy - HttpProxyBrokerparent - VMpublic List<VMSession> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<Session,Sessions,VMSession>VMSessionorg.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 VMSession get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<Session,Sessions,VMSession>id - entity idVMSessionorg.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 VMSession getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<Session,Sessions,VMSession>id - entity idVMSessionorg.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