public interface RoleDAO extends GenericDao<roles,Guid>
RoleDAO defines a type for performing CRUD operations on instances of roles.| Modifier and Type | Method and Description |
|---|---|
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
getAllForAdElement(Guid). |
remove, save, updateroles getByName(String name)
name - the role nameList<roles> getAllForAdElement(Guid id)
id - the Ad elementList<roles> getForAdElement(Guid id)
getAllForAdElement(Guid).id - the Ad elementCopyright © 2012. All Rights Reserved.