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