public class VdsDynamicDAODbFacadeImpl extends BaseDAODbFacade implements VdsDynamicDAO
dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER| Constructor and Description |
|---|
VdsDynamicDAODbFacadeImpl() |
| Modifier and Type | Method and Description |
|---|---|
VdsDynamic |
get(Guid id)
Retrieves the entity with the given id.
|
List<VdsDynamic> |
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(VdsDynamic vds)
Persist a new instance of the entity.
|
void |
update(VdsDynamic vds)
Update an existing entity with data from the given instance.
|
void |
updateStatus(Guid id,
VDSStatus status)
Update the entity's status field only.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplatepublic VdsDynamic get(Guid id)
ReadDaoget in interface ReadDao<VdsDynamic,Guid>id - The id to look by (can't be null).null if not found.public void save(VdsDynamic vds)
ModificationDaosave in interface ModificationDao<VdsDynamic,Guid>vds - The entity to persist (can't be null).public void update(VdsDynamic vds)
ModificationDaoupdate in interface ModificationDao<VdsDynamic,Guid>vds - The entity instance, containing data to update (can't be null).public void remove(Guid id)
ModificationDaoremove in interface ModificationDao<VdsDynamic,Guid>id - The id of the entity to remove (can't be null).public List<VdsDynamic> getAll()
ReadDaoT.getAll in interface ReadDao<VdsDynamic,Guid>public void updateStatus(Guid id, VDSStatus status)
StatusAwareDaoupdateStatus in interface StatusAwareDao<Guid,VDSStatus>id - The id of the entity for which to update the status field.status - The status to update to.Copyright © 2012. All Rights Reserved.