public class StorageDomainDynamicDAODbFacadeImpl extends BaseDAODbFacade implements StorageDomainDynamicDAO
dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER
Constructor and Description |
---|
StorageDomainDynamicDAODbFacadeImpl() |
Modifier and Type | Method and Description |
---|---|
storage_domain_dynamic |
get(Guid id)
Retrieves the entity with the given id.
|
List<storage_domain_dynamic> |
getAll()
Retrieves all the entities of type
T . |
void |
remove(Guid id)
Removes the entity with the given id from the underlying store of data.
|
void |
save(storage_domain_dynamic domain)
Persist a new instance of the entity.
|
void |
update(storage_domain_dynamic domain)
Update an existing entity with data from the given instance.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplate
public storage_domain_dynamic get(Guid id)
ReadDao
get
in interface ReadDao<storage_domain_dynamic,Guid>
id
- The id to look by (can't be null
).null
if not found.public void save(storage_domain_dynamic domain)
ModificationDao
save
in interface ModificationDao<storage_domain_dynamic,Guid>
domain
- The entity to persist (can't be null
).public void update(storage_domain_dynamic domain)
ModificationDao
update
in interface ModificationDao<storage_domain_dynamic,Guid>
domain
- The entity instance, containing data to update (can't be null
).public void remove(Guid id)
ModificationDao
remove
in interface ModificationDao<storage_domain_dynamic,Guid>
id
- The id of the entity to remove (can't be null
).public List<storage_domain_dynamic> getAll()
ReadDao
T
.getAll
in interface ReadDao<storage_domain_dynamic,Guid>
Copyright © 2012. All Rights Reserved.