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