R
- entity typeQ
- entity collection typeZ
- decorator typepublic abstract class CollectionDecorator<R extends BaseResource,Q extends BaseResources,Z extends R> extends Decorator
Constructor and Description |
---|
CollectionDecorator(HttpProxyBroker proxy,
String urlCollectionName)
CollectionDecorator
|
public CollectionDecorator(HttpProxyBroker proxy, String urlCollectionName)
proxy
- HttpProxy proxyurlCollectionName
- collection name in URI contextpublic abstract List<Z> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
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 abstract Z get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
id
- entity idorg.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 Z get(String name) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
name
- entity nameorg.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