public class RoleDAODbFacadeImpl extends BaseDAODbFacade implements RoleDAO
dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER| Constructor and Description |
|---|
RoleDAODbFacadeImpl() |
| Modifier and Type | Method and Description |
|---|---|
roles |
get(Guid id)
Retrieves the entity with the given id.
|
List<roles> |
getAll()
Retrieves all the entities of type
T. |
List<roles> |
getAllForAdElement(Guid id)
Retrieves all roles for the specified Ad element.
|
roles |
getByName(String name)
Retrieves the role with the specified name.
|
List<roles> |
getForAdElement(Guid id)
This seems to be a redundant method, but the stored procedure is different from the one for
RoleDAO.getAllForAdElement(Guid). |
void |
remove(Guid id)
Removes the entity with the given id from the underlying store of data.
|
void |
save(roles role)
Persist a new instance of the entity.
|
void |
update(roles role)
Update an existing entity with data from the given instance.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplatepublic roles get(Guid id)
ReadDaopublic roles getByName(String name)
RoleDAOpublic List<roles> getAll()
ReadDaoT.public List<roles> getAllForAdElement(Guid id)
RoleDAOgetAllForAdElement in interface RoleDAOid - the Ad elementpublic List<roles> getForAdElement(Guid id)
RoleDAORoleDAO.getAllForAdElement(Guid).getForAdElement in interface RoleDAOid - the Ad elementpublic void save(roles role)
ModificationDaosave in interface ModificationDao<roles,Guid>role - The entity to persist (can't be null).public void update(roles role)
ModificationDaoupdate in interface ModificationDao<roles,Guid>role - The entity instance, containing data to update (can't be null).public void remove(Guid id)
ModificationDaoremove in interface ModificationDao<roles,Guid>id - The id of the entity to remove (can't be null).Copyright © 2012. All Rights Reserved.