Package it.eng.spagobi.commons.dao

Examples of it.eng.spagobi.commons.dao.RoleDAOHibImpl


    }


    Set hibParUseDets = hibParUse.getSbiParuseDets();
    SbiParuseDet aSbiParuseDet = null;
    RoleDAOHibImpl roleDAOHibImpl = new RoleDAOHibImpl();
    Role tmpRole = null;

    List roleList = new ArrayList();
    for (Iterator itParUseDet = hibParUseDets.iterator(); itParUseDet.hasNext();){
      aSbiParuseDet = (SbiParuseDet)itParUseDet.next();
      tmpRole = roleDAOHibImpl.toRole(aSbiParuseDet.getId().getSbiExtRoles());
      roleList.add(tmpRole);
    }

    aParameterUse.setAssociatedChecks(checkList);
    aParameterUse.setAssociatedRoles(roleList);
View Full Code Here


    while(iterRoles.hasNext()) {      // for each role retrieved in database
      SbiMenuRole hibMenuRole = (SbiMenuRole)iterRoles.next();

      SbiExtRoles hibRole =hibMenuRole.getSbiExtRoles();

      RoleDAOHibImpl roleDAO =  new RoleDAOHibImpl();
      Role role = roleDAO.toRole(hibRole);

      rolesList.add(role);
    }

    Role[] rolesD = new Role[rolesList.size()];
View Full Code Here

      while(iterRoles.hasNext()) {
        SbiFuncRole hibfuncrole = (SbiFuncRole)iterRoles.next();
        SbiExtRoles hibRole = hibfuncrole.getId().getRole();
        SbiDomains hibPermission = hibfuncrole.getId().getState();
        logger.debug( "hibfuncrole.getId().getRole().getName()="+hibRole.getName() );
        RoleDAOHibImpl roleDAO =  new RoleDAOHibImpl();
        Role role = roleDAO.toRole(hibRole);

        String state = hibPermission.getValueCd();
        if(state.equals(SpagoBIConstants.PERMISSION_ON_FOLDER_TO_DEVELOP)) {
          devRolesList.add(role);
        } else if(state.equals(SpagoBIConstants.PERMISSION_ON_FOLDER_TO_TEST)) {
View Full Code Here

TOP

Related Classes of it.eng.spagobi.commons.dao.RoleDAOHibImpl

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.