Method Summary |
|
public void | approveAllPendingMessages(Long topicId) |
public Attachment | createDFAttachment(String attachId, String name) |
public DiscussionForum | createForum() |
public DiscussionTopic | createTopic(DiscussionForum forum) |
public List | decodeAccessorsList(ArrayList accessorList) |
public List | decodeContributorsList(ArrayList contributorList) |
public void | deleteForum(DiscussionForum forum) |
void | deleteMessage(Message message) |
public void | deleteTopic(DiscussionTopic topic) |
public List | getAccessorsList(DiscussionForum forum) |
public List | getAccessorsList(DiscussionTopic topic, DiscussionForum forum) |
public Map | getAllCourseMembers() |
public List | getAreaControlPermissions() |
public DBMembershipItem | getAreaDBMember(Set originalSet, String name, Integer type) |
public List | getAreaMessagePermissions() |
public List | getContributorsList(DiscussionForum forum) |
public List | getContributorsList(DiscussionTopic topic, DiscussionForum forum) |
public DBMembershipItem | getDBMember(Set originalSet, String name, Integer type) |
public List | getDefaultControlPermissions() |
public List | getDefaultMessagePermissions() |
Area | getDiscussionForumArea() |
public List | getDiscussionForums() |
public List | getDiscussionForumsByContextId(String contextId) |
public List | getDiscussionForumsWithTopics() |
public List | getDiscussionForumsWithTopicsMembershipNoAttachments(String contextId) |
public DiscussionForum | getForumById(Long forumId) |
public DiscussionForum | getForumByIdWithTopics(Long forumId) |
public DiscussionForum | getForumByUuid(String forumId) |
public List | getForumControlPermissions(DiscussionForum forum) |
public List | getForumMessagePermissions(DiscussionForum forum) |
Message | getMessageById(Long id) |
public List | getMessagesByTopicId(Long topicId) |
public List | getModeratedTopicsInSite() |
public DiscussionTopic | getNextTopic(DiscussionTopic topic) |
public int | getNumModTopicsWithModPermission(List membershipList) |
int | getNumUnreadViewableMessagesWhenMod(Topic topic) |
List | getPendingMsgsInSiteByMembership(List membershipList) |
public List | getPendingMsgsInTopic(Long topicId) |
public DiscussionTopic | getPreviousTopic(DiscussionTopic topic) |
public Map | getReadStatusForMessagesWithId(List msgIds, String userId) |
public DiscussionTopic | getTopicById(Long topicId) |
public Topic | getTopicByIdWithAttachments(Long topicId) |
public Topic | getTopicByIdWithMessages(Long topicId) |
public Topic | getTopicByIdWithMessagesAndAttachments(Long topicId) |
public DiscussionTopic | getTopicByUuid(String uuid) |
public List | getTopicControlPermissions(DiscussionTopic topic) |
public List | getTopicMessagePermissions(DiscussionTopic topic) |
public List | getTopicsByIdWithMessages(Long forumId) |
public List | getTopicsByIdWithMessagesAndAttachments(Long forumId) |
public List | getTopicsByIdWithMessagesMembershipAndAttachments(Long forumId) |
int | getTotalNoMessages(Topic topic) |
int | getTotalViewableMessagesWhenMod(Topic topic) |
int | getUnreadNoMessages(Topic topic) |
public boolean | hasNextTopic(DiscussionTopic topic) |
public boolean | hasPreviousTopic(DiscussionTopic topic) |
public boolean | isInstructor() |
public void | markMessageAs(Message message, boolean readStatus) |
public void | markMessageReadStatusForUser(Message message, boolean readStatus, String userId) |
public void | saveAreaControlPermissions(List controlpermissions) |
public void | saveAreaMessagePermissions(List messagePermissions) |
public void | saveForum(DiscussionForum forum) |
public void | saveForumAsDraft(DiscussionForum forum) |
public void | saveForumControlPermissions(DiscussionForum forum, List controlPermissions) |
public void | saveForumMessagePermissions(DiscussionForum forum, List messagePermissions) |
void | saveMessage(Message message) |
public void | saveTopic(DiscussionTopic topic) |
public void | saveTopicAsDraft(DiscussionTopic topic) |
public void | saveTopicControlPermissions(DiscussionTopic topic, List controlPermissions) |
public void | saveTopicMessagePermissions(DiscussionTopic topic, List messagePermissions) |
public List | searchTopicMessages(Long topicId, String searchText) |
public void | setCourseMemberMapToNull() |