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