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