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