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