public class VdcOptionDAODbFacadeImpl extends BaseDAODbFacade implements VdcOptionDAO
VdcOptionDAODbFacadeImpl provides a concrete implementation of VdcOptionDAO using code
refactored from DbFacade.dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER| Constructor and Description |
|---|
VdcOptionDAODbFacadeImpl() |
| Modifier and Type | Method and Description |
|---|---|
VdcOption |
get(int id)
Retrieves the option with the specified id.
|
List<VdcOption> |
getAll()
Retrieves all options.
|
VdcOption |
getByNameAndVersion(String name,
String version)
Retrieves the option with the specified name.
|
void |
remove(int id)
Removes the option with the specified id.
|
void |
save(VdcOption option)
Saves the supplied option.
|
void |
update(VdcOption option)
Updates the specified option.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplatepublic VdcOption get(int id)
VdcOptionDAOget in interface VdcOptionDAOid - the option idpublic VdcOption getByNameAndVersion(String name, String version)
VdcOptionDAOgetByNameAndVersion in interface VdcOptionDAOname - the option nameversion - the versionpublic List<VdcOption> getAll()
VdcOptionDAOgetAll in interface VdcOptionDAOpublic void save(VdcOption option)
VdcOptionDAOsave in interface VdcOptionDAOoption - the optionpublic void update(VdcOption option)
VdcOptionDAOupdate in interface VdcOptionDAOoption - the optionpublic void remove(int id)
VdcOptionDAOremove in interface VdcOptionDAOid - the optionCopyright © 2012. All Rights Reserved.