public class DomainGroups extends CollectionDecorator<Group,Groups,DomainGroup>
DomainGroups providing relation and functional services
to Groups
.
Constructor and Description |
---|
DomainGroups(HttpProxyBroker proxy,
Domain parent) |
Modifier and Type | Method and Description |
---|---|
DomainGroup |
get(UUID id)
Fetches DomainGroup object by id.
|
List<DomainGroup> |
list()
Lists DomainGroup objects.
|
List<DomainGroup> |
list(String query,
Boolean caseSensitive,
Integer max)
Lists DomainGroup objects.
|
get
public DomainGroups(HttpProxyBroker proxy, Domain parent)
proxy
- HttpProxyBrokerparent
- Domainpublic List<DomainGroup> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<Group,Groups,DomainGroup>
DomainGroup
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 DomainGroup get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<Group,Groups,DomainGroup>
id
- entity idDomainGroup
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<DomainGroup> list(String query, Boolean caseSensitive, Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
query
- [search query]
caseSensitive
- [true|false]
max
- [max results]
DomainGroup
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