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