Search in sources :

Example 1 with SystemAdminMainController

use of org.olat.admin.SystemAdminMainController in project OpenOLAT by OpenOLAT.

the class AdminSite method createController.

@Override
protected MainLayoutController createController(UserRequest ureq, WindowControl wControl, SiteConfiguration config) {
    OLATResourceable ores = OresHelper.createOLATResourceableInstance(AdminSite.class, 0l);
    ThreadLocalUserActivityLogger.addLoggingResourceInfo(LoggingResourceable.wrapBusinessPath(ores));
    WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ureq, ores, new StateSite(this), wControl, true);
    return new SystemAdminMainController(ureq, bwControl);
}
Also used : OLATResourceable(org.olat.core.id.OLATResourceable) StateSite(org.olat.core.id.context.StateSite) SystemAdminMainController(org.olat.admin.SystemAdminMainController) WindowControl(org.olat.core.gui.control.WindowControl)

Example 2 with SystemAdminMainController

use of org.olat.admin.SystemAdminMainController in project openolat by klemens.

the class AdminSite method createController.

@Override
protected MainLayoutController createController(UserRequest ureq, WindowControl wControl, SiteConfiguration config) {
    OLATResourceable ores = OresHelper.createOLATResourceableInstance(AdminSite.class, 0l);
    ThreadLocalUserActivityLogger.addLoggingResourceInfo(LoggingResourceable.wrapBusinessPath(ores));
    WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ureq, ores, new StateSite(this), wControl, true);
    return new SystemAdminMainController(ureq, bwControl);
}
Also used : OLATResourceable(org.olat.core.id.OLATResourceable) StateSite(org.olat.core.id.context.StateSite) SystemAdminMainController(org.olat.admin.SystemAdminMainController) WindowControl(org.olat.core.gui.control.WindowControl)

Aggregations

SystemAdminMainController (org.olat.admin.SystemAdminMainController)2 WindowControl (org.olat.core.gui.control.WindowControl)2 OLATResourceable (org.olat.core.id.OLATResourceable)2 StateSite (org.olat.core.id.context.StateSite)2