@Override
 public synchronized String getSelectedCourseNoteToHTML(String courseSelected)
     throws MyDAOException {
   String result = "";
   result += "<p><a href=\"#\">" + courseSelected + "</a><br></p>";
   for (Note note : getSelectedCourseNotesList(courseSelected)) {
     if (note.getCourseName().equals(courseSelected)) {
       result +=
           "\""
               + note.getContent()
               + "\"<br>by <a href=\"#\">"
               + note.getCreatedBy()
               + "</a>@ "
               + note.getTimestamp()
               + "<br><br>";
     }
   }
   return result;
 }
 @Override
 public synchronized void addNote(String courseSelected, Note note, NoteDAO noteDAO)
     throws MyDAOException {
   noteDAO.createNote(note.getContent(), courseSelected, note.getCreatedBy(), note.getTimestamp());
 }