public class DataCenterQuotaQuotaStorageLimits extends CollectionDecorator<QuotaStorageLimit,QuotaStorageLimits,DataCenterQuotaQuotaStorageLimit>
DataCenterQuotaQuotaStorageLimits providing relation and functional services
Constructor and Description |
---|
DataCenterQuotaQuotaStorageLimits(HttpProxyBroker proxy,
DataCenterQuota parent) |
Modifier and Type | Method and Description |
---|---|
DataCenterQuotaQuotaStorageLimit |
add(QuotaStorageLimit quotastoragelimit)
Adds QuotaStorageLimit object.
|
DataCenterQuotaQuotaStorageLimit |
get(UUID id)
Fetches DataCenterQuotaQuotaStorageLimit object by id.
|
DataCenterQuotaQuotaStorageLimit |
getById(String id)
Fetches DataCenterQuotaQuotaStorageLimit object by id.
|
List<DataCenterQuotaQuotaStorageLimit> |
list()
Lists DataCenterQuotaQuotaStorageLimit objects.
|
List<DataCenterQuotaQuotaStorageLimit> |
list(Integer max)
Lists DataCenterQuotaQuotaStorageLimit objects.
|
get
public DataCenterQuotaQuotaStorageLimits(HttpProxyBroker proxy, DataCenterQuota parent)
proxy
- HttpProxyBrokerparent
- DataCenterQuotapublic List<DataCenterQuotaQuotaStorageLimit> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<QuotaStorageLimit,QuotaStorageLimits,DataCenterQuotaQuotaStorageLimit>
DataCenterQuotaQuotaStorageLimit
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 DataCenterQuotaQuotaStorageLimit get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<QuotaStorageLimit,QuotaStorageLimits,DataCenterQuotaQuotaStorageLimit>
id
- entity idDataCenterQuotaQuotaStorageLimit
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 DataCenterQuotaQuotaStorageLimit getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById
in class CollectionDecorator<QuotaStorageLimit,QuotaStorageLimits,DataCenterQuotaQuotaStorageLimit>
id
- entity idDataCenterQuotaQuotaStorageLimit
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 DataCenterQuotaQuotaStorageLimit add(QuotaStorageLimit quotastoragelimit) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
quotastoragelimit
- QuotaStorageLimit
DataCenterQuotaQuotaStorageLimit
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<DataCenterQuotaQuotaStorageLimit> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max
- [max results]
DataCenterQuotaQuotaStorageLimit
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