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.
|
DataCenterQuota |
getById(String id)
Fetches DataCenterQuota object by id.
|
List<DataCenterQuota> |
list()
Lists DataCenterQuota objects.
|
getpublic 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>DataCenterQuotaorg.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 idDataCenterQuotaorg.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 getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<Quota,Quotas,DataCenterQuota>id - entity idDataCenterQuotaorg.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