use of org.olat.modules.fo.archiver.formatters.ForumDownloadResource in project OpenOLAT by OpenOLAT.
the class MessageListController method doArchiveThread.
private void doArchiveThread(UserRequest ureq, Message currMsg) {
Message m = currMsg.getThreadtop();
Long topMessageId = (m == null) ? currMsg.getKey() : m.getKey();
VFSContainer forumContainer = forumManager.getForumContainer(forum.getKey());
ForumDownloadResource download = new ForumDownloadResource("Forum", forum, foCallback, topMessageId, forumContainer, getLocale());
ureq.getDispatchResult().setResultingMediaResource(download);
}
use of org.olat.modules.fo.archiver.formatters.ForumDownloadResource in project OpenOLAT by OpenOLAT.
the class ThreadListController method doArchiveForum.
private void doArchiveForum(UserRequest ureq) {
VFSContainer forumContainer = forumManager.getForumContainer(forum.getKey());
ForumDownloadResource download = new ForumDownloadResource("Forum", forum, foCallback, null, forumContainer, getLocale());
ureq.getDispatchResult().setResultingMediaResource(download);
}
use of org.olat.modules.fo.archiver.formatters.ForumDownloadResource in project openolat by klemens.
the class ThreadListController method doArchiveForum.
private void doArchiveForum(UserRequest ureq) {
VFSContainer forumContainer = forumManager.getForumContainer(forum.getKey());
ForumDownloadResource download = new ForumDownloadResource("Forum", forum, foCallback, null, forumContainer, getLocale());
ureq.getDispatchResult().setResultingMediaResource(download);
}
use of org.olat.modules.fo.archiver.formatters.ForumDownloadResource in project openolat by klemens.
the class MessageListController method doArchiveThread.
private void doArchiveThread(UserRequest ureq, Message currMsg) {
Message m = currMsg.getThreadtop();
Long topMessageId = (m == null) ? currMsg.getKey() : m.getKey();
VFSContainer forumContainer = forumManager.getForumContainer(forum.getKey());
ForumDownloadResource download = new ForumDownloadResource("Forum", forum, foCallback, topMessageId, forumContainer, getLocale());
ureq.getDispatchResult().setResultingMediaResource(download);
}
Aggregations