public interface RoleGroupMapDAO extends DAO
RoleGroupMapDOA
defines a type for performing CRUD operations on instances of Map
.Modifier and Type | Method and Description |
---|---|
List<RoleGroupMap> |
getAllForRole(Guid id)
Retrieves the list of mappings for the given role id.
|
RoleGroupMap |
getByActionGroupAndRole(ActionGroup group,
Guid id)
Retrieves the mapping for the given group and role id.
|
void |
remove(ActionGroup group,
Guid id)
Removes the specified map.
|
void |
save(RoleGroupMap map)
Saves the specified map.
|
RoleGroupMap getByActionGroupAndRole(ActionGroup group, Guid id)
group
- the action groupid
- the role idList<RoleGroupMap> getAllForRole(Guid id)
id
- the role idvoid save(RoleGroupMap map)
map
- the mapvoid remove(ActionGroup group, Guid id)
group
- the action groupid
- the role idCopyright © 2012. All Rights Reserved.