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