Examples of modifyBIObject()


Examples of it.eng.spagobi.analiticalmodel.document.dao.IBIObjectDAO.modifyBIObject()

      BIObject biobjexist = objectDAO.loadBIObjectByLabel(label);
      if(biobjexist==null){
        objectDAO.insertBIObject(newbiobj, objTemp);
      } else {
        newbiobj.setId(biobjexist.getId());
        objectDAO.modifyBIObject(newbiobj, objTemp);
      }
    } catch (Throwable t) {
      logger.error("Error while saving schedule result as new document", t );
    }finally{
      logger.debug("OUT");
View Full Code Here

Examples of it.eng.spagobi.analiticalmodel.document.dao.IBIObjectDAO.modifyBIObject()

      ObjTemplate objTemp = new ObjTemplate();
      objTemp.setBiobjId(biobj.getId());
      objTemp.setActive(new Boolean(true));
      objTemp.setContent(content.getBytes());
      objTemp.setName(templateName);
      objdao.modifyBIObject(biobj, objTemp);
  } catch (NumberFormatException e) {
      logger.error("NumberFormatException",e);
      return "KO";
  } catch (EMFUserError e) {
      logger.error("EMFUserError",e);
View Full Code Here

Examples of it.eng.spagobi.analiticalmodel.document.dao.IBIObjectDAO.modifyBIObject()

        throw new Exception("BIObject with label " + biObject.getLabel() + " has no functionalities associated!!!");
      }
      if (!funcs.contains(idFunction)){
        funcs.add(idFunction);
        biObject.setFunctionalities(funcs);
        biObjectDAOHibImpl.modifyBIObject(biObject);
        logger.debug("Object modified");
        retCode = OK;
      }
      else {
        logger.warn("the object is already associated to the functionality");
View Full Code Here

Examples of it.eng.spagobi.analiticalmodel.document.dao.IBIObjectDAO.modifyBIObject()

      };
      template = generateTemplateZipFile(files, pathTempFolder);
      ObjTemplate objTemplate = generateObjTemplate(template);
      IBIObjectDAO objDAO = DAOFactory.getBIObjectDAO();
      BIObject dossier = objDAO.loadBIObjectById(dossierId);
      objDAO.modifyBIObject(dossier, objTemplate);
      template.delete();
    } catch (Exception e) {
      logger.error(e);
    } finally {
      if (template != null) template.delete();
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.