public interface StorageServerConnectionDAO extends DAO
StorageServerConnectionDAO
defines a type that performs CRUD operations on instances of
storage_server_connections
.Modifier and Type | Method and Description |
---|---|
storage_server_connections |
get(String id)
Retrieves the connection with the specified id.
|
List<storage_server_connections> |
getAll()
Retrieves all connections.
|
List<storage_server_connections> |
getAllForConnection(storage_server_connections connection)
Retrieves all connections for the specified connection.
|
List<storage_server_connections> |
getAllForStorage(String storage)
Retrieves all connections for the specified storage.
|
List<storage_server_connections> |
getAllForStoragePool(Guid pool)
Retrieves all connections for the specified storage pool.
|
List<storage_server_connections> |
getAllForVolumeGroup(String group)
Retrieves all connections for the specified volume group.
|
storage_server_connections |
getForIqn(String iqn)
Retrieves the connection for the given iqn.
|
void |
remove(String id)
Removes the connection with the specified id.
|
void |
save(storage_server_connections connection)
Saves the specified connection.
|
void |
update(storage_server_connections connection)
Updates the specified connection.
|
storage_server_connections get(String id)
id
- the connection idstorage_server_connections getForIqn(String iqn)
iqn
- the iqnList<storage_server_connections> getAll()
List<storage_server_connections> getAllForStoragePool(Guid pool)
pool
- the storage poolList<storage_server_connections> getAllForVolumeGroup(String group)
group
- the volume groupList<storage_server_connections> getAllForStorage(String storage)
storage
- the storageList<storage_server_connections> getAllForConnection(storage_server_connections connection)
connection
- the connectionvoid save(storage_server_connections connection)
connection
- the connectionvoid update(storage_server_connections connection)
connection
- the connectionvoid remove(String id)
id
- the connection idCopyright © 2012. All Rights Reserved.