public class HostNICLabels extends CollectionDecorator<Label,Labels,HostNICLabel>
HostNICLabels providing relation and functional services
to Labels.
| Constructor and Description |
|---|
HostNICLabels(HttpProxyBroker proxy,
HostNIC parent) |
| Modifier and Type | Method and Description |
|---|---|
HostNICLabel |
add(Label label)
Adds Label object.
|
HostNICLabel |
add(Label label,
String expect)
Adds Label object.
|
HostNICLabel |
add(Label label,
String expect,
String correlationId)
Adds Label object.
|
HostNICLabel |
get(UUID id)
Fetches HostNICLabel object by id.
|
HostNICLabel |
getById(String id)
Fetches HostNICLabel object by id.
|
List<HostNICLabel> |
list()
Lists HostNICLabel objects.
|
getpublic HostNICLabels(HttpProxyBroker proxy, HostNIC parent)
proxy - HttpProxyBrokerparent - HostNICpublic List<HostNICLabel> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<Label,Labels,HostNICLabel>HostNICLabelorg.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 HostNICLabel get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<Label,Labels,HostNICLabel>id - entity idHostNICLabelorg.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 HostNICLabel getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<Label,Labels,HostNICLabel>id - entity idHostNICLabelorg.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 HostNICLabel add(Label label) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
label - Label
label.id
HostNICLabelorg.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 HostNICLabel add(Label label, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
label - Label
label.id
expect -
[201-created]
HostNICLabelorg.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 HostNICLabel add(Label label, String expect, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
label - Label
label.id
expect -
[201-created]
correlationId -
[any string]
HostNICLabelorg.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