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