org.olat.modules.fo
Class FilterForUserController.SearchForumCallback

java.lang.Object
  extended by org.olat.modules.fo.FilterForUserController.SearchForumCallback
All Implemented Interfaces:
ForumCallback
Enclosing class:
FilterForUserController

public class FilterForUserController.SearchForumCallback
extends java.lang.Object
implements ForumCallback

Read-only security callback


Constructor Summary
FilterForUserController.SearchForumCallback()
           
 
Method Summary
 SubscriptionContext getSubscriptionContext()
           
 boolean mayArchiveForum()
           
 boolean mayDeleteMessageAsModerator()
           
 boolean mayEditMessageAsModerator()
           
 boolean mayFilterForUser()
           
 boolean mayOpenNewThread()
           
 boolean mayReplyMessage()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterForUserController.SearchForumCallback

public FilterForUserController.SearchForumCallback()
Method Detail

getSubscriptionContext

public SubscriptionContext getSubscriptionContext()
Specified by:
getSubscriptionContext in interface ForumCallback
Returns:
the subscriptionContext. if null, then no subscription must be offered

mayArchiveForum

public boolean mayArchiveForum()
Specified by:
mayArchiveForum in interface ForumCallback
Returns:
true if allowed to archive the whole forum or threads of it

mayDeleteMessageAsModerator

public boolean mayDeleteMessageAsModerator()
Specified by:
mayDeleteMessageAsModerator in interface ForumCallback
Returns:
if allowed to delete non-owned messages

mayEditMessageAsModerator

public boolean mayEditMessageAsModerator()
Specified by:
mayEditMessageAsModerator in interface ForumCallback
Returns:
if allowed to moderate

mayFilterForUser

public boolean mayFilterForUser()
Specified by:
mayFilterForUser in interface ForumCallback
Returns:
true if allowed to filter the whole forum

mayOpenNewThread

public boolean mayOpenNewThread()
Specified by:
mayOpenNewThread in interface ForumCallback
Returns:
if allowed to open a new forum thread

mayReplyMessage

public boolean mayReplyMessage()
Specified by:
mayReplyMessage in interface ForumCallback
Returns:
if the current user may reply to messages