Class UserRoleDaoService


  • public class UserRoleDaoService
    extends Object
    • Constructor Detail

      • UserRoleDaoService

        public UserRoleDaoService()
    • Method Detail

      • getRolesForUser

        public RoleListWrapper getRolesForUser​(String user)
                                        throws org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
        Throws:
        org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
      • assignRolesToUser

        public void assignRolesToUser​(String userName,
                                      String roleNames)
                               throws org.pentaho.platform.api.engine.security.userroledao.NotFoundException,
                                      org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException,
                                      SecurityException
        Throws:
        org.pentaho.platform.api.engine.security.userroledao.NotFoundException
        org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
        SecurityException
      • removeRolesFromUser

        public void removeRolesFromUser​(String userName,
                                        String roleNames)
                                 throws org.pentaho.platform.api.engine.security.userroledao.NotFoundException,
                                        org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException,
                                        SecurityException
        Throws:
        org.pentaho.platform.api.engine.security.userroledao.NotFoundException
        org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
        SecurityException
      • getRoles

        public RoleListWrapper getRoles()
                                 throws org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
        Throws:
        org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
      • getRoleMembers

        public UserListWrapper getRoleMembers​(String roleName)
                                       throws org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException,
                                              SecurityException
        Throws:
        org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
        SecurityException
      • deleteUsers

        public void deleteUsers​(String userNames)
                         throws org.pentaho.platform.api.engine.security.userroledao.NotFoundException,
                                org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException,
                                SecurityException
        Throws:
        org.pentaho.platform.api.engine.security.userroledao.NotFoundException
        org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
        SecurityException
      • deleteRoles

        public void deleteRoles​(String roleNames)
                         throws SecurityException,
                                org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
        Throws:
        SecurityException
        org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
      • setSystemConfig

        protected void setSystemConfig​(org.pentaho.platform.api.engine.ISystemConfig systemConfig)