| org.sakaiproject.api.app.messageforums.MessageForumsForumManager
All known Subclasses: org.sakaiproject.component.app.messageforums.MessageForumsForumManagerImpl,
MessageForumsForumManager | public interface MessageForumsForumManager (Code) | | |
Method Summary | |
public ActorPermissions | createDefaultActorPermissions() | public DiscussionForum | createDiscussionForum() | public DiscussionTopic | createDiscussionForumTopic(DiscussionForum forum) | public OpenTopic | createOpenForumTopic(OpenForum forum) | public PrivateForum | createPrivateForum(String title) | public PrivateTopic | createPrivateForumTopic(String title, boolean forumIsParent, boolean topicIsMutable, String userId, Long parentId) | public void | deleteDiscussionForum(DiscussionForum forum) | public void | deleteDiscussionForumTopic(DiscussionTopic topic) | public void | deleteOpenForumTopic(OpenTopic topic) | public void | deletePrivateForumTopic(PrivateTopic topic) | public BaseForum | getForumById(boolean open, Long forumId) | public BaseForum | getForumByIdWithTopics(Long forumId) | public List | getForumByTypeAndContext(String typeUuid) | public List | getForumByTypeAndContext(String typeUuid, String contextId) | public List | getForumByTypeAndContextWithTopicsAllAttachments(String typeUuid) | public List | getForumByTypeAndContextWithTopicsMembership(String typeUuid, String contextId) | public BaseForum | getForumByUuid(String forumId) | public List | getModeratedTopicsInSite(String contextId) | public int | getNumModTopicCurrentUserHasModPermFor(List membershipItems) | public PrivateForum | getPrivateForumByOwnerArea(String owner, Area area) | public PrivateForum | getPrivateForumByOwnerAreaNull(String owner) | public PrivateForum | getPrivateForumByOwnerAreaNullWithAllTopics(String owner) | public PrivateForum | getPrivateForumByOwnerAreaWithAllTopics(String owner, Area area) | public List | getRecentDiscussionForumMessages(int numberMessages, int numberDaysInPast) | public List | getRecentOpenForumMessages(int numberMessages, int numberDaysInPast) | public List | getRecentPrivateMessages(int numberMessages, int numberDaysInPast) | public Topic | getTopicById(boolean open, Long topicId) | public Topic | getTopicByIdWithAttachments(Long topicId) | public Topic | getTopicByIdWithMessages(Long topicId) | public Topic | getTopicByIdWithMessagesAndAttachments(Long topicId) | public Topic | getTopicByUuid(String uuid) | public List | getTopicsByIdWithMessages(Long forumId) | public List | getTopicsByIdWithMessagesAndAttachments(Long forumId) | public List | getTopicsByIdWithMessagesMembershipAndAttachments(Long forumId) | public void | saveDiscussionForum(DiscussionForum forum) | public void | saveDiscussionForum(DiscussionForum forum, boolean draft) | public void | saveDiscussionForumTopic(DiscussionTopic topic) | public void | saveDiscussionForumTopic(DiscussionTopic topic, boolean parentForumDraftStatus) | public void | saveOpenForumTopic(OpenTopic topic) | public void | savePrivateForum(PrivateForum forum) | public void | savePrivateForumTopic(PrivateTopic topic) | public List | searchTopicMessages(Long topicId, String searchText) |
createDiscussionForum | public DiscussionForum createDiscussionForum()(Code) | | Create and save an empty discussion forum
discussion forum |
createOpenForumTopic | public OpenTopic createOpenForumTopic(OpenForum forum)(Code) | | Create and save an empty open discussion forum topic
|
createPrivateForum | public PrivateForum createPrivateForum(String title)(Code) | | create private forum
Parameters: title - of forum private forum |
createPrivateForumTopic | public PrivateTopic createPrivateForumTopic(String title, boolean forumIsParent, boolean topicIsMutable, String userId, Long parentId)(Code) | | Create and save an empty private discussion forum topic
|
deleteDiscussionForum | public void deleteDiscussionForum(DiscussionForum forum)(Code) | | Delete a discussion forum and all topics/messages
|
deleteDiscussionForumTopic | public void deleteDiscussionForumTopic(DiscussionTopic topic)(Code) | | Delete a discussion forum topic
|
deleteOpenForumTopic | public void deleteOpenForumTopic(OpenTopic topic)(Code) | | Delete an open forum topic
|
deletePrivateForumTopic | public void deletePrivateForumTopic(PrivateTopic topic)(Code) | | Delete a private forum topic
|
getForumById | public BaseForum getForumById(boolean open, Long forumId)(Code) | | Retrieve a given forum for the current user
|
getForumByTypeAndContext | public List getForumByTypeAndContext(String typeUuid)(Code) | | |
getForumByTypeAndContextWithTopicsAllAttachments | public List getForumByTypeAndContextWithTopicsAllAttachments(String typeUuid)(Code) | | |
getForumByTypeAndContextWithTopicsMembership | public List getForumByTypeAndContextWithTopicsMembership(String typeUuid, String contextId)(Code) | | |
getModeratedTopicsInSite | public List getModeratedTopicsInSite(String contextId)(Code) | | Returns all moderated topics in the site
Parameters: areaId - |
getNumModTopicCurrentUserHasModPermFor | public int getNumModTopicCurrentUserHasModPermFor(List membershipItems)(Code) | | Returns # moderated topics that the current user has moderate
perm for, given the user's memberships and contextid
Parameters: membershipItems - Parameters: contextId - |
getPrivateForumByOwnerAreaNullWithAllTopics | public PrivateForum getPrivateForumByOwnerAreaNullWithAllTopics(String owner)(Code) | | |
getRecentDiscussionForumMessages | public List getRecentDiscussionForumMessages(int numberMessages, int numberDaysInPast)(Code) | | Returns a given number of discussion forum messages if available in
the time provided
Parameters: numberMessages - the number of forum messages to retrieve Parameters: numberDaysInPast - the number days to look back |
getRecentOpenForumMessages | public List getRecentOpenForumMessages(int numberMessages, int numberDaysInPast)(Code) | | Returns a given number of open forum messages if available in
the time provided
Parameters: numberMessages - the number of forum messages to retrieve Parameters: numberDaysInPast - the number days to look back |
getRecentPrivateMessages | public List getRecentPrivateMessages(int numberMessages, int numberDaysInPast)(Code) | | Returns a given number of messages if available in the time
provided
Parameters: numberMessages - the number of messages to retrieve Parameters: numberDaysInPast - the number days to look back |
getTopicByIdWithAttachments | public Topic getTopicByIdWithAttachments(Long topicId)(Code) | | |
getTopicByIdWithMessages | public Topic getTopicByIdWithMessages(Long topicId)(Code) | | |
getTopicByIdWithMessagesAndAttachments | public Topic getTopicByIdWithMessagesAndAttachments(Long topicId)(Code) | | |
getTopicsByIdWithMessages | public List getTopicsByIdWithMessages(Long forumId)(Code) | | |
getTopicsByIdWithMessagesAndAttachments | public List getTopicsByIdWithMessagesAndAttachments(Long forumId)(Code) | | |
getTopicsByIdWithMessagesMembershipAndAttachments | public List getTopicsByIdWithMessagesMembershipAndAttachments(Long forumId)(Code) | | |
saveDiscussionForumTopic | public void saveDiscussionForumTopic(DiscussionTopic topic)(Code) | | Save a discussion forum topic
|
saveDiscussionForumTopic | public void saveDiscussionForumTopic(DiscussionTopic topic, boolean parentForumDraftStatus)(Code) | | |
saveOpenForumTopic | public void saveOpenForumTopic(OpenTopic topic)(Code) | | Save an open forum topic
|
savePrivateForum | public void savePrivateForum(PrivateForum forum)(Code) | | save private forum
Parameters: forum - to save |
savePrivateForumTopic | public void savePrivateForumTopic(PrivateTopic topic)(Code) | | Save a discussion forum topic
|
|
|