Package org.olat.modules.fo.archiver.formatters

Examples of org.olat.modules.fo.archiver.formatters.ForumFormatter


    // don't check quota
    diaNodeElemExportContainer.setLocalSecurityCallback(new FullAccessCallback());
    diaNodeElemExportContainer.copyFrom(dialogFile);

    ForumArchiveManager fam = ForumArchiveManager.getInstance();
    ForumFormatter ff = new ForumRTFFormatter(diaNodeElemExportContainer, false);
    fam.applyFormatter(ff, element.getForumKey().longValue(), null);
  }
View Full Code Here


    Property forumKeyProperty = NarrowedPropertyManager.getInstance(ores).findProperty(null, null, PROP_CAT_BG_COLLABTOOLS, KEY_FORUM);
    if (forumKeyProperty != null) {
      VFSContainer archiveContainer = new LocalFolderImpl(new File(archivFilePath));
      String archiveForumName = "del_forum_" + forumKeyProperty.getLongValue();
      VFSContainer archiveForumContainer = archiveContainer.createChildContainer(archiveForumName);
      ForumFormatter ff = new ForumRTFFormatter(archiveForumContainer, false);
      ForumArchiveManager.getInstance().applyFormatter(ff, forumKeyProperty.getLongValue(), null);
    }
  }
View Full Code Here

TOP

Related Classes of org.olat.modules.fo.archiver.formatters.ForumFormatter

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.