public class StorageServerConnectionDAODbFacadeImpl extends BaseDAODbFacade implements StorageServerConnectionDAO
StorageServerConnectionDAODbFacadeImpl
provides an implementation of StorageServerConnectionDAO
based on code from DbFacade
.dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER
Constructor and Description |
---|
StorageServerConnectionDAODbFacadeImpl() |
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.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplate
public StorageServerConnectionDAODbFacadeImpl()
public storage_server_connections get(String id)
StorageServerConnectionDAO
get
in interface StorageServerConnectionDAO
id
- the connection idpublic storage_server_connections getForIqn(String iqn)
StorageServerConnectionDAO
getForIqn
in interface StorageServerConnectionDAO
iqn
- the iqnpublic List<storage_server_connections> getAll()
StorageServerConnectionDAO
getAll
in interface StorageServerConnectionDAO
public List<storage_server_connections> getAllForStoragePool(Guid pool)
StorageServerConnectionDAO
getAllForStoragePool
in interface StorageServerConnectionDAO
pool
- the storage poolpublic List<storage_server_connections> getAllForVolumeGroup(String group)
StorageServerConnectionDAO
getAllForVolumeGroup
in interface StorageServerConnectionDAO
group
- the volume grouppublic List<storage_server_connections> getAllForStorage(String storage)
StorageServerConnectionDAO
getAllForStorage
in interface StorageServerConnectionDAO
storage
- the storagepublic List<storage_server_connections> getAllForConnection(storage_server_connections connection)
StorageServerConnectionDAO
getAllForConnection
in interface StorageServerConnectionDAO
connection
- the connectionpublic void save(storage_server_connections connection)
StorageServerConnectionDAO
save
in interface StorageServerConnectionDAO
connection
- the connectionpublic void update(storage_server_connections connection)
StorageServerConnectionDAO
update
in interface StorageServerConnectionDAO
connection
- the connectionpublic void remove(String id)
StorageServerConnectionDAO
remove
in interface StorageServerConnectionDAO
id
- the connection idCopyright © 2012. All Rights Reserved.