public class OpenStackImageProviders extends CollectionDecorator<OpenStackImageProvider,OpenStackImageProviders,OpenStackImageProvider>
OpenStackImageProviders providing relation and functional services
Constructor and Description |
---|
OpenStackImageProviders(HttpProxyBroker proxy) |
Modifier and Type | Method and Description |
---|---|
OpenStackImageProvider |
add(OpenStackImageProvider openstackimageprovider)
Adds OpenStackImageProvider object.
|
OpenStackImageProvider |
add(OpenStackImageProvider openstackimageprovider,
String correlationId)
Adds OpenStackImageProvider object.
|
OpenStackImageProvider |
add(OpenStackImageProvider openstackimageprovider,
String correlationId,
String expect)
Adds OpenStackImageProvider object.
|
OpenStackImageProvider |
get(UUID id)
Fetches OpenStackImageProvider object by id.
|
OpenStackImageProvider |
getById(String id)
Fetches OpenStackImageProvider object by id.
|
List<OpenStackImageProvider> |
list()
Lists OpenStackImageProvider objects.
|
List<OpenStackImageProvider> |
list(Integer max)
Lists OpenStackImageProvider objects.
|
get
public OpenStackImageProviders(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic List<OpenStackImageProvider> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<OpenStackImageProvider,OpenStackImageProviders,OpenStackImageProvider>
OpenStackImageProvider
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 OpenStackImageProvider get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<OpenStackImageProvider,OpenStackImageProviders,OpenStackImageProvider>
id
- entity idOpenStackImageProvider
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 OpenStackImageProvider getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById
in class CollectionDecorator<OpenStackImageProvider,OpenStackImageProviders,OpenStackImageProvider>
id
- entity idOpenStackImageProvider
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 OpenStackImageProvider add(OpenStackImageProvider openstackimageprovider) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
openstackimageprovider
- OpenStackImageProvider
openstack_image_provider.name [openstack_image_provider.description] [openstack_image_provider.url] [openstack_image_provider.requires_authentication] [openstack_image_provider.username] [openstack_image_provider.password] [openstack_image_provider.authentication_url] [openstack_image_provider.properties.property] [openstack_image_provider.tenant_name]
OpenStackImageProvider
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 OpenStackImageProvider add(OpenStackImageProvider openstackimageprovider, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
openstackimageprovider
- OpenStackImageProvider
openstack_image_provider.name [openstack_image_provider.description] [openstack_image_provider.url] [openstack_image_provider.requires_authentication] [openstack_image_provider.username] [openstack_image_provider.password] [openstack_image_provider.authentication_url] [openstack_image_provider.properties.property] [openstack_image_provider.tenant_name]
correlationId
- [any string]
OpenStackImageProvider
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 OpenStackImageProvider add(OpenStackImageProvider openstackimageprovider, String correlationId, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
openstackimageprovider
- OpenStackImageProvider
openstack_image_provider.name [openstack_image_provider.description] [openstack_image_provider.url] [openstack_image_provider.requires_authentication] [openstack_image_provider.username] [openstack_image_provider.password] [openstack_image_provider.authentication_url] [openstack_image_provider.properties.property] [openstack_image_provider.tenant_name]
correlationId
- [any string]
expect
- [201-created]
OpenStackImageProvider
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<OpenStackImageProvider> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max
- [max results]
OpenStackImageProvider
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