Package org.pentaho.platform.api.engine.security.userroledao

Examples of org.pentaho.platform.api.engine.security.userroledao.NotFoundException


    userRoles.remove( user );
    for ( HashSet<IPentahoUser> users : roleMembers.values() ) {
      users.remove( user );
    }
    if ( !removed ) {
      throw new NotFoundException( user.getUsername() );
    }
  }
View Full Code Here


  public void setPassword( ITenant tenant, String userName, String password ) throws NotFoundException,
    UncategorizedUserRoleDaoException {
    IPentahoUser user = getUser( tenant, userName );
    if ( user == null ) {
      throw new NotFoundException( userName );
    }
    user.setPassword( password );
  }
View Full Code Here

  public void setRoleDescription( ITenant tenant, String roleName, String description ) throws NotFoundException,
    UncategorizedUserRoleDaoException {
    IPentahoRole role = getRole( tenant, roleName );
    if ( role == null ) {
      throw new NotFoundException( roleName );
    }
    role.setDescription( description );
  }
View Full Code Here

  public void setUserDescription( ITenant tenant, String userName, String description ) throws NotFoundException,
    UncategorizedUserRoleDaoException {
    IPentahoUser user = getUser( tenant, userName );
    if ( user == null ) {
      throw new NotFoundException( userName );
    }
    user.setDescription( description );
  }
View Full Code Here

TOP

Related Classes of org.pentaho.platform.api.engine.security.userroledao.NotFoundException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.