Package it.eng.spagobi.tools.dataset.bo

Examples of it.eng.spagobi.tools.dataset.bo.IDataSet.loadData()


        throw new SpagoBIServiceException("Impossible to find a dataset whose label is [" + dataSetLabel + "]", t);
      }
      Assert.assertNotNull(dataSetConfig, "Impossible to find a dataset whose label is [" + dataSetLabel + "]");
     
      dataSet = DataSetFactory.getDataSet( dataSetConfig );
      dataSet.loadData();
      dataStore = dataSet.getDataStore();
      Assert.assertNotNull(dataStore, "The dataStore returned by loadData method of the class [" + dataSet.getClass().getName()+ "] cannot be null");
         
     
      dataSetJSON = null;
View Full Code Here


            logger.debug("Setting values [" + parameterValues + "] for parameter with name = [" + aDataSetParameterItem.getName() + "]");
            parameters.put(aDataSetParameterItem.getName(), parameterValues);
          }
        }
        dataSet.setParamsMap(parameters);
        dataSet.loadData();
        IDataStore dataStore = dataSet.getDataStore();
        dsMeta = (DataStoreMetaData) dataStore.getMetaData();

      }
View Full Code Here

          parametersFilled.put(par.getName(),par.getValues()[0]);
          logger.debug("Add parameter: "+par.getName()+"/"+par.getValues()[0]);
        }       
        dataSet.setParamsMap(parametersFilled);
      }
      dataSet.loadData();
      //toReturn = dataSet.getDataStore().toXml();
     
      JSONDataWriter writer= new JSONDataWriter();
      toReturn = (writer.write(dataSet.getDataStore())).toString();
     
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.