Package it.eng.spagobi.analiticalmodel.document.bo

Examples of it.eng.spagobi.analiticalmodel.document.bo.ObjNote


          BIObject biobject = objectDAO.loadBIObjectById(new Integer(objectid));
          EMFErrorHandler errorHandler = getErrorHandler();
         
          IObjNoteDAO objNoteDAO = DAOFactory.getObjNoteDAO();
          objNoteDAO.setUserProfile(profile);
          ObjNote objNote = objNoteDAO.getExecutionNotes(new Integer(objectid), execIdentifier);
          if(objNote!=null) {
            objNote.setContent(notes.getBytes());
            objNote.setExecReq(execIdentifier);
              if(errorHandler.isOKBySeverity(EMFErrorSeverity.ERROR)) {
                objNoteDAO.modifyExecutionNotes(objNote);
                }
           
          } else {
            objNote = new ObjNote();
            objNote.setContent(notes.getBytes());
            objNote.setExecReq(execIdentifier);
            if(errorHandler.isOKBySeverity(EMFErrorSeverity.ERROR)) {
              objNoteDAO.saveExecutionNotes(biobject.getId(), objNote);
                }         
          }
      } catch (Exception e) {
View Full Code Here

TOP

Related Classes of it.eng.spagobi.analiticalmodel.document.bo.ObjNote

Copyright © 2018 www.massapicom. 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.