Package org.olat.modules.fo.archiver

Examples of org.olat.modules.fo.archiver.ForumArchiveManager


        vfsItem = container.createChildContainer(forumName);
      }
      container = (VFSContainer)vfsItem;
       
      ForumRTFFormatter rtff = new ForumRTFFormatter(container, false)
      ForumArchiveManager fam = ForumArchiveManager.getInstance();
      fam.applyFormatter(rtff, forumKey.longValue(), null);
    }
  }
View Full Code Here


    }
  }

  private void doArchiveForum(UserRequest ureq) {
    ForumRTFFormatter rtff = new ForumRTFFormatter(getArchiveContainer(ureq), false);
    ForumArchiveManager fam = ForumArchiveManager.getInstance();
    fam.applyFormatter(rtff, forum.getKey().longValue(), focallback);
  }
View Full Code Here

  private void doArchiveThread(UserRequest ureq, Message currMsg) {
    Message m = currMsg.getThreadtop();
    Long topMessageId = (m == null) ? currMsg.getKey() : m.getKey();

    ForumRTFFormatter rtff = new ForumRTFFormatter(getArchiveContainer(ureq), true);
    ForumArchiveManager fam = ForumArchiveManager.getInstance();
    fam.applyFormatterForOneThread(rtff, forum.getKey().longValue(), topMessageId.longValue());
  }
View Full Code Here

    VFSContainer diaNodeElemExportContainer = exportContainer.createChildContainer(exportDirName);
    // 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

TOP

Related Classes of org.olat.modules.fo.archiver.ForumArchiveManager

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.