Package it.eng.spagobi.commons.dao

Examples of it.eng.spagobi.commons.dao.IDomainDAO.loadDomainById()


      sbds.setHibDialectClass(dialectHB.getValueCd());
      logger.info("read DS: Label="+sbds.getLabel()+" Jndi="+sbds.getJndiName()+" HIB="+sbds.getHibDialectClass());
     
      //gets dialect informations
      IDomainDAO domaindao = DAOFactory.getDomainDAO();
      Domain doDialect = domaindao.loadDomainById(ds.getDialectId());
      sbds.setHibDialectClass(doDialect.getValueCd());
      sbds.setHibDialectName(doDialect.getValueName());
      sbds.setMultiSchema(ds.getMultiSchema());
      sbds.setSchemaAttribute(ds.getSchemaAttribute());
View Full Code Here


      sbds.setMultiSchema(ds.getMultiSchema());
      sbds.setSchemaAttribute(ds.getSchemaAttribute());
     
    //gets dialect informations
      IDomainDAO domaindao = DAOFactory.getDomainDAO();
      Domain doDialect = domaindao.loadDomainById(ds.getDialectId());
      sbds.setHibDialectClass(doDialect.getValueCd());
      sbds.setHibDialectName(doDialect.getValueName());
     
  } catch (Exception e) {
      logger.error("The data source is not correctly returned", e);
View Full Code Here

    toReturn.setLabel(sbiUdpValue.getSbiUdp().getLabel()); //denormilized
    toReturn.setName(sbiUdpValue.getSbiUdp().getName())//denormilized   

    try{
      IDomainDAO aDomainDAO = DAOFactory.getDomainDAO();
      Domain familyDomain = aDomainDAO.loadDomainById(sbiUdpValue.getSbiUdp().getFamilyId());
      toReturn.setFamily(familyDomain.getValueCd()); //denormilized
    } catch (Exception he) {
      logger.error(he);
    }
View Full Code Here

    Integer typeId = sbiUdpValue.getSbiUdp().getTypeId();
    if(typeId != null){
      try{
        IDomainDAO aDomainDAO = DAOFactory.getDomainDAO();
        Domain typeDomain = aDomainDAO.loadDomainById(typeId);
        toReturn.setTypeLabel(typeDomain.getValueCd()); //denormilized
      } catch (Exception he) {
        logger.error(he);
      }
    }
View Full Code Here

    sbds.setUser(ds.getUser());
    sbds.setPassword(ds.getPwd());
    sbds.setDriver(ds.getDriver());
    //gets dialect informations
      IDomainDAO domaindao = DAOFactory.getDomainDAO();
      Domain doDialect = domaindao.loadDomainById(ds.getDialectId());
      sbds.setHibDialectClass(doDialect.getValueCd());
      sbds.setHibDialectName(doDialect.getValueName());
      sbds.setMultiSchema(ds.getMultiSchema());
      sbds.setSchemaAttribute(ds.getSchemaAttribute());
     
View Full Code Here

             
               Exporters exp = (Exporters) iterator.next();
               Integer domainId=exp.getDomainId();
              
               IDomainDAO domainDao=DAOFactory.getDomainDAO();
               Domain domain=domainDao.loadDomainById(domainId);
               if(domain!=null){
                 String value_cd=domain.getValueCd();
                 String urlExporter=null
                 if (value_cd!=null){
                   prova.put(value_cd);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.