Examples of CourseGroupManagementMainController


Examples of org.olat.course.groupsandrights.ui.CourseGroupManagementMainController

       
      } else throw new OLATSecurityException("wanted to activate editor, but no according right");

    } else if (cmd.equals("groupmngt")) {
      if (hasCourseRight(CourseRights.RIGHT_GROUPMANAGEMENT) || isCourseAdmin) {
        currentToolCtr = new CourseGroupManagementMainController(ureq, getWindowControl(), course, BusinessGroup.TYPE_LEARNINGROUP);
        listenTo(currentToolCtr);
        all.setContent(currentToolCtr.getInitialComponent());
      } else throw new OLATSecurityException("clicked groupmanagement, but no according right");

    } else if (cmd.equals("rightmngt")) {
      if (isCourseAdmin) {
        currentToolCtr = new CourseGroupManagementMainController(ureq, getWindowControl(), course, BusinessGroup.TYPE_RIGHTGROUP);
        listenTo(currentToolCtr);
        all.setContent(currentToolCtr.getInitialComponent());
      } else throw new OLATSecurityException("clicked rightmanagement, but no according right");

    } else if (cmd.equals("statistic")) {
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.