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