public class UserSSHPublicKeys extends CollectionDecorator<SSHPublicKey,SSHPublicKeys,UserSSHPublicKey>
UserSSHPublicKeys providing relation and functional services
to SSHPublicKeys.
| Constructor and Description |
|---|
UserSSHPublicKeys(HttpProxyBroker proxy,
User parent) |
| Modifier and Type | Method and Description |
|---|---|
UserSSHPublicKey |
add(SSHPublicKey sshpublickey)
Adds SSHPublicKey object.
|
UserSSHPublicKey |
add(SSHPublicKey sshpublickey,
String correlationId)
Adds SSHPublicKey object.
|
UserSSHPublicKey |
add(SSHPublicKey sshpublickey,
String correlationId,
String expect)
Adds SSHPublicKey object.
|
UserSSHPublicKey |
get(UUID id)
Fetches UserSSHPublicKey object by id.
|
UserSSHPublicKey |
getById(String id)
Fetches UserSSHPublicKey object by id.
|
List<UserSSHPublicKey> |
list()
Lists UserSSHPublicKey objects.
|
List<UserSSHPublicKey> |
list(Integer max)
Lists UserSSHPublicKey objects.
|
getpublic UserSSHPublicKeys(HttpProxyBroker proxy, User parent)
proxy - HttpProxyBrokerparent - Userpublic List<UserSSHPublicKey> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<SSHPublicKey,SSHPublicKeys,UserSSHPublicKey>UserSSHPublicKeyorg.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 UserSSHPublicKey get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<SSHPublicKey,SSHPublicKeys,UserSSHPublicKey>id - entity idUserSSHPublicKeyorg.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 UserSSHPublicKey getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<SSHPublicKey,SSHPublicKeys,UserSSHPublicKey>id - entity idUserSSHPublicKeyorg.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 UserSSHPublicKey add(SSHPublicKey sshpublickey) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
sshpublickey - SSHPublicKey
ssh_public_key.id|name
UserSSHPublicKeyorg.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 UserSSHPublicKey add(SSHPublicKey sshpublickey, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
sshpublickey - SSHPublicKey
ssh_public_key.id|name
correlationId -
[any string]
UserSSHPublicKeyorg.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 UserSSHPublicKey add(SSHPublicKey sshpublickey, String correlationId, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
sshpublickey - SSHPublicKey
ssh_public_key.id|name
correlationId -
[any string]
expect -
[201-created]
UserSSHPublicKeyorg.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<UserSSHPublicKey> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max -
[max results]
UserSSHPublicKeyorg.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