org.olat.modules.fo
Interface ForumCallback

All Known Implementing Classes:
DemoForumCallback, DialogNodeForumCallback, FilterForUserController.SearchForumCallback, WikiForumCallback

public interface ForumCallback

Author:
schneider

Method Summary
 SubscriptionContext getSubscriptionContext()
           
 boolean mayArchiveForum()
           
 boolean mayDeleteMessageAsModerator()
           
 boolean mayEditMessageAsModerator()
           
 boolean mayFilterForUser()
           
 boolean mayOpenNewThread()
           
 boolean mayReplyMessage()
           
 

Method Detail

mayOpenNewThread

boolean mayOpenNewThread()
Returns:
if allowed to open a new forum thread

mayReplyMessage

boolean mayReplyMessage()
Returns:
if the current user may reply to messages

mayEditMessageAsModerator

boolean mayEditMessageAsModerator()
Returns:
if allowed to moderate

mayDeleteMessageAsModerator

boolean mayDeleteMessageAsModerator()
Returns:
if allowed to delete non-owned messages

mayArchiveForum

boolean mayArchiveForum()
Returns:
true if allowed to archive the whole forum or threads of it

mayFilterForUser

boolean mayFilterForUser()
Returns:
true if allowed to filter the whole forum

getSubscriptionContext

SubscriptionContext getSubscriptionContext()
Returns:
the subscriptionContext. if null, then no subscription must be offered