public class VdsSpmIdMapDAODbFacadeImpl extends BaseDAODbFacade implements VdsSpmIdMapDAO
VdsSpmIdMapDAODbFacadeImpl provides an implementation of VdsSpmIdMapDAO that uses previously written code from
DbFacade.dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER| Constructor and Description |
|---|
VdsSpmIdMapDAODbFacadeImpl() |
| Modifier and Type | Method and Description |
|---|---|
vds_spm_id_map |
get(Guid vdsId)
Retrieves the entity with the given id.
|
vds_spm_id_map |
get(Guid storagePoolId,
int spmId)
Gets the map for a given storage pool and vds id
|
List<vds_spm_id_map> |
getAll()
Retrieves all the entities of type
T. |
List<vds_spm_id_map> |
getAll(Guid storagePoolId)
Gets all maps for a given storage pool.
|
void |
remove(Guid vdsId)
Removes the entity with the given id from the underlying store of data.
|
void |
save(vds_spm_id_map vds_spm_id_map)
Persist a new instance of the entity.
|
void |
update(vds_spm_id_map entity)
Update an existing entity with data from the given instance.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplatepublic vds_spm_id_map get(Guid vdsId)
ReadDaoget in interface ReadDao<vds_spm_id_map,Guid>vdsId - The id to look by (can't be null).null if not found.public void save(vds_spm_id_map vds_spm_id_map)
ModificationDaosave in interface ModificationDao<vds_spm_id_map,Guid>vds_spm_id_map - The entity to persist (can't be null).public void remove(Guid vdsId)
ModificationDaoremove in interface ModificationDao<vds_spm_id_map,Guid>vdsId - The id of the entity to remove (can't be null).public List<vds_spm_id_map> getAll(Guid storagePoolId)
VdsSpmIdMapDAOgetAll in interface VdsSpmIdMapDAOstoragePoolId - storage pool id.public vds_spm_id_map get(Guid storagePoolId, int spmId)
VdsSpmIdMapDAOget in interface VdsSpmIdMapDAOstoragePoolId - storage pool idspmId - vds spm idpublic List<vds_spm_id_map> getAll()
ReadDaoT.getAll in interface ReadDao<vds_spm_id_map,Guid>public void update(vds_spm_id_map entity)
ModificationDaoupdate in interface ModificationDao<vds_spm_id_map,Guid>entity - The entity instance, containing data to update (can't be null).Copyright © 2012. All Rights Reserved.