org.pentaho.platform.engine.security.userroledao
Interface IUserRoleDao
- All Known Implementing Classes:
- HibernateUserRoleDao, UserRoleDaoTransactionDecorator
public interface IUserRoleDao
Contract for data access objects that read and write users and roles.
- Author:
- mlowery
createUser
void createUser(IPentahoUser newUser)
throws AlreadyExistsException,
UncategorizedUserRoleDaoException
- Throws:
AlreadyExistsException
UncategorizedUserRoleDaoException
deleteUser
void deleteUser(IPentahoUser user)
throws NotFoundException,
UncategorizedUserRoleDaoException
- Throws:
NotFoundException
UncategorizedUserRoleDaoException
getUser
IPentahoUser getUser(String name)
throws UncategorizedUserRoleDaoException
- Throws:
UncategorizedUserRoleDaoException
getUsers
List<IPentahoUser> getUsers()
throws UncategorizedUserRoleDaoException
- Throws:
UncategorizedUserRoleDaoException
updateUser
void updateUser(IPentahoUser user)
throws NotFoundException,
UncategorizedUserRoleDaoException
- Throws:
NotFoundException
UncategorizedUserRoleDaoException
createRole
void createRole(IPentahoRole newRole)
throws AlreadyExistsException,
UncategorizedUserRoleDaoException
- Throws:
AlreadyExistsException
UncategorizedUserRoleDaoException
deleteRole
void deleteRole(IPentahoRole role)
throws NotFoundException,
UncategorizedUserRoleDaoException
- Throws:
NotFoundException
UncategorizedUserRoleDaoException
getRole
IPentahoRole getRole(String name)
throws UncategorizedUserRoleDaoException
- Throws:
UncategorizedUserRoleDaoException
getRoles
List<IPentahoRole> getRoles()
throws UncategorizedUserRoleDaoException
- Throws:
UncategorizedUserRoleDaoException
updateRole
void updateRole(IPentahoRole role)
throws NotFoundException,
UncategorizedUserRoleDaoException
- Throws:
NotFoundException
UncategorizedUserRoleDaoException