Package it.eng.spagobi.commons.metadata

Examples of it.eng.spagobi.commons.metadata.SbiDomains


    try {
      // reading exist engine
      SbiEngines engine = getAssociatedSbiEngine(exportedObj, sessionCurrDB, metaAss);
      obj.setSbiEngines(engine);
      // reading exist object type
      SbiDomains existDom = getAssociatedBIObjectType(exportedObj, sessionCurrDB, importer);
      if (existDom != null) {
        obj.setObjectType(existDom);
        obj.setObjectTypeCode(existDom.getValueCd());
      }
      // reading exist state
      SbiDomains existDomSt = getAssociatedBIObjectState(exportedObj, sessionCurrDB, importer);
      if (existDomSt != null) {
        obj.setState(existDomSt);
        obj.setStateCode(existDomSt.getValueCd());
      }
      // reading exist datasource
      SbiDataSource localDS = getAssociatedSbiDataSource(exportedObj, sessionCurrDB, metaAss);
      if (localDS != null) obj.setDataSource(localDS);
      // reading exist datasset
View Full Code Here


    logger.debug("IN");
    String stateCd = exportedObj.getStateCode();
    Map unique = new HashMap();
    unique.put("valuecd", stateCd);
    unique.put("domaincd", "STATE");
    SbiDomains existDomSt = (SbiDomains) importer.checkExistence(unique, sessionCurrDB, new SbiDomains());
    logger.debug("OUT");
    return existDomSt;
  }
View Full Code Here

    logger.debug("IN");
    String typeCd = exportedObj.getObjectTypeCode();
    Map unique = new HashMap();
    unique.put("valuecd", typeCd);
    unique.put("domaincd", "BIOBJ_TYPE");
    SbiDomains existDom = (SbiDomains) importer.checkExistence(unique, sessionCurrDB, new SbiDomains());
    logger.debug("OUT");
    return existDom;
  }
View Full Code Here

    logger.debug("IN");
    Map unique = new HashMap();
    unique.put("valuecd", domainCode);
    //could be STATE, KPI_CHART, MODALITY ecc
    unique.put("domaincd", typeDomain);
    SbiDomains existDomSt = (SbiDomains) importer.checkExistence(unique, sessionCurrDB, new SbiDomains());
    logger.debug("OUT");
    return existDomSt;
  }
View Full Code Here

      Session sessionCurrDB, ImporterMetadata importer,
      MetadataAssociations metaAss) throws EMFUserError {
    logger.debug("IN");
    try {
      // reading existing parameter type
      SbiDomains existDom = getAssociatedParameterType(exportedParameter, sessionCurrDB, metaAss, importer);
      if (existDom != null) {
        parameter.setParameterType(existDom);
        parameter.setParameterTypeCode(existDom.getValueCd());
      }
    } finally {
      logger.debug("OUT");
    }
View Full Code Here

        if (ds != null) {
          ((SbiQueryDataSet) dsnewHistory).setDataSource(ds);
        }
      }

      SbiDomains transformer = getAssociatedTransfomerType(exportedDataset, sessionCurrDB, metaAss, importer);
      if (transformer != null) {
        dsnewHistory.setTransformer(transformer);

      }
      SbiCommonInfo i = new SbiCommonInfo();
View Full Code Here

      SbiLov exportedLov, Session sessionCurrDB,
      ImporterMetadata importer, MetadataAssociations metaAss) throws EMFUserError {
    logger.debug("IN");
    try {
      // reading existing lov type
      SbiDomains existDom = getAssociatedLovType(exportedLov, sessionCurrDB, metaAss, importer);
      if (existDom != null) {
        lov.setInputType(existDom);
        lov.setInputTypeCd(existDom.getValueCd());
      }
    } finally {
      logger.debug("OUT");
    }
  }
View Full Code Here

      SbiDataSource exportedDatasource, Session sessionCurrDB,
      ImporterMetadata importer, MetadataAssociations metaAss) throws EMFUserError {
    logger.debug("IN");
    try {
      // reading existing lov type
      SbiDomains dialect = getAssociatedDialect(exportedDatasource, sessionCurrDB, metaAss, importer);
      if (dialect != null) {
        datasource.setDialect(dialect);
        datasource.setDialectDescr(dialect.getValueDs());
      }
    } finally {
      logger.debug("OUT");
    }
  }
View Full Code Here

    logger.debug("IN");
    String typeCd = exportedParameter.getParameterTypeCode();
    Map unique = new HashMap();
    unique.put("valuecd", typeCd);
    unique.put("domaincd", "PAR_TYPE");
    SbiDomains existDom = (SbiDomains) importer.checkExistence(unique, sessionCurrDB, new SbiDomains());
    logger.debug("OUT");
    return existDom;
  }
View Full Code Here

    logger.debug("IN");
    String valueCd = exportedDatasource.getDialect().getValueCd();
    Map unique = new HashMap();
    unique.put("valuecd", valueCd);
    unique.put("domaincd", "DIALECT_HIB");
    SbiDomains existDom = (SbiDomains) importer.checkExistence(unique, sessionCurrDB, new SbiDomains());
    logger.debug("OUT");
    return existDom;
  }
View Full Code Here

TOP

Related Classes of it.eng.spagobi.commons.metadata.SbiDomains

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.