public class HostStorageConnectionExtensions extends CollectionDecorator<StorageConnectionExtension,StorageConnectionExtensions,HostStorageConnectionExtension>
HostStorageConnectionExtensions providing relation and functional services
Constructor and Description |
---|
HostStorageConnectionExtensions(HttpProxyBroker proxy,
Host parent) |
Modifier and Type | Method and Description |
---|---|
HostStorageConnectionExtension |
add(StorageConnectionExtension storageconnectionextension)
Adds StorageConnectionExtension object.
|
HostStorageConnectionExtension |
add(StorageConnectionExtension storageconnectionextension,
String correlationId)
Adds StorageConnectionExtension object.
|
HostStorageConnectionExtension |
add(StorageConnectionExtension storageconnectionextension,
String correlationId,
String expect)
Adds StorageConnectionExtension object.
|
HostStorageConnectionExtension |
get(UUID id)
Fetches HostStorageConnectionExtension object by id.
|
HostStorageConnectionExtension |
getById(String id)
Fetches HostStorageConnectionExtension object by id.
|
List<HostStorageConnectionExtension> |
list()
Lists HostStorageConnectionExtension objects.
|
List<HostStorageConnectionExtension> |
list(Integer max)
Lists HostStorageConnectionExtension objects.
|
get
public HostStorageConnectionExtensions(HttpProxyBroker proxy, Host parent)
proxy
- HttpProxyBrokerparent
- Hostpublic List<HostStorageConnectionExtension> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<StorageConnectionExtension,StorageConnectionExtensions,HostStorageConnectionExtension>
HostStorageConnectionExtension
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 HostStorageConnectionExtension get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<StorageConnectionExtension,StorageConnectionExtensions,HostStorageConnectionExtension>
id
- entity idHostStorageConnectionExtension
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 HostStorageConnectionExtension getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById
in class CollectionDecorator<StorageConnectionExtension,StorageConnectionExtensions,HostStorageConnectionExtension>
id
- entity idHostStorageConnectionExtension
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 HostStorageConnectionExtension add(StorageConnectionExtension storageconnectionextension) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
storageconnectionextension
- StorageConnectionExtension
storageconnectionextension.target storageconnectionextension.username storageconnectionextension.password
HostStorageConnectionExtension
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 HostStorageConnectionExtension add(StorageConnectionExtension storageconnectionextension, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
storageconnectionextension
- StorageConnectionExtension
storageconnectionextension.target storageconnectionextension.username storageconnectionextension.password
correlationId
- [any string]
HostStorageConnectionExtension
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 HostStorageConnectionExtension add(StorageConnectionExtension storageconnectionextension, String correlationId, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
storageconnectionextension
- StorageConnectionExtension
storageconnectionextension.target storageconnectionextension.username storageconnectionextension.password
correlationId
- [any string]
expect
- [201-created]
HostStorageConnectionExtension
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<HostStorageConnectionExtension> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max
- [max results]
HostStorageConnectionExtension
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