Package org.olat.ims.qti

Examples of org.olat.ims.qti.QTIChangeLogMessage


      VFSLeaf file = (VFSLeaf) iter.next();
      filName = file.getName();
      String[] parts = filName.split("\\.");
      msg = FileUtils.load(file.getInputStream(), "utf-8");
      try {
        log[i] = new QTIChangeLogMessage(msg, parts[1].equals("all"), formatter.parse(parts[0]).getTime());
        i++;
      } catch (ParseException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      }
View Full Code Here


      cmcExit = null;
     
      if (event == Event.CANCELLED_EVENT) {
        // nothing to do, back to editor     
      } else {
        QTIChangeLogMessage clm = new QTIChangeLogMessage(changeLog, chngMsgFrom.hasInformLearners());
        qtiPackage.commitChangelog(clm);
        StringBuilder traceMsg = new StringBuilder(chngMsgFrom.hasInformLearners() ? "Visible for ALL \n" : "Visible for GROUP only \n");
        Tracing.logAudit(traceMsg.append(changeLog).toString(), QTIEditorMainController.class);
        // save, remove locks and tmp files
        saveAndExit(ureq);
View Full Code Here

TOP

Related Classes of org.olat.ims.qti.QTIChangeLogMessage

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.