public class DataCenterQuotas extends CollectionDecorator<Quota,Quotas,DataCenterQuota>
DataCenterQuotas providing relation and functional services
to Quotas
.
Constructor and Description |
---|
DataCenterQuotas(HttpProxyBroker proxy,
DataCenter parent) |
Modifier and Type | Method and Description |
---|---|
DataCenterQuota |
get(UUID id)
Fetches DataCenterQuota object by id.
|
List<DataCenterQuota> |
list()
Lists DataCenterQuota objects.
|
get
public DataCenterQuotas(HttpProxyBroker proxy, DataCenter parent)
proxy
- HttpProxyBrokerparent
- DataCenterpublic List<DataCenterQuota> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<Quota,Quotas,DataCenterQuota>
DataCenterQuota
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 DataCenterQuota get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<Quota,Quotas,DataCenterQuota>
id
- entity idDataCenterQuota
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