use of org.olat.group.ui.main.SearchMembersParams in project openolat by klemens.
the class MembersOverviewController method updateOwners.
private AbstractMemberListController updateOwners(UserRequest ureq) {
if (ownersCtrl == null) {
OLATResourceable ores = OresHelper.createOLATResourceableInstance(SEG_OWNERS_MEMBERS, 0l);
ThreadLocalUserActivityLogger.addLoggingResourceInfo(LoggingResourceable.wrapBusinessPath(ores));
WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ores, null, getWindowControl());
SearchMembersParams searchParams = new SearchMembersParams(true, false, false, false, false, false, false);
String infos = translate("owners.infos");
ownersCtrl = new MemberListController(ureq, bwControl, toolbarPanel, repoEntry, coachCourseEnv, searchParams, infos);
listenTo(ownersCtrl);
}
ownersCtrl.reloadModel();
ownersCtrl.overrideManaged(ureq, overrideManaged);
mainVC.put("membersCmp", ownersCtrl.getInitialComponent());
addToHistory(ureq, ownersCtrl);
return ownersCtrl;
}
use of org.olat.group.ui.main.SearchMembersParams in project openolat by klemens.
the class MembersOverviewController method updateTutors.
private AbstractMemberListController updateTutors(UserRequest ureq) {
if (tutorsCtrl == null) {
OLATResourceable ores = OresHelper.createOLATResourceableInstance(SEG_TUTORS_MEMBERS, 0l);
ThreadLocalUserActivityLogger.addLoggingResourceInfo(LoggingResourceable.wrapBusinessPath(ores));
WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ores, null, getWindowControl());
SearchMembersParams searchParams = new SearchMembersParams(false, true, false, true, false, false, false);
String infos = translate("tutors.infos");
tutorsCtrl = new MemberListWithOriginFilterController(ureq, bwControl, toolbarPanel, repoEntry, coachCourseEnv, searchParams, infos);
listenTo(tutorsCtrl);
}
tutorsCtrl.reloadModel();
tutorsCtrl.overrideManaged(ureq, overrideManaged);
mainVC.put("membersCmp", tutorsCtrl.getInitialComponent());
addToHistory(ureq, tutorsCtrl);
return tutorsCtrl;
}
Aggregations