Package org.olat.note

Examples of org.olat.note.Note


          if (log.isDebug()) log.info("Migrate " + allIdentityNotes.size() + " Notes for Identity: " + identity.getName());
          if (!allIdentityNotes.isEmpty()){
            usercounter++;
            for (Iterator<Note> iterator2 = allIdentityNotes.iterator(); iterator2.hasNext();) {
              try{
                Note note = iterator2.next();
                String parsedText = note.getNoteText();
                parsedText = migrateStringSavely(parsedText);
                note.setNoteText(parsedText);
                noteMgr.saveNote(note);
                counter ++;
                DBFactory.getInstance().intermediateCommit();
              } catch (Exception e) {
                log.error("Error during Migration: "+e, e);
View Full Code Here

TOP

Related Classes of org.olat.note.Note

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.