public class ImageVmMapDAODbFacadeImpl extends BaseDAODbFacade implements ImageVmMapDAO
ImageVmMapDAODbFacadeImpl
provides an implementation of ImageVmMapDAO
that uses previously
developed code from DbFacade.dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER
Constructor and Description |
---|
ImageVmMapDAODbFacadeImpl() |
Modifier and Type | Method and Description |
---|---|
image_vm_map |
get(image_vm_map_id id)
Retrieves the entity with the given id.
|
List<image_vm_map> |
getAll()
Retrieves all the entities of type
T . |
image_vm_map |
getByImageId(Guid imageId) |
List<image_vm_map> |
getByVmId(Guid vmId) |
void |
remove(image_vm_map_id id)
Removes the entity with the given id from the underlying store of data.
|
void |
save(image_vm_map map)
Persist a new instance of the entity.
|
void |
update(image_vm_map map)
Update an existing entity with data from the given instance.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplate
public image_vm_map get(image_vm_map_id id)
ReadDao
get
in interface ReadDao<image_vm_map,image_vm_map_id>
id
- The id to look by (can't be null
).null
if not found.public List<image_vm_map> getAll()
ReadDao
T
.getAll
in interface ReadDao<image_vm_map,image_vm_map_id>
public image_vm_map getByImageId(Guid imageId)
getByImageId
in interface ImageVmMapDAO
public void save(image_vm_map map)
ModificationDao
save
in interface ModificationDao<image_vm_map,image_vm_map_id>
map
- The entity to persist (can't be null
).public void update(image_vm_map map)
ModificationDao
update
in interface ModificationDao<image_vm_map,image_vm_map_id>
map
- The entity instance, containing data to update (can't be null
).public List<image_vm_map> getByVmId(Guid vmId)
getByVmId
in interface ImageVmMapDAO
public void remove(image_vm_map_id id)
ModificationDao
remove
in interface ModificationDao<image_vm_map,image_vm_map_id>
id
- The id of the entity to remove (can't be null
).Copyright © 2012. All Rights Reserved.