Examples of importCourseLearningGroups()


Examples of org.olat.course.groupsandrights.CourseGroupManager.importCourseLearningGroups()

  public boolean transactionFinishBeforeCreate() {
    // create group management
    CourseGroupManager cgm = course.getCourseEnvironment().getCourseGroupManager();
    cgm.createCourseGroupmanagement(course.getResourceableId().toString());
    // import groups
    cgm.importCourseLearningGroups(getExportDataDir(course));
    cgm.importCourseRightGroups(getExportDataDir(course));
    return true;
  }

  /**
 
View Full Code Here

Examples of org.olat.course.groupsandrights.CourseGroupManager.importCourseLearningGroups()

    course = openCourseEditSession(course.getResourceableId());
    // create group management
    CourseGroupManager cgm = course.getCourseEnvironment().getCourseGroupManager();
    cgm.createCourseGroupmanagement(course.getResourceableId().toString());
    // import groups
    cgm.importCourseLearningGroups(courseExportData);
    cgm.importCourseRightGroups(courseExportData);

    // create security group
    Manager securityManager = ManagerFactory.getManager();
    SecurityGroup ownerGroup = securityManager.createAndPersistSecurityGroup();
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.