public class LunDAODbFacadeImpl extends BaseDAODbFacade implements LunDAO
LunDAODbFacadeImpl provides a concrete implementation of LunDAO. The original code was
refactored from the DbFacade class.dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER| Constructor and Description |
|---|
LunDAODbFacadeImpl() |
| Modifier and Type | Method and Description |
|---|---|
LUNs |
get(String id)
Gets the LUN with the specified id.
|
List<LUNs> |
getAll()
Retrieves all LUNs.
|
List<LUNs> |
getAllForStorageServerConnection(String id)
Retrieves the list of LUNs for the given storage server connection.
|
List<LUNs> |
getAllForVolumeGroup(String id)
Retrieves the list of LUNs for the given VG id.
|
void |
remove(String id)
Removes the specified LUN.
|
void |
save(LUNs lun)
Saves the supplied LUN instance.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplatepublic LUNs get(String id)
LunDAOpublic List<LUNs> getAllForStorageServerConnection(String id)
LunDAOgetAllForStorageServerConnection in interface LunDAOid - the storage server connection idpublic List<LUNs> getAllForVolumeGroup(String id)
LunDAOgetAllForVolumeGroup in interface LunDAOid - the VG idpublic void save(LUNs lun)
LunDAOCopyright © 2012. All Rights Reserved.