public class ExternalHostProviderExternalComputeResources extends CollectionDecorator<ExternalComputeResource,ExternalComputeResources,ExternalHostProviderExternalComputeResource>
ExternalHostProviderExternalComputeResources providing relation and functional services
Constructor and Description |
---|
ExternalHostProviderExternalComputeResources(HttpProxyBroker proxy,
ExternalHostProvider parent) |
Modifier and Type | Method and Description |
---|---|
ExternalHostProviderExternalComputeResource |
get(UUID id)
Fetches ExternalHostProviderExternalComputeResource object by id.
|
ExternalHostProviderExternalComputeResource |
getById(String id)
Fetches ExternalHostProviderExternalComputeResource object by id.
|
List<ExternalHostProviderExternalComputeResource> |
list()
Lists ExternalHostProviderExternalComputeResource objects.
|
List<ExternalHostProviderExternalComputeResource> |
list(Integer max)
Lists ExternalHostProviderExternalComputeResource objects.
|
get
public ExternalHostProviderExternalComputeResources(HttpProxyBroker proxy, ExternalHostProvider parent)
proxy
- HttpProxyBrokerparent
- ExternalHostProviderpublic List<ExternalHostProviderExternalComputeResource> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<ExternalComputeResource,ExternalComputeResources,ExternalHostProviderExternalComputeResource>
ExternalHostProviderExternalComputeResource
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 ExternalHostProviderExternalComputeResource get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<ExternalComputeResource,ExternalComputeResources,ExternalHostProviderExternalComputeResource>
id
- entity idExternalHostProviderExternalComputeResource
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 ExternalHostProviderExternalComputeResource getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById
in class CollectionDecorator<ExternalComputeResource,ExternalComputeResources,ExternalHostProviderExternalComputeResource>
id
- entity idExternalHostProviderExternalComputeResource
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<ExternalHostProviderExternalComputeResource> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max
- [max results]
ExternalHostProviderExternalComputeResource
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