org.olat.modules.fo
Class DemoForumCallback
java.lang.Object
org.olat.modules.fo.DemoForumCallback
- All Implemented Interfaces:
- ForumCallback
public class DemoForumCallback
- extends java.lang.Object
- implements ForumCallback
- Author:
- schneider
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DemoForumCallback
public DemoForumCallback()
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
mayEditMessageAsModerator
public boolean mayEditMessageAsModerator()
- Specified by:
mayEditMessageAsModerator in interface ForumCallback
- Returns:
- if allowed to moderate
mayDeleteMessageAsModerator
public boolean mayDeleteMessageAsModerator()
- Specified by:
mayDeleteMessageAsModerator in interface ForumCallback
- Returns:
- if allowed to delete non-owned messages
mayArchiveForum
public boolean mayArchiveForum()
- Specified by:
mayArchiveForum in interface ForumCallback
- Returns:
- true if allowed to archive the whole forum or threads of it
mayFilterForUser
public boolean mayFilterForUser()
- Specified by:
mayFilterForUser in interface ForumCallback
- Returns:
- true if allowed to filter the whole forum
getSubscriptionContext
public SubscriptionContext getSubscriptionContext()
- Specified by:
getSubscriptionContext in interface ForumCallback
- Returns:
- the subscriptionContext. if null, then no subscription must be offered
- See Also:
ForumCallback.getSubscriptionContext()