use of org.olat.course.nodes.gta.ui.GTACoachedGroupListController in project OpenOLAT by OpenOLAT.
the class GTACourseNode method getCoachedGroupListController.
public GTACoachedGroupListController getCoachedGroupListController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, UserCourseEnvironment coachCourseEnv, boolean admin, List<BusinessGroup> coachedGroups) {
List<BusinessGroup> groups;
CourseGroupManager gm = coachCourseEnv.getCourseEnvironment().getCourseGroupManager();
if (admin) {
groups = gm.getAllBusinessGroups();
} else {
groups = coachedGroups;
}
groups = CoreSpringFactory.getImpl(GTAManager.class).filterBusinessGroups(groups, this);
return new GTACoachedGroupListController(ureq, wControl, stackPanel, coachCourseEnv, this, groups);
}
use of org.olat.course.nodes.gta.ui.GTACoachedGroupListController in project openolat by klemens.
the class GTACourseNode method getCoachedGroupListController.
public GTACoachedGroupListController getCoachedGroupListController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, UserCourseEnvironment coachCourseEnv, boolean admin, List<BusinessGroup> coachedGroups) {
List<BusinessGroup> groups;
CourseGroupManager gm = coachCourseEnv.getCourseEnvironment().getCourseGroupManager();
if (admin) {
groups = gm.getAllBusinessGroups();
} else {
groups = coachedGroups;
}
groups = CoreSpringFactory.getImpl(GTAManager.class).filterBusinessGroups(groups, this);
return new GTACoachedGroupListController(ureq, wControl, stackPanel, coachCourseEnv, this, groups);
}
Aggregations