Package org.olat.course

Examples of org.olat.course.Structure


   * @return a deep clone of the current (run) structure of this editortreemodel
   */
  public Structure createStructureForPreview() {
    CourseEditorTreeNode cetn = (CourseEditorTreeNode) getRootNode();
    CourseNode clone = buildUp(cetn);
    Structure structure = new Structure();
    structure.setRootNode(clone);
    return structure;
  }
View Full Code Here


          callback.failed(ureq);
          return;
        }
        // create empty run structure
        course = CourseFactory.openCourseEditSession(course.getResourceableId());
        Structure runStructure = course.getRunStructure();
        runStructure.getRootNode().removeAllChildren();     
       
        CourseFactory.saveCourse(course.getResourceableId());
        //CourseFactory.closeCourseEditSession(course.getResourceableId());
       
      } else if (event.equals(Event.CANCELLED_EVENT)) {
View Full Code Here

TOP

Related Classes of org.olat.course.Structure

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.