Search in sources :

Example 1 with SiteContextEntryControllerCreator

use of org.olat.core.id.context.SiteContextEntryControllerCreator in project OpenOLAT by OpenOLAT.

the class AdminModule method init.

@Override
public void init() {
    initializeSystemTokenProperty(PROPERTY_MAINTENANCE_MESSAGE);
    initializeSystemTokenProperty(PROPERTY_SESSION_ADMINISTRATION);
    boolean loginBlocked = getBooleanPropertyValue(CONFIG_LOGIN_BLOCKED);
    if (loginBlocked) {
        AuthHelper.setLoginBlocked(loginBlocked);
    }
    // Add controller factory extension point to launch groups
    NewControllerFactory.getInstance().addContextEntryControllerCreator(User.class.getSimpleName(), new UserAdminContextEntryControllerCreator());
    NewControllerFactory.getInstance().addContextEntryControllerCreator("NewIdentityCreated", new UserAdminContextEntryControllerCreator());
    NewControllerFactory.getInstance().addContextEntryControllerCreator(AdminSite.class.getSimpleName(), new SiteContextEntryControllerCreator(AdminSite.class));
}
Also used : User(org.olat.core.id.User) UserAdminContextEntryControllerCreator(org.olat.admin.user.UserAdminContextEntryControllerCreator) AdminSite(org.olat.admin.site.AdminSite) SiteContextEntryControllerCreator(org.olat.core.id.context.SiteContextEntryControllerCreator)

Example 2 with SiteContextEntryControllerCreator

use of org.olat.core.id.context.SiteContextEntryControllerCreator in project OpenOLAT by OpenOLAT.

the class BusinessGroupModule method init.

/**
 * @see org.olat.core.configuration.AbstractOLATModule#init()
 */
@Override
public void init() {
    // Add controller factory extension point to launch groups
    NewControllerFactory.getInstance().addContextEntryControllerCreator(BusinessGroup.class.getSimpleName(), new BusinessGroupContextEntryControllerCreator());
    NewControllerFactory.getInstance().addContextEntryControllerCreator("GroupCard", new BusinessGroupCardContextEntryControllerCreator());
    NewControllerFactory.getInstance().addContextEntryControllerCreator(GroupsSite.class.getSimpleName(), new SiteContextEntryControllerCreator(GroupsSite.class));
    updateProperties();
}
Also used : GroupsSite(org.olat.group.site.GroupsSite) SiteContextEntryControllerCreator(org.olat.core.id.context.SiteContextEntryControllerCreator)

Example 3 with SiteContextEntryControllerCreator

use of org.olat.core.id.context.SiteContextEntryControllerCreator in project OpenOLAT by OpenOLAT.

the class QuestionPoolModule method init.

@Override
public void init() {
    NewControllerFactory.getInstance().addContextEntryControllerCreator("QPool", new SiteContextEntryControllerCreator(QuestionPoolSite.class));
    updateProperties();
    initTaxonomy();
}
Also used : QuestionPoolSite(org.olat.modules.qpool.site.QuestionPoolSite) SiteContextEntryControllerCreator(org.olat.core.id.context.SiteContextEntryControllerCreator)

Example 4 with SiteContextEntryControllerCreator

use of org.olat.core.id.context.SiteContextEntryControllerCreator in project openolat by klemens.

the class BusinessGroupModule method init.

/**
 * @see org.olat.core.configuration.AbstractOLATModule#init()
 */
@Override
public void init() {
    // Add controller factory extension point to launch groups
    NewControllerFactory.getInstance().addContextEntryControllerCreator(BusinessGroup.class.getSimpleName(), new BusinessGroupContextEntryControllerCreator());
    NewControllerFactory.getInstance().addContextEntryControllerCreator("GroupCard", new BusinessGroupCardContextEntryControllerCreator());
    NewControllerFactory.getInstance().addContextEntryControllerCreator(GroupsSite.class.getSimpleName(), new SiteContextEntryControllerCreator(GroupsSite.class));
    updateProperties();
}
Also used : GroupsSite(org.olat.group.site.GroupsSite) SiteContextEntryControllerCreator(org.olat.core.id.context.SiteContextEntryControllerCreator)

Example 5 with SiteContextEntryControllerCreator

use of org.olat.core.id.context.SiteContextEntryControllerCreator in project openolat by klemens.

the class QuestionPoolModule method init.

@Override
public void init() {
    NewControllerFactory.getInstance().addContextEntryControllerCreator("QPool", new SiteContextEntryControllerCreator(QuestionPoolSite.class));
    updateProperties();
    initTaxonomy();
}
Also used : QuestionPoolSite(org.olat.modules.qpool.site.QuestionPoolSite) SiteContextEntryControllerCreator(org.olat.core.id.context.SiteContextEntryControllerCreator)

Aggregations

SiteContextEntryControllerCreator (org.olat.core.id.context.SiteContextEntryControllerCreator)10 AdminSite (org.olat.admin.site.AdminSite)2 UserAdminContextEntryControllerCreator (org.olat.admin.user.UserAdminContextEntryControllerCreator)2 User (org.olat.core.id.User)2 CourseSite (org.olat.course.site.CourseSite)2 CourseSiteContextEntryControllerCreator (org.olat.course.site.CourseSiteContextEntryControllerCreator)2 GroupsSite (org.olat.group.site.GroupsSite)2 QuestionPoolSite (org.olat.modules.qpool.site.QuestionPoolSite)2 VideoSite (org.olat.modules.video.site.VideoSite)2 CatalogAdminSite (org.olat.repository.site.CatalogAdminSite)2 MyCoursesSite (org.olat.repository.site.MyCoursesSite)2 RepositorySite (org.olat.repository.site.RepositorySite)2