public class UserTags extends CollectionDecorator<Tag,Tags,UserTag>
UserTags providing relation and functional services
to Tags.
| Constructor and Description |
|---|
UserTags(HttpProxyBroker proxy,
User parent) |
| Modifier and Type | Method and Description |
|---|---|
UserTag |
add(Tag tag)
Adds Tag object.
|
UserTag |
add(Tag tag,
String expect)
Adds Tag object.
|
UserTag |
add(Tag tag,
String expect,
String correlationId)
Adds Tag object.
|
UserTag |
get(UUID id)
Fetches UserTag object by id.
|
UserTag |
getById(String id)
Fetches UserTag object by id.
|
List<UserTag> |
list()
Lists UserTag objects.
|
List<UserTag> |
list(Integer max)
Lists UserTag objects.
|
getpublic UserTags(HttpProxyBroker proxy, User parent)
proxy - HttpProxyBrokerparent - Userpublic List<UserTag> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<Tag,Tags,UserTag>UserTagorg.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 UserTag get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<Tag,Tags,UserTag>id - entity idUserTagorg.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 UserTag getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<Tag,Tags,UserTag>id - entity idUserTagorg.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<UserTag> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max -
[max results]
UserTagorg.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 UserTag add(Tag tag) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
tag - Tag
tag.id|name
UserTagorg.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 UserTag add(Tag tag, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
tag - Tag
tag.id|name
expect -
[201-created]
UserTagorg.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 UserTag add(Tag tag, String expect, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
tag - Tag
tag.id|name
expect -
[201-created]
correlationId -
[any string]
UserTagorg.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