Package org.olat.modules.fo

Examples of org.olat.modules.fo.ForumCallback


          WikiManager.getInstance().updateWikiPageProperties(ores, page);
        }
        forum = ForumManager.getInstance().loadForum(Long.valueOf(page.getForumKey()));
        // TODO enhance forum callback with subscription stuff               
        boolean isModerator = securityCallback.mayModerateForum();       
        ForumCallback forumCallback = new WikiForumCallback(ureq.getUserSession().getRoles().isGuestOnly(), isModerator);
       
        // calculate the new businesscontext for the coursenode being called.
        //FIXME:pb:mannheim discussion should not be "this.ores" -> may be the "forum" should go in here.
        //
        ContextEntry ce = BusinessControlFactory.getInstance().createContextEntry(forum);
View Full Code Here


      }});
   
    Translator trans = Util.createPackageTranslator(this.getClass(), ureq.getLocale());
    TitleInfo titleInfo = new TitleInfo(null, trans.translate("collabtools.named.hasForum"));
    titleInfo.setSeparatorEnabled(true);
    Controller forumController = ForumUIFactory.getTitledForumController(ureq, wControl, forum, new ForumCallback() {

      public boolean mayOpenNewThread() {
        return true;
      }
View Full Code Here

TOP

Related Classes of org.olat.modules.fo.ForumCallback

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.