public class VdsStaticDAODbFacadeImpl extends BaseDAODbFacade implements VdsStaticDAO
VdsDAODbFacadeImpl provides an implementation of VdsDAO that uses previously written code from
DbFacade.dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER| Constructor and Description |
|---|
VdsStaticDAODbFacadeImpl() |
| Modifier and Type | Method and Description |
|---|---|
static String |
decryptPassword(String password) |
static String |
encryptPassword(String password) |
VdsStatic |
get(Guid id)
Retrieves the entity with the given id.
|
VdsStatic |
get(String name)
Finds the instance with the specified name.
|
List<VdsStatic> |
getAll()
Retrieves all the entities of type
T. |
List<VdsStatic> |
getAllForHost(String host)
Retrieves all instances for the given host.
|
List<VdsStatic> |
getAllForVdsGroup(Guid vdsGroup)
Retrieves all instances associated with the specified VDS group.
|
List<VdsStatic> |
getAllWithIpAddress(String address)
Finds all instances with the given ip address.
|
void |
remove(Guid id)
Removes the entity with the given id from the underlying store of data.
|
void |
save(VdsStatic vds)
Persist a new instance of the entity.
|
void |
update(VdsStatic vds)
Update an existing entity with data from the given instance.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplatepublic VdsStatic get(Guid id)
ReadDaopublic VdsStatic get(String name)
VdsStaticDAOget in interface VdsStaticDAOname - the namepublic List<VdsStatic> getAllForHost(String host)
VdsStaticDAOgetAllForHost in interface VdsStaticDAOhost - the hostpublic List<VdsStatic> getAllWithIpAddress(String address)
VdsStaticDAOgetAllWithIpAddress in interface VdsStaticDAOaddress - the ip addresspublic List<VdsStatic> getAllForVdsGroup(Guid vdsGroup)
VdsStaticDAOgetAllForVdsGroup in interface VdsStaticDAOvdsGroup - the group idpublic void save(VdsStatic vds)
ModificationDaosave in interface ModificationDao<VdsStatic,Guid>vds - The entity to persist (can't be null).public void update(VdsStatic vds)
ModificationDaoupdate in interface ModificationDao<VdsStatic,Guid>vds - The entity instance, containing data to update (can't be null).public void remove(Guid id)
ModificationDaoremove in interface ModificationDao<VdsStatic,Guid>id - The id of the entity to remove (can't be null).public List<VdsStatic> getAll()
ReadDaoT.Copyright © 2012. All Rights Reserved.