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) {