public class HostStorages extends CollectionDecorator<Storage,HostStorage,HostStorage>
HostStorages providing relation and functional services
to HostStorage.
| Constructor and Description |
|---|
HostStorages(HttpProxyBroker proxy,
Host parent) |
| Modifier and Type | Method and Description |
|---|---|
HostStorage |
get(UUID id)
Fetches HostStorage object by id.
|
HostStorage |
getById(String id)
Fetches HostStorage object by id.
|
List<HostStorage> |
list()
Lists HostStorage objects.
|
List<HostStorage> |
list(Integer max)
Lists HostStorage objects.
|
getpublic HostStorages(HttpProxyBroker proxy, Host parent)
proxy - HttpProxyBrokerparent - Hostpublic List<HostStorage> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<Storage,HostStorage,HostStorage>HostStorageorg.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 HostStorage get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<Storage,HostStorage,HostStorage>id - entity idHostStorageorg.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 HostStorage getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<Storage,HostStorage,HostStorage>id - entity idHostStorageorg.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<HostStorage> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max -
[max results]
HostStorageorg.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