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