Examples of modifyDataSet()


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

      if(ds!=null){
        String id = getAttributeAsString(DataSetConstants.ID);
        try {
          if(id != null && !id.equals("") && !id.equals("0")){             
            ds.setDsId(Integer.valueOf(id));
            dsDao.modifyDataSet(ds);
            logger.debug("Resource "+id+" updated");
            JSONObject attributesResponseSuccessJSON = new JSONObject();
            attributesResponseSuccessJSON.put("success", true);
            attributesResponseSuccessJSON.put("responseText", "Operation succeded");
            attributesResponseSuccessJSON.put("id", id);
View Full Code Here

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

        }
      }else{
        logger.warn("DataSet with identifier [" + dataSetId + "] found. Modified it!");     
        IDataSetDAO datasetDAO = DAOFactory.getDataSetDAO();
        datasetDAO.setUserProfile(profile);
        datasetDAO.modifyDataSet(sbiDataset);
      }   
     
    } catch(Exception e) {
      logger.error("Error while saving dataset", e);
    }
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.