public class SchedulingPolicyFilters extends CollectionDecorator<Filter,Filters,SchedulingPolicyFilter>
SchedulingPolicyFilters providing relation and functional services
to Filters.
| Constructor and Description |
|---|
SchedulingPolicyFilters(HttpProxyBroker proxy,
SchedulingPolicy parent) |
| Modifier and Type | Method and Description |
|---|---|
SchedulingPolicyFilter |
add(Filter filter)
Adds Filter object.
|
SchedulingPolicyFilter |
get(UUID id)
Fetches SchedulingPolicyFilter object by id.
|
SchedulingPolicyFilter |
getById(String id)
Fetches SchedulingPolicyFilter object by id.
|
List<SchedulingPolicyFilter> |
list()
Lists SchedulingPolicyFilter objects.
|
getpublic SchedulingPolicyFilters(HttpProxyBroker proxy, SchedulingPolicy parent)
proxy - HttpProxyBrokerparent - SchedulingPolicypublic List<SchedulingPolicyFilter> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<Filter,Filters,SchedulingPolicyFilter>SchedulingPolicyFilterorg.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 SchedulingPolicyFilter get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<Filter,Filters,SchedulingPolicyFilter>id - entity idSchedulingPolicyFilterorg.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 SchedulingPolicyFilter getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<Filter,Filters,SchedulingPolicyFilter>id - entity idSchedulingPolicyFilterorg.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 SchedulingPolicyFilter add(Filter filter) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
filter - FilterSchedulingPolicyFilterorg.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