| org.sakaiproject.api.app.messageforums.MessageForumsMessageManager
All known Subclasses: org.sakaiproject.component.app.messageforums.MessageForumsMessageManagerImpl,
MessageForumsMessageManager | public interface MessageForumsMessageManager (Code) | | |
Method Summary | |
public Attachment | createAttachment() | public Message | createDiscussionMessage() | public Message | createMessage(String typeId) | public Message | createOpenMessage() | public PrivateMessage | createPrivateMessage() | public boolean | currentToolMatch(String toolId) | public void | deleteMessage(Message message) | public void | deleteMsgWithChild(Long messageId) | public void | deleteUnreadStatus(Long topicId, Long messageId) | public int | findAuhtoredMessageCountByTopicIdByUserId(Long topicId, String userId) | public List | findDiscussionForumMessageCountsForAllSites(List siteList) | public List | findDiscussionForumMessageRemoveCountsForAllSites(List siteList, List roleList) | public List | findDiscussionForumReadMessageCountsForAllSites() | public List | findDiscussionForumReadMessageRemoveCountsForAllSites(List roleList) | public int | findMessageCountByTopicId(Long topicId) | public List | findMessagesByTopicId(Long topicId) | public List | findPvtMsgsBySearchText(String typeUuid, String searchText, Date searchFromDate, Date searchToDate, boolean searchByText, boolean searchByAuthor, boolean searchByBody, boolean searchByLabel, boolean searchByDate) | public int | findReadMessageCountByTopicId(Long topicId) | public int | findReadMessageCountByTopicIdByUserId(Long topicId, String userId) | public int | findReadViewableMessageCountByTopicId(Long topicId) | public int | findUnreadMessageCountByTopicId(Long topicId) | public int | findUnreadMessageCountByTopicIdByUserId(Long topicId, String userId) | public UnreadStatus | findUnreadStatus(Long topicId, Long messageId) | public UnreadStatus | findUnreadStatusByUserId(Long topicId, Long messageId, String userId) | public int | findUnreadViewableMessageCountByTopicId(Long topicId) | public int | findUnreadViewableMessageCountByTopicIdByUserId(Long topicId, String userId) | public int | findViewableMessageCountByTopicId(Long topicId) | public int | findViewableMessageCountByTopicIdByUserId(Long topicId, String userId) | public List | getAllRelatedMsgs(Long messageId) | public Attachment | getAttachmentById(Long attachmentId) | public String | getAttachmentUrl(String id) | public void | getChildMsgs(Long messageId, List returnList) | public List | getFirstLevelChildMsgs(Long messageId) | public Message | getMessageById(Long messageId) | public Message | getMessageByIdWithAttachments(Long messageId) | public List | getPendingMsgsInSiteByMembership(List membershipList) | public List | getPendingMsgsInTopic(Long topicId) | public Map | getReadStatusForMessagesWithId(List msgIds, String userId) | public boolean | isMessageReadForUser(Long topicId, Long messageId) | public boolean | isToolInSite(String siteId, String toolId) | public void | markMessageApproval(Long messageId, boolean approved) | public void | markMessageReadForUser(Long topicId, Long messageId, boolean read) | public void | markMessageReadForUser(Long topicId, Long messageId, boolean read, String userId) | public void | saveMessage(Message message) | public List | sortMessageByAuthor(Topic topic, boolean asc) | public List | sortMessageByDate(Topic topic, boolean asc) | public List | sortMessageByDate(List list, boolean asc) | public List | sortMessageBySubject(Topic topic, boolean asc) |
createDiscussionMessage | public Message createDiscussionMessage()(Code) | | |
currentToolMatch | public boolean currentToolMatch(String toolId)(Code) | | |
deleteMsgWithChild | public void deleteMsgWithChild(Long messageId)(Code) | | |
deleteUnreadStatus | public void deleteUnreadStatus(Long topicId, Long messageId)(Code) | | |
findAuhtoredMessageCountByTopicIdByUserId | public int findAuhtoredMessageCountByTopicIdByUserId(Long topicId, String userId)(Code) | | |
findDiscussionForumMessageCountsForAllSites | public List findDiscussionForumMessageCountsForAllSites(List siteList)(Code) | | |
findDiscussionForumMessageRemoveCountsForAllSites | public List findDiscussionForumMessageRemoveCountsForAllSites(List siteList, List roleList)(Code) | | |
findDiscussionForumReadMessageCountsForAllSites | public List findDiscussionForumReadMessageCountsForAllSites()(Code) | | |
findDiscussionForumReadMessageRemoveCountsForAllSites | public List findDiscussionForumReadMessageRemoveCountsForAllSites(List roleList)(Code) | | |
findMessageCountByTopicId | public int findMessageCountByTopicId(Long topicId)(Code) | | |
findMessagesByTopicId | public List findMessagesByTopicId(Long topicId)(Code) | | |
findPvtMsgsBySearchText | public List findPvtMsgsBySearchText(String typeUuid, String searchText, Date searchFromDate, Date searchToDate, boolean searchByText, boolean searchByAuthor, boolean searchByBody, boolean searchByLabel, boolean searchByDate)(Code) | | |
findReadMessageCountByTopicId | public int findReadMessageCountByTopicId(Long topicId)(Code) | | |
findReadMessageCountByTopicIdByUserId | public int findReadMessageCountByTopicIdByUserId(Long topicId, String userId)(Code) | | |
findReadViewableMessageCountByTopicId | public int findReadViewableMessageCountByTopicId(Long topicId)(Code) | | |
findUnreadMessageCountByTopicId | public int findUnreadMessageCountByTopicId(Long topicId)(Code) | | |
findUnreadMessageCountByTopicIdByUserId | public int findUnreadMessageCountByTopicIdByUserId(Long topicId, String userId)(Code) | | |
findUnreadViewableMessageCountByTopicId | public int findUnreadViewableMessageCountByTopicId(Long topicId)(Code) | | |
findUnreadViewableMessageCountByTopicIdByUserId | public int findUnreadViewableMessageCountByTopicIdByUserId(Long topicId, String userId)(Code) | | |
findViewableMessageCountByTopicId | public int findViewableMessageCountByTopicId(Long topicId)(Code) | | |
findViewableMessageCountByTopicIdByUserId | public int findViewableMessageCountByTopicIdByUserId(Long topicId, String userId)(Code) | | |
getChildMsgs | public void getChildMsgs(Long messageId, List returnList)(Code) | | |
getFirstLevelChildMsgs | public List getFirstLevelChildMsgs(Long messageId)(Code) | | |
getMessageByIdWithAttachments | public Message getMessageByIdWithAttachments(Long messageId)(Code) | | |
getPendingMsgsInSiteByMembership | public List getPendingMsgsInSiteByMembership(List membershipList)(Code) | | Returns list of all messages in site with Pending approval for which
at least one of the given memberships has moderate perm
|
getPendingMsgsInTopic | public List getPendingMsgsInTopic(Long topicId)(Code) | | Retrieves all pending messages in a given topic
Parameters: topicId - |
getReadStatusForMessagesWithId | public Map getReadStatusForMessagesWithId(List msgIds, String userId)(Code) | | |
isMessageReadForUser | public boolean isMessageReadForUser(Long topicId, Long messageId)(Code) | | |
markMessageApproval | public void markMessageApproval(Long messageId, boolean approved)(Code) | | |
markMessageReadForUser | public void markMessageReadForUser(Long topicId, Long messageId, boolean read)(Code) | | |
markMessageReadForUser | public void markMessageReadForUser(Long topicId, Long messageId, boolean read, String userId)(Code) | | |
sortMessageByAuthor | public List sortMessageByAuthor(Topic topic, boolean asc)(Code) | | |
sortMessageByDate | public List sortMessageByDate(Topic topic, boolean asc)(Code) | | |
sortMessageByDate | public List sortMessageByDate(List list, boolean asc)(Code) | | |
sortMessageBySubject | public List sortMessageBySubject(Topic topic, boolean asc)(Code) | | |
|
|