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 |
add(Filter filter,
String correlationId)
Adds Filter object.
|
SchedulingPolicyFilter |
add(Filter filter,
String correlationId,
String expect)
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.
|
List<SchedulingPolicyFilter> |
list(Boolean caseSensitive)
Lists SchedulingPolicyFilter objects.
|
List<SchedulingPolicyFilter> |
list(Boolean caseSensitive,
Integer max)
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 - Filter
filter.scheduling_policy_unit.id
[filter.scheduling_policy_unit.position]
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 add(Filter filter, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
filter - Filter
filter.scheduling_policy_unit.id
[filter.scheduling_policy_unit.position]
correlationId -
[any string]
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 add(Filter filter, String correlationId, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
filter - Filter
filter.scheduling_policy_unit.id
[filter.scheduling_policy_unit.position]
correlationId -
[any string]
expect -
[201-created]
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 List<SchedulingPolicyFilter> list(Boolean caseSensitive) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
caseSensitive -
[true|false]
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 List<SchedulingPolicyFilter> list(Boolean caseSensitive, Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
caseSensitive -
[true|false]
max -
[max results]
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.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0