Examples of toSpagoBiDataSet()


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

        if (dataSet == null) {
        logger.warn("The dataSet with id " + obj.getDataSetId() + " deoes not exist on database.");
        return null;
        }
       
        datasetConfig = dataSet.toSpagoBiDataSet();
 
    } catch (Exception e) {
        logger.error("The dataset is not correctly returned", e)
    } finally {
      logger.debug("OUT");
View Full Code Here

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

   
      logger.debug("IN");

    try {
      ds = DAOFactory.getDataSetDAO().loadActiveDataSetByLabel( label )
      datasetConfig = ds.toSpagoBiDataSet();
    } catch (EMFUserError e) {
      e.printStackTrace();
    } finally {
      logger.debug("OUT");
    }
View Full Code Here

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

 
        Iterator it = datasets.iterator();
        tmpList = new ArrayList();
        while (it.hasNext()) {
          IDataSet dataset = (IDataSet) it.next();
        SpagoBiDataSet sbds = dataset.toSpagoBiDataSet();         
        tmpList.add(sbds);
        }
       
        dataSetsConfig = (SpagoBiDataSet[])tmpList.toArray(new SpagoBiDataSet[tmpList.size()]);
     
View Full Code Here

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

      IDataSet dataSet = DAOFactory.getDataSetDAO().loadActiveIDataSetByID(dataSetId);
      if (dataSet == null) {
        logger.warn("DataSet with identifier [" + dataSetId + "] not existing.");
        return null;
      }
      toReturn = new SDKObjectsConverter().fromSpagoBiDataSetToSDKDataSet(dataSet.toSpagoBiDataSet());
    } catch(NotAllowedOperationException e) {
      throw e;
    } catch(Exception e) {
      logger.error("Error while retrieving SDKEngine list", e);
      logger.debug("Returning null");
View Full Code Here

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

      super.checkUserPermissionForFunctionality(SpagoBIConstants.DATASET_MANAGEMENT, "User cannot see datasets congifuration.");
      List dataSetList = DAOFactory.getDataSetDAO().loadAllActiveDataSets();
      toReturn = new SDKDataSet[dataSetList.size()];
      for (int i = 0; i < dataSetList.size(); i++) {
        IDataSet dataSet = (IDataSet) dataSetList.get(i);
        SDKDataSet sdkDataSet = new SDKObjectsConverter().fromSpagoBiDataSetToSDKDataSet(dataSet.toSpagoBiDataSet());
        toReturn[i] = sdkDataSet;
      }
    } catch(NotAllowedOperationException e) {
      throw e;
    } catch(Exception e) {
View Full Code Here

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

        logger.warn("Data Set IS NULL. There are problems reading DataSet informations");
        return null;
    }
    SpagoBiDataSet biDataset = null;
    try {
      biDataset= dataset.toSpagoBiDataSet();
    } catch (Exception e) {
      logger.error("Cannot retrive SpagoBi DataSet", e);
    }
    logger.debug("OUT");
    return biDataset;
View Full Code Here

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

      IDataSet dataSet = DAOFactory.getDataSetDAO().loadActiveIDataSetByID(dataSetId);
      if (dataSet == null) {
        logger.warn("DataSet with identifier [" + dataSetId + "] not existing.");
        return null;
      }
      toReturn = new SDKObjectsConverter().fromSpagoBiDataSetToSDKDataSet(dataSet.toSpagoBiDataSet());
    } catch(NotAllowedOperationException e) {
      throw e;
    } catch(Exception e) {
      logger.error("Error while retrieving SDKEngine list", e);
      logger.debug("Returning null");
View Full Code Here

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

      super.checkUserPermissionForFunctionality(SpagoBIConstants.DATASET_MANAGEMENT, "User cannot see datasets congifuration.");
      List dataSetList = DAOFactory.getDataSetDAO().loadAllActiveDataSets();
      toReturn = new SDKDataSet[dataSetList.size()];
      for (int i = 0; i < dataSetList.size(); i++) {
        IDataSet dataSet = (IDataSet) dataSetList.get(i);
        SDKDataSet sdkDataSet = new SDKObjectsConverter().fromSpagoBiDataSetToSDKDataSet(dataSet.toSpagoBiDataSet());
        toReturn[i] = sdkDataSet;
      }
    } catch(NotAllowedOperationException e) {
      throw e;
    } catch(Exception e) {
View Full Code Here

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

      if(dsMeta==null
      {
        logger.warn("error in parsing, recover metadata executing again the dataset! ");
        Map parameters = new HashMap();
        List parametersToFill = null;
        String parametersXML=dataSet.toSpagoBiDataSet().getParameters();
        if(parametersXML!=null && !((parametersXML.trim()).equals(""))){
          DataSetParametersList dsParam=new DataSetParametersList(parametersXML);
          parametersToFill=dsParam.getItems();       
        }
        if (parametersToFill != null && parametersToFill.size() > 0) {
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.