public class Hib3RoleDAO extends Hib3DAO implements RoleDAO
Constructor and Description |
---|
Hib3RoleDAO() |
Modifier and Type | Method and Description |
---|---|
Role |
findById(String id,
boolean exceptionIfNotFound) |
Role |
findByName(String name,
boolean exceptionIfNotFound)
find an attribute def name by name
|
void |
saveOrUpdate(Role role)
save or update
|
evict, evictEntity, evictQueries, getConfiguration, getConfiguration, getSessionFactory, getSessionFactory, hibernateInitted, initHibernateIfNotInitted, initHibernateIfNotInitted, resourceNameFromClassName, session, session
public void saveOrUpdate(Role role)
saveOrUpdate
in interface RoleDAO
role
- public Role findByName(String name, boolean exceptionIfNotFound) throws GrouperDAOException, RoleNotFoundException
RoleDAO
findByName
in interface RoleDAO
name
- exceptionIfNotFound
- GrouperDAOException
RoleNotFoundException
GroupNotFoundException
Copyright © 2016 Internet2. All rights reserved.