public class DataCenterClusterGlusterHooks extends CollectionDecorator<GlusterHook,GlusterHooks,DataCenterClusterGlusterHook>
DataCenterClusterGlusterHooks providing relation and functional services
to GlusterHooks
.
Constructor and Description |
---|
DataCenterClusterGlusterHooks(HttpProxyBroker proxy,
DataCenterCluster parent) |
Modifier and Type | Method and Description |
---|---|
DataCenterClusterGlusterHook |
get(UUID id)
Fetches DataCenterClusterGlusterHook object by id.
|
List<DataCenterClusterGlusterHook> |
list()
Lists DataCenterClusterGlusterHook objects.
|
get
public DataCenterClusterGlusterHooks(HttpProxyBroker proxy, DataCenterCluster parent)
proxy
- HttpProxyBrokerparent
- DataCenterClusterpublic List<DataCenterClusterGlusterHook> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<GlusterHook,GlusterHooks,DataCenterClusterGlusterHook>
DataCenterClusterGlusterHook
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 DataCenterClusterGlusterHook get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<GlusterHook,GlusterHooks,DataCenterClusterGlusterHook>
id
- entity idDataCenterClusterGlusterHook
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