Examples of loadDomainById()


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

    try {
      Domain domain = null;
      Config config = (Config)o;
      DomainDAOHibImpl domainImpl = new DomainDAOHibImpl();
      if(config.getValueTypeId() != null){
        domain = domainImpl.loadDomainById(config.getValueTypeId());
      }
      result = new JSONObject();
      result.put(CONFIG_CODE, config.getLabel()); // BIOBJ_TYPE
      result.put(CONFIG_NAME, config.getName()); // BI Object types
     
View Full Code Here

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

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

      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

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

    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

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

    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

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

    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

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

             
               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.