use of org.olat.modules.qpool.ui.datasource.AllItemsSource in project OpenOLAT by OpenOLAT.
the class AllQuestionsTreeNode method getController.
@Override
public Controller getController(UserRequest ureq, WindowControl wControl) {
if (questionsCtrl == null) {
QuestionItemsSource source = new AllItemsSource(ureq.getIdentity(), ureq.getUserSession().getRoles(), ALL);
WindowControl swControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ureq, ORES, null, wControl, true);
questionsCtrl = new QuestionsController(ureq, swControl, stackPanel, source, securityCallback, ALL, true);
} else {
questionsCtrl.updateSource();
}
return questionsCtrl;
}
use of org.olat.modules.qpool.ui.datasource.AllItemsSource in project openolat by klemens.
the class AllQuestionsTreeNode method getController.
@Override
public Controller getController(UserRequest ureq, WindowControl wControl) {
if (questionsCtrl == null) {
QuestionItemsSource source = new AllItemsSource(ureq.getIdentity(), ureq.getUserSession().getRoles(), ALL);
WindowControl swControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ureq, ORES, null, wControl, true);
questionsCtrl = new QuestionsController(ureq, swControl, stackPanel, source, securityCallback, ALL, true);
} else {
questionsCtrl.updateSource();
}
return questionsCtrl;
}
Aggregations