public class Capabilities extends CollectionDecorator<VersionCaps,Capabilities,VersionCaps>
Capabilities providing relation and functional services
to Capabilities
.
Constructor and Description |
---|
Capabilities(HttpProxyBroker proxy) |
Modifier and Type | Method and Description |
---|---|
VersionCaps |
get(UUID id)
Fetches VersionCaps object by id.
|
List<VersionCaps> |
list()
Lists VersionCaps objects.
|
get
public Capabilities(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic List<VersionCaps> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<VersionCaps,Capabilities,VersionCaps>
VersionCaps
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 VersionCaps get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<VersionCaps,Capabilities,VersionCaps>
id
- entity idVersionCaps
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