use of org.olat.core.id.context.StateSite in project OpenOLAT by OpenOLAT.
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 OpenOLAT.
the class RepositorySite method createController.
@Override
protected Controller createController(UserRequest ureq, WindowControl wControl, SiteConfiguration config) {
OLATResourceable ores = OresHelper.createOLATResourceableInstance(RepositorySite.class, 0l);
ThreadLocalUserActivityLogger.addLoggingResourceInfo(LoggingResourceable.wrapBusinessPath(ores));
WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ureq, ores, new StateSite(this), wControl, true);
return new OverviewAuthoringController(ureq, bwControl);
}
use of org.olat.core.id.context.StateSite in project OpenOLAT by OpenOLAT.
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);
}
use of org.olat.core.id.context.StateSite in project OpenOLAT by OpenOLAT.
the class GroupsSite method createController.
@Override
protected Controller createController(UserRequest ureq, WindowControl wControl, SiteConfiguration config) {
OLATResourceable ores = OresHelper.createOLATResourceableInstance(GroupsSite.class, 0l);
ThreadLocalUserActivityLogger.addLoggingResourceInfo(LoggingResourceable.wrapBusinessPath(ores));
WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ureq, ores, new StateSite(this), wControl, true);
// MainLayoutController c = new BusinessGroupMainController(ureq, bwControl);
return new OverviewBusinessGroupListController(ureq, bwControl);
}
use of org.olat.core.id.context.StateSite in project openolat by klemens.
the class PortalSite method createController.
@Override
protected Controller createController(UserRequest ureq, WindowControl wControl, SiteConfiguration config) {
ThreadLocalUserActivityLogger.addLoggingResourceInfo(LoggingResourceable.wrapBusinessPath(ORES));
WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ureq, ORES, new StateSite(this), wControl, true);
PortalMainController c = new PortalMainController(ureq, bwControl);
return new LayoutMain3ColsController(ureq, wControl, c);
}
Aggregations