use of org.olat.group.ui.main.AbstractMemberListController in project OpenOLAT by OpenOLAT.
the class MembersOverviewController method updateWaitingList.
private AbstractMemberListController updateWaitingList(UserRequest ureq) {
if (waitingCtrl == null) {
OLATResourceable ores = OresHelper.createOLATResourceableInstance(SEG_WAITING_MEMBERS, 0l);
ThreadLocalUserActivityLogger.addLoggingResourceInfo(LoggingResourceable.wrapBusinessPath(ores));
WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ores, null, getWindowControl());
SearchMembersParams searchParams = new SearchMembersParams(false, false, false, false, false, true, false);
String infos = translate("waiting.infos");
waitingCtrl = new MemberListController(ureq, bwControl, toolbarPanel, repoEntry, coachCourseEnv, searchParams, infos);
listenTo(waitingCtrl);
}
waitingCtrl.reloadModel();
waitingCtrl.overrideManaged(ureq, overrideManaged);
mainVC.put("membersCmp", waitingCtrl.getInitialComponent());
addToHistory(ureq, waitingCtrl);
return waitingCtrl;
}
use of org.olat.group.ui.main.AbstractMemberListController in project OpenOLAT by OpenOLAT.
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.AbstractMemberListController in project openolat by klemens.
the class MembersOverviewController method updateWaitingList.
private AbstractMemberListController updateWaitingList(UserRequest ureq) {
if (waitingCtrl == null) {
OLATResourceable ores = OresHelper.createOLATResourceableInstance(SEG_WAITING_MEMBERS, 0l);
ThreadLocalUserActivityLogger.addLoggingResourceInfo(LoggingResourceable.wrapBusinessPath(ores));
WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ores, null, getWindowControl());
SearchMembersParams searchParams = new SearchMembersParams(false, false, false, false, false, true, false);
String infos = translate("waiting.infos");
waitingCtrl = new MemberListController(ureq, bwControl, toolbarPanel, repoEntry, coachCourseEnv, searchParams, infos);
listenTo(waitingCtrl);
}
waitingCtrl.reloadModel();
waitingCtrl.overrideManaged(ureq, overrideManaged);
mainVC.put("membersCmp", waitingCtrl.getInitialComponent());
addToHistory(ureq, waitingCtrl);
return waitingCtrl;
}
use of org.olat.group.ui.main.AbstractMemberListController 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;
}
Aggregations