public class DataCenterIscsiBonds extends CollectionDecorator<IscsiBond,IscsiBonds,DataCenterIscsiBond>
DataCenterIscsiBonds providing relation and functional services
to IscsiBonds
.
Constructor and Description |
---|
DataCenterIscsiBonds(HttpProxyBroker proxy,
DataCenter parent) |
Modifier and Type | Method and Description |
---|---|
DataCenterIscsiBond |
add(IscsiBond iscsibond)
Adds IscsiBond object.
|
DataCenterIscsiBond |
add(IscsiBond iscsibond,
String expect)
Adds IscsiBond object.
|
DataCenterIscsiBond |
add(IscsiBond iscsibond,
String expect,
String correlationId)
Adds IscsiBond object.
|
DataCenterIscsiBond |
get(UUID id)
Fetches DataCenterIscsiBond object by id.
|
DataCenterIscsiBond |
getById(String id)
Fetches DataCenterIscsiBond object by id.
|
List<DataCenterIscsiBond> |
list()
Lists DataCenterIscsiBond objects.
|
List<DataCenterIscsiBond> |
list(Integer max)
Lists DataCenterIscsiBond objects.
|
get
public DataCenterIscsiBonds(HttpProxyBroker proxy, DataCenter parent)
proxy
- HttpProxyBrokerparent
- DataCenterpublic List<DataCenterIscsiBond> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<IscsiBond,IscsiBonds,DataCenterIscsiBond>
DataCenterIscsiBond
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 DataCenterIscsiBond get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<IscsiBond,IscsiBonds,DataCenterIscsiBond>
id
- entity idDataCenterIscsiBond
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 DataCenterIscsiBond getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById
in class CollectionDecorator<IscsiBond,IscsiBonds,DataCenterIscsiBond>
id
- entity idDataCenterIscsiBond
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 DataCenterIscsiBond add(IscsiBond iscsibond) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
iscsibond
- IscsiBond
iscsibond.name
DataCenterIscsiBond
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 DataCenterIscsiBond add(IscsiBond iscsibond, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
iscsibond
- IscsiBond
iscsibond.name
expect
- [201-created]
DataCenterIscsiBond
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 DataCenterIscsiBond add(IscsiBond iscsibond, String expect, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
iscsibond
- IscsiBond
iscsibond.name
expect
- [201-created]
correlationId
- [any string]
DataCenterIscsiBond
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<DataCenterIscsiBond> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max
- [max results]
DataCenterIscsiBond
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