Package org.olat.repository.handlers

Examples of org.olat.repository.handlers.BlogHandler


      addController = typeToAdd.getAddController(addCallback, null, ureq, getWindowControl());
      translatedTypeName = translator.translate("add.podcast");
      typeIntro = translator.translate("add.podcast.intro");
    }
    else if (actionAddCommand.equals(ACTION_ADD_BLOG)) {
      typeToAdd = new BlogHandler();
      addController = typeToAdd.getAddController(addCallback, null, ureq, getWindowControl());
      translatedTypeName = translator.translate("add.blog");
      typeIntro = translator.translate("add.blog.intro");
    }
    else if (actionAddCommand.equals(ACTION_ADD_GLOSSARY)) {
      typeToAdd = new GlossaryHandler();
      addController = typeToAdd.getAddController(addCallback, null, ureq, getWindowControl());
      translatedTypeName = translator.translate("add.glossary");
      typeIntro = translator.translate("add.glossary.intro");
    }
    else if (actionAddCommand.equals(ACTION_NEW_COURSE)) {
      typeToAdd = new CourseHandler();
      addController = typeToAdd.getAddController(addCallback, CourseHandler.PROCESS_CREATENEW, ureq, getWindowControl());
      translatedTypeName = translator.translate("new.course");
      typeIntro = translator.translate("new.course.intro");
    }
    else if (actionAddCommand.equals(ACTION_NEW_TEST)) {
      typeToAdd = new QTITestHandler();
      addController = typeToAdd.getAddController(addCallback, QTIHandler.PROCESS_CREATENEW, ureq, getWindowControl());
      translatedTypeName = translator.translate("new.test");
      typeIntro = translator.translate("new.test.intro");
    }
    else if (actionAddCommand.equals(ACTION_NEW_SURVEY)) {
      typeToAdd = new QTISurveyHandler();
      addController = typeToAdd.getAddController(addCallback, QTIHandler.PROCESS_CREATENEW, ureq, getWindowControl());
      translatedTypeName = translator.translate("new.survey");
      typeIntro = translator.translate("new.survey.intro");
    }
    else if (actionAddCommand.equals(ACTION_NEW_SHAREDFOLDER)) {
      typeToAdd = new SharedFolderHandler();
      addController = typeToAdd.getAddController(addCallback, SharedFolderHandler.PROCESS_CREATENEW, ureq, getWindowControl());
      translatedTypeName = translator.translate("new.sharedfolder");
      typeIntro = translator.translate("new.sharedfolder.intro");
    }
    else if (actionAddCommand.equals(ACTION_NEW_WIKI)) {
      typeToAdd = new WikiHandler();
      addController = typeToAdd.getAddController(addCallback, WikiHandler.PROCESS_CREATENEW, ureq, getWindowControl());
      translatedTypeName = translator.translate("new.wiki");
      typeIntro = translator.translate("new.wiki.intro");
    }
    else if (actionAddCommand.equals(ACTION_NEW_PODCAST)) {
      typeToAdd = new PodcastHandler();
      addController = typeToAdd.getAddController(addCallback, PodcastHandler.PROCESS_CREATENEW, ureq, getWindowControl());
      translatedTypeName = translator.translate("new.podcast");
      typeIntro = translator.translate("new.podcast.intro");
    }
    else if (actionAddCommand.equals(ACTION_NEW_BLOG)) {
      typeToAdd = new BlogHandler();
      addController = typeToAdd.getAddController(addCallback, BlogHandler.PROCESS_CREATENEW, ureq, getWindowControl());
      translatedTypeName = translator.translate("new.blog");
      typeIntro = translator.translate("new.blog.intro");
    }
    else if (actionAddCommand.equals(ACTION_NEW_GLOSSARY)) {
View Full Code Here

TOP

Related Classes of org.olat.repository.handlers.BlogHandler

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.