Interface RoleDAO
- All Superinterfaces:
GrouperDAO
- All Known Implementing Classes:
Hib3RoleDAO
role data access methods
-
Method Summary
Modifier and TypeMethodDescriptionfindByName
(String name, boolean exceptionIfNotFound) find an attribute def name by namevoid
saveOrUpdate
(Role role) insert or update a role object
-
Method Details
-
saveOrUpdate
insert or update a role object- Parameters:
role
-
-
findById
- Parameters:
id
-exceptionIfNotFound
-- Returns:
- the role or null if not there
-
findByName
Role findByName(String name, boolean exceptionIfNotFound) throws GrouperDAOException, RoleNotFoundException find an attribute def name by name- Parameters:
name
-exceptionIfNotFound
-- Returns:
- name
- Throws:
GrouperDAOException
RoleNotFoundException
-