public class StorageServerConnectionLunMapDAODbFacadeImpl extends BaseDAODbFacade implements StorageServerConnectionLunMapDAO
StorageServerConnectionLunMapDAODbFacadeImpl
provides an implementation of LUN_storage_server_connection_map
based on code from DbFacade
.dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER
Constructor and Description |
---|
StorageServerConnectionLunMapDAODbFacadeImpl() |
Modifier and Type | Method and Description |
---|---|
LUN_storage_server_connection_map |
get(LUN_storage_server_connection_map_id id)
Retrieves the entity with the given id.
|
List<LUN_storage_server_connection_map> |
getAll()
Retrieves all the entities of type
T . |
List<LUN_storage_server_connection_map> |
getAll(String lunId)
get all maps for a given LUN id.
|
void |
remove(LUN_storage_server_connection_map_id id)
Removes the entity with the given id from the underlying store of data.
|
void |
save(LUN_storage_server_connection_map map)
Persist a new instance of the entity.
|
void |
update(LUN_storage_server_connection_map entity)
Update an existing entity with data from the given instance.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplate
public StorageServerConnectionLunMapDAODbFacadeImpl()
public LUN_storage_server_connection_map get(LUN_storage_server_connection_map_id id)
ReadDao
get
in interface ReadDao<LUN_storage_server_connection_map,LUN_storage_server_connection_map_id>
id
- The id to look by (can't be null
).null
if not found.public void save(LUN_storage_server_connection_map map)
ModificationDao
save
in interface ModificationDao<LUN_storage_server_connection_map,LUN_storage_server_connection_map_id>
map
- The entity to persist (can't be null
).public List<LUN_storage_server_connection_map> getAll(String lunId)
StorageServerConnectionLunMapDAO
getAll
in interface StorageServerConnectionLunMapDAO
lunId
- LUN id.public List<LUN_storage_server_connection_map> getAll()
ReadDao
T
.getAll
in interface ReadDao<LUN_storage_server_connection_map,LUN_storage_server_connection_map_id>
public void update(LUN_storage_server_connection_map entity)
ModificationDao
update
in interface ModificationDao<LUN_storage_server_connection_map,LUN_storage_server_connection_map_id>
entity
- The entity instance, containing data to update (can't be null
).public void remove(LUN_storage_server_connection_map_id id)
ModificationDao
remove
in interface ModificationDao<LUN_storage_server_connection_map,LUN_storage_server_connection_map_id>
id
- The id of the entity to remove (can't be null
).Copyright © 2012. All Rights Reserved.