Package it.eng.spagobi.analiticalmodel.functionalitytree.dao

Examples of it.eng.spagobi.analiticalmodel.functionalitytree.dao.LowFunctionalityDAOHibImpl


        logger.error("Document id not specified!!");
        throw new Exception("Document id not specified!!");
      }
     
      logger.debug("Access to the database");
      LowFunctionalityDAOHibImpl lowFunctionalityDAOHibImpl = new LowFunctionalityDAOHibImpl();
      boolean exists = lowFunctionalityDAOHibImpl.checkUserRootExists(userId);
      LowFunctionality lf = null;
      if (exists) {
        logger.debug("Personal Folder found")
      }
      else {
        logger.debug("Personal Folder not found, now will be created")
        UserUtilities.createUserFunctionalityRoot(profile);
        logger.debug("Personal Folder created")
        if(!(lowFunctionalityDAOHibImpl.checkUserRootExists(userId)))
        throw new Exception("Personal Folder doesn't exists or could not be created");

      }
      lf = lowFunctionalityDAOHibImpl.loadLowFunctionalityByPath("/" + userId, false);
     
      Integer idFunction = lf.getId();
      if (idFunction == null) {
        logger.error("No function associated");
        throw new Exception("No function associated");
View Full Code Here

TOP

Related Classes of it.eng.spagobi.analiticalmodel.functionalitytree.dao.LowFunctionalityDAOHibImpl

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.