Package org.olat.modules.scorm.server.servermodels

Examples of org.olat.modules.scorm.server.servermodels.CMI_DataModel.saveDocument()


        File scoFile = settings.getScoDataModelFile(id);
        scoFile.getParentFile().mkdirs();
        scoModel.setDocument(theModel);
        scoModel.setFile(scoFile);
        try {
          scoModel.saveDocument();
        } catch (IOException ex) {
          throw new OLATRuntimeException(this.getClass(), "Could not save sco settings.", ex);         
        }
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.