Package it.eng.spagobi.tools.dataset.dao

Examples of it.eng.spagobi.tools.dataset.dao.IDataSetDAO.insertDataSet()


            attributesResponseSuccessJSON.put("success", true);
            attributesResponseSuccessJSON.put("responseText", "Operation succeded");
            attributesResponseSuccessJSON.put("id", id);
            writeBackToClient( new JSONSuccess(attributesResponseSuccessJSON) );
          }else{
            Integer dsID = dsDao.insertDataSet(ds);
            GuiGenericDataSet dsSaved = dsDao.loadDataSetById(dsID);
            logger.debug("New Resource inserted");
            JSONObject attributesResponseSuccessJSON = new JSONObject();
            attributesResponseSuccessJSON.put("success", true);
            attributesResponseSuccessJSON.put("responseText", "Operation succeded");
View Full Code Here


      logger.debug("Looking for dataset with id = " + dataSetId);
      if (dataSetId == null){
        logger.warn("DataSet with identifier [" + dataSetId + "] not found. Create it!");   
        IDataSetDAO dataSetDao = DAOFactory.getDataSetDAO();
        dataSetDao.setUserProfile(profile);
        toReturn = dataSetDao.insertDataSet(sbiDataset);
        if (toReturn != null) {
          logger.info("DataSet saved with id = " + toReturn);
        } else {
          logger.error("DataSet not modified!!");
        }
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.