use of org.olat.core.id.context.StateSite in project openolat by klemens.
the class PortfolioSite method createController.
@Override
protected Controller createController(UserRequest ureq, WindowControl wControl, SiteConfiguration config) {
OLATResourceable ores = OresHelper.createOLATResourceableInstance(PortfolioSite.class, 0l);
ThreadLocalUserActivityLogger.addLoggingResourceInfo(LoggingResourceable.wrapBusinessPath(ores));
WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ureq, ores, new StateSite(this), wControl, true);
PortfolioPersonalToolController mainController = new PortfolioPersonalToolController(ureq, bwControl);
return mainController;
}
use of org.olat.core.id.context.StateSite in project openolat by klemens.
the class EPSite method createController.
@Override
protected Controller createController(UserRequest ureq, WindowControl wControl, SiteConfiguration config) {
OLATResourceable ores = OresHelper.createOLATResourceableInstance(EPSite.class, 0l);
ThreadLocalUserActivityLogger.addLoggingResourceInfo(LoggingResourceable.wrapBusinessPath(ores));
WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ureq, ores, new StateSite(this), wControl, true);
EPOverviewController mainController = new EPOverviewController(ureq, bwControl);
return mainController;
}
use of org.olat.core.id.context.StateSite in project openolat by klemens.
the class QuestionPoolSite method createController.
@Override
protected MainLayoutController createController(UserRequest ureq, WindowControl wControl, SiteConfiguration config) {
OLATResourceable ores = OresHelper.createOLATResourceableInstance("QPool", 0l);
ThreadLocalUserActivityLogger.addLoggingResourceInfo(LoggingResourceable.wrapBusinessPath(ores));
WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ureq, ores, new StateSite(this), wControl, true);
MainLayoutController c = new QuestionPoolSiteMainController(ureq, bwControl);
return c;
}
use of org.olat.core.id.context.StateSite in project openolat by klemens.
the class VideoSite method createController.
@Override
protected Controller createController(UserRequest ureq, WindowControl wControl, SiteConfiguration config) {
OLATResourceable ores = OresHelper.createOLATResourceableInstance(VideoSite.class, 0l);
ThreadLocalUserActivityLogger.addLoggingResourceInfo(LoggingResourceable.wrapBusinessPath(ores));
WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ureq, ores, new StateSite(this), wControl, true);
Controller videoSiteCtr = new VideoSiteController(ureq, bwControl);
return videoSiteCtr;
}
use of org.olat.core.id.context.StateSite in project openolat by klemens.
the class CatalogAdminSite method createController.
@Override
protected Controller createController(UserRequest ureq, WindowControl wControl, SiteConfiguration config) {
// for existing controller which are part of the main olat -> use the controllerfactory
OLATResourceable ores = OresHelper.createOLATResourceableInstance("CatalogAdmin", 0l);
ThreadLocalUserActivityLogger.addLoggingResourceInfo(LoggingResourceable.wrapBusinessPath(ores));
WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ureq, ores, new StateSite(this), wControl, true);
return new CatalogManagerController(ureq, bwControl);
}
Aggregations