Package it.eng.spagobi.engines.geo.datamart.provider

Examples of it.eng.spagobi.engines.geo.datamart.provider.IDataMartProvider


   * @return the i dataset provider
   *
   * @throws GeoEngineException the geo engine exception
   */
  public static IDataMartProvider buildDataMartProvider(SourceBean template, Map env) throws GeoEngineException {
    IDataMartProvider dataMartProvider = null;
    SourceBean confSB = null;
    String className = null;
   
    logger.debug("IN");
    confSB = (SourceBean)template.getAttribute(GeoEngineConstants.DATAMART_PROVIDER_TAG);
View Full Code Here


   */
  public void service(SourceBean serviceRequest, SourceBean serviceResponse) {
   
    String featureValue = null;
    SourceBean resultSB = null;
    IDataMartProvider datamartprovicer;
   
    logger.debug("IN");
   
    try{
      super.service(serviceRequest, serviceResponse);
     
      Assert.assertNotNull(getGeoEngineInstance(), "GeoEngineInstance cannot be null");
     
      featureValue = getAttributeAsString(SELECTED_FEATURE_ID);
      logger.debug("Parameter [" + SELECTED_FEATURE_ID + "] is equals to [" + featureValue + "]");
      Assert.assertNotNull(featureValue, "Parameter [" + SELECTED_FEATURE_ID + "] cannot be null");
     
      datamartprovicer =  getGeoEngineInstance().getDataMartProvider();
      Assert.assertNotNull(datamartprovicer, "Impossible to get datamart");
     
      resultSB = datamartprovicer.getDataDetails(featureValue);
      logger.debug("ResultSet: \n" + resultSB);
         
      setAttribute(RESULT_SET, resultSB);
      setAttribute(SELECTED_FEATURE_DESC, featureValue);
    } catch(Throwable t) {
View Full Code Here

TOP

Related Classes of it.eng.spagobi.engines.geo.datamart.provider.IDataMartProvider

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.