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, setTemplate
public LUNs get(String id)
LunDAO
public List<LUNs> getAllForStorageServerConnection(String id)
LunDAO
getAllForStorageServerConnection
in interface LunDAO
id
- the storage server connection idpublic List<LUNs> getAllForVolumeGroup(String id)
LunDAO
getAllForVolumeGroup
in interface LunDAO
id
- the VG idpublic void save(LUNs lun)
LunDAO
Copyright © 2012. All Rights Reserved.