public class DataCenterIscsiBondNetworkLabels extends CollectionDecorator<Label,Labels,DataCenterIscsiBondNetworkLabel>
DataCenterIscsiBondNetworkLabels providing relation and functional services
to Labels
.
Constructor and Description |
---|
DataCenterIscsiBondNetworkLabels(HttpProxyBroker proxy,
DataCenterIscsiBondNetwork parent) |
Modifier and Type | Method and Description |
---|---|
DataCenterIscsiBondNetworkLabel |
add(Label label)
Adds Label object.
|
DataCenterIscsiBondNetworkLabel |
get(UUID id)
Fetches DataCenterIscsiBondNetworkLabel object by id.
|
DataCenterIscsiBondNetworkLabel |
getById(String id)
Fetches DataCenterIscsiBondNetworkLabel object by id.
|
List<DataCenterIscsiBondNetworkLabel> |
list()
Lists DataCenterIscsiBondNetworkLabel objects.
|
List<DataCenterIscsiBondNetworkLabel> |
list(Integer max)
Lists DataCenterIscsiBondNetworkLabel objects.
|
get
public DataCenterIscsiBondNetworkLabels(HttpProxyBroker proxy, DataCenterIscsiBondNetwork parent)
proxy
- HttpProxyBrokerparent
- DataCenterIscsiBondNetworkpublic List<DataCenterIscsiBondNetworkLabel> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<Label,Labels,DataCenterIscsiBondNetworkLabel>
DataCenterIscsiBondNetworkLabel
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 DataCenterIscsiBondNetworkLabel get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<Label,Labels,DataCenterIscsiBondNetworkLabel>
id
- entity idDataCenterIscsiBondNetworkLabel
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 DataCenterIscsiBondNetworkLabel getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById
in class CollectionDecorator<Label,Labels,DataCenterIscsiBondNetworkLabel>
id
- entity idDataCenterIscsiBondNetworkLabel
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 DataCenterIscsiBondNetworkLabel add(Label label) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
label
- Label
DataCenterIscsiBondNetworkLabel
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<DataCenterIscsiBondNetworkLabel> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max
- [max results]
DataCenterIscsiBondNetworkLabel
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