|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Message | |
|---|---|
| blackboard.data.discussionboard | |
| blackboard.data.discussionboard.datamanager | |
| blackboard.persist.discussionboard | |
| Uses of Message in blackboard.data.discussionboard |
|---|
| Methods in blackboard.data.discussionboard that return Message | |
|---|---|
Message |
MessageStatus.getAncestorObject()
Returns the ancestor message of a message |
| Methods in blackboard.data.discussionboard with parameters of type Message | |
|---|---|
void |
Message.appendResponse(Message msg)
Appends the given Message to the current list of responses
currently defined for this Message. |
void |
Forum.appendTopLevelThread(Message msg)
Appends the given Message to the current list of top level
message threads currently defined for this Forum. |
| Uses of Message in blackboard.data.discussionboard.datamanager |
|---|
| Methods in blackboard.data.discussionboard.datamanager that return Message | |
|---|---|
Message |
MessageManager.loadById(Id message_id)
Load a message by Id. |
Message |
MessageManager.loadTopThreadById(Id message_id)
Load a top level topic message by Id. |
Message |
MessageManager.loadWithStatus(Id msg_id,
Id user_id)
Load a message, including the status, by its Id. |
| Methods in blackboard.data.discussionboard.datamanager that return types with arguments of type Message | |
|---|---|
java.util.List<Message> |
MessageManager.collectMessagesByThreadId(Id threadId)
Collect all child messages by the Id of the top-level topic message. |
java.util.List<Message> |
MessageManager.collectMessagesWithStatusByStringIds(java.lang.String[] messageIds,
Id currentUserInContext,
boolean loadTags)
Collect a list of message with message statuses by their string message identifiers. |
java.util.List<Message> |
MessageManager.collectMessagesWithStatusByThreadId(Id threadId,
Id currentUserIdInContext,
boolean loadTags)
Collect all child messages by the Id of the top-level topic message. |
java.util.List<Message> |
MessageManager.collectMessagesWithStatusByThreadIds(java.util.List<Id> threadIds,
Id forumId,
Id currentUserId,
boolean loadTags)
Collect all messages in the specified threads (including the thread messages themselves) |
java.util.List<Message> |
MessageManager.collectUnreadMessagesByUserIdAndForumId(Id userId,
Id forumId,
boolean loadTags)
Collect unread messages with message status only, by user id and forum id |
java.util.List<Message> |
MessageManager.collectUnreadMessagesByUserIdAndThreadId(Id userId,
Id threadId,
boolean loadTags)
Collect unread messages with message status only, by user id and thread id |
java.util.List<Message> |
UserMsgStateManager.updateUserMessageReadCount(java.util.List<Message> messageList,
Id userId)
Updates the read count for the list of messages. |
| Methods in blackboard.data.discussionboard.datamanager with parameters of type Message | |
|---|---|
java.lang.String |
MessageManager.getParentBody(Message message)
Get the body of the immediate message parent. |
void |
MessageManager.save(Message message)
Save a message. |
| Method parameters in blackboard.data.discussionboard.datamanager with type arguments of type Message | |
|---|---|
boolean |
MessageManager.containsOnlyCalculatedUserNames(java.util.Collection<Message> messages)
Returns false if any of the Messages in the collection are using stored names that will not sort correctly by last or first names (e.g., if they are stored as Anonymous, or stored directly in the postedName field rather than calculated on the fly). |
java.util.List<Message> |
UserMsgStateManager.updateUserMessageReadCount(java.util.List<Message> messageList,
Id userId)
Updates the read count for the list of messages. |
| Uses of Message in blackboard.persist.discussionboard |
|---|
| Methods in blackboard.persist.discussionboard that return Message | |
|---|---|
Message |
MessageXmlLoader.load(org.w3c.dom.Element rootElement)
Generates an Message object given an Element tree whose
structure and contents match those generated by MessageXMLPersister
. |
Message |
MessageXmlLoader.load(java.io.InputStream is)
Generates an Message object given an InputStream which
contains XML whose structure and contents match those generated by
MessageXMLPerister. |
Message |
MessageDbLoader.loadById(Id id)
Load the Message with the given Id from the database in a lightweight fashion using a connection obtained through this object's database context. |
Message |
MessageDbLoader.loadById(Id id,
java.sql.Connection con)
Load the Message with the given Id from the database in a lightweight fashion using the supplied connection. |
Message |
MessageDbLoader.loadById(Id id,
java.sql.Connection con,
boolean bHeavy)
Load the Message with the given Id from the database in the specified fashion (lightweight or heavyweight) using the supplied connection. |
Message |
MessageDbLoader.loadById(Id id,
java.sql.Connection con,
boolean bHeavy,
boolean bDeep)
Load the Message with the given Id from the database in the specified fashion (lightweight or heavyweight) using the supplied connection. |
Message |
MessageDbLoader.loadTopThreadById(Id id)
Load the top thread with the given Id from the database in a lightweight fashion using a connection obtained through this object's database context. |
Message |
MessageDbLoader.loadTopThreadById(Id id,
java.sql.Connection con)
Load the top thread with the given Id from the database in a lightweight fashion using the supplied connection. |
Message |
MessageDbLoader.loadWithStatusByIdAndUserId(Id messageId,
Id userId)
load messageId and userId from the database in the specified fashion (lightweight or heavyweight) using the supplied connection. |
Message |
MessageDbLoader.loadWithStatusByIdAndUserId(Id messageId,
Id userId,
java.sql.Connection con)
load messageId and userId from the database in the specified fashion (lightweight or heavyweight) using a connection obtained through this object's database context. |
| Methods in blackboard.persist.discussionboard that return types with arguments of type Message | |
|---|---|
java.util.List<Message> |
MessageDbLoader.loadImmediateChildrenByMessageId(Id parentId)
Loads a list of all immediate child messages of the given parent message WITHOUT MessageStatus objects or other heavy objects. |
java.util.List<Message> |
MessageDbLoader.loadImmediateChildrenByMessageId(Id parentId,
java.sql.Connection con)
Loads a list of all immediate child messages of the given parent message WITHOUT MessageStatus objects or other heavy objects,
using the supplied connection. |
java.util.List<Message> |
MessageDbLoader.loadImmediateChildrenWithStatusAndCountsByMessageId(Id messageId,
Id forumId,
Id userId)
Loads the immediate childen of the specified message using a connection obtained through this object's database context |
java.util.List<Message> |
MessageDbLoader.loadImmediateChildrenWithStatusAndCountsByMessageId(Id messageId,
Id forumId,
Id userId,
java.sql.Connection con)
Loads the immediate childen of the specified message using the specified database connection |
java.util.List<Message> |
MessageDbLoader.loadMessagesByForumIdAndAuthorIdWithStatus(Id forumId,
Id userId,
Id authorId,
boolean heavyAttachment,
boolean includeTopic,
boolean loadTags)
Loads a list of messages (PUBLISHED only) in the given forum authored by the specified user using a connection obtained through this object's database context The returned messages are "heavy" in that they have the message body in them Any Tags associated with the messages are also loaded. |
java.util.List<Message> |
MessageDbLoader.loadMessagesByForumIdAndAuthorIdWithStatus(Id forumId,
Id userId,
Id authorId,
boolean heavyAttachment,
boolean includeTopic,
boolean loadTags,
java.sql.Connection con)
Loads a list of messages (PUBLISHED only) in the given forum authored by the specified user using the specified database connection The returned messages are "heavy" in that they have the message body in them Any Tags associated with the messages are also loaded. |
java.util.List<Message> |
MessageDbLoader.loadMessagesByForumIdAndTagIdWithStatus(Id forumId,
Id userId,
Id tagId,
boolean heavyAttachment,
boolean includeTopic,
boolean loadTags)
Loads a list of messages in the given forum having the specified tag using the specified database connection The returned messages are "heavy" in that they have the message body in them Any Tags associated with the messages are also loaded. |
java.util.List<Message> |
MessageDbLoader.loadMessagesByForumIdAndTagIdWithStatus(Id forumId,
Id userId,
Id tagId,
boolean heavyAttachment,
boolean includeTopic,
boolean loadTags,
java.sql.Connection con)
Loads a list of messages in the given forum having the specified tag using a connection obtained through this object's database context. |
java.util.List<Message> |
MessageDbLoader.loadMessagesByForumIdWithStatus(Id forumId,
Id userId,
boolean unreadOnly,
boolean heavyAttachment,
boolean includeTopic,
boolean loadTags)
Loads a list of messages in the given forum using a connection obtained through this object's database context The returned messages are "heavy" in that they have the message body in them Any Tags associated with the messages are also loaded. |
java.util.List<Message> |
MessageDbLoader.loadMessagesByForumIdWithStatus(Id forumId,
Id userId,
boolean unreadOnly,
boolean heavyAttachment,
boolean includeTopic,
boolean loadTags,
java.sql.Connection con)
Loads a list of messages in the given forum using the specified database connection The returned messages are "heavy" in that they have the message body in them Any Tags associated with the messages are also loaded. |
java.util.List<Message> |
MessageDbLoader.loadMessagesByMsgIdsWithStatus(java.util.List<Id> msgIds,
Id userId,
boolean heavyAttachment,
boolean includeTopic,
boolean loadTags)
Loads the specified messages with status information using the specified database connection. |
java.util.List<Message> |
MessageDbLoader.loadMessagesByMsgIdsWithStatus(java.util.List<Id> msgIds,
Id userId,
boolean heavyAttachment,
boolean includeTopic,
boolean loadTags,
java.sql.Connection con)
Loads the specified messages with status information using a connection obtained through this object's database context. |
java.util.List<Message> |
MessageDbLoader.loadMessagesBySearchWithStatus(Id userId,
java.lang.String scopeType,
Id scopeId,
java.lang.String keyword,
java.lang.String startDate,
java.lang.String endDate,
boolean heavyAttachment,
boolean includeTopic,
boolean loadTags)
Returns the result of searching messages by keyword, in a date range, and in a specific scope using a connection obtained through this object's database context. |
java.util.List<Message> |
MessageDbLoader.loadMessagesBySearchWithStatus(Id userId,
java.lang.String scopeType,
Id scopeId,
java.lang.String keyword,
java.lang.String startDate,
java.lang.String endDate,
boolean heavyAttachment,
boolean includeTopic,
boolean loadTags,
java.sql.Connection con)
Returns the result of searching messages by keyword, in a date range, and in a specific scope using the specified connection. |
java.util.List<Message> |
MessageDbLoader.loadMessagesByThreadIdAndAuthorIdWithStatus(Id topMsgId,
Id userId,
Id authorId,
boolean heavyAttachment,
boolean includeTopic,
boolean loadTags)
Loads a list of messages (PUBLISHED only) in the given thread authored by the specified user using a connection obtained through this object's database context. |
java.util.List<Message> |
MessageDbLoader.loadMessagesByThreadIdAndAuthorIdWithStatus(Id topMsgId,
Id userId,
Id authorId,
boolean heavyAttachment,
boolean includeTopic,
boolean loadTags,
java.sql.Connection con)
Loads a list of messages (PUBLISHED only) in the given thread authored by the specified user using the specified database connection. |
java.util.List<Message> |
MessageDbLoader.loadMessagesByThreadIdsWithStatus(java.util.List<Id> threadIds,
Id forumId,
Id userId,
boolean heavyAttachment,
boolean includeTopic,
boolean loadTags)
Loads a list of messsages in the specified threads using a connection obtained through this object's database context. |
java.util.List<Message> |
MessageDbLoader.loadMessagesByThreadIdsWithStatus(java.util.List<Id> threadIds,
Id forumId,
Id userId,
boolean heavyAttachment,
boolean includeTopic,
boolean loadTags,
java.sql.Connection con)
Loads a list of messsages in the specified threads using the specified database connection. |
java.util.List<Message> |
MessageDbLoader.loadMessagesByThreadIdWithStatus(Id topMsgId,
Id userId,
boolean unreadOnly,
boolean heavyAttachment,
boolean includeTopic,
boolean loadTags)
Loads a list of messages in the given thread using a connection obtained through this object's database context. |
java.util.List<Message> |
MessageDbLoader.loadMessagesByThreadIdWithStatus(Id topMsgId,
Id userId,
boolean unreadOnly,
boolean heavyAttachment,
boolean includeTopic,
boolean loadTags,
java.sql.Connection con)
Loads a list of messages in the given thread using the specified database connection. |
java.util.List<Message> |
MessageDbLoader.loadMessagesWithStatusAndCountsByForumId(Id forumId,
Id userId)
Loads all the messages in a forum using a connection obtained through this object's database context |
java.util.List<Message> |
MessageDbLoader.loadMessagesWithStatusAndCountsByForumId(Id forumId,
Id userId,
java.sql.Connection con)
Loads all the messages in a forum using the specified database connection |
java.util.List<Message> |
MessageDbLoader.loadMessageThreadWithStatus(Id msgId,
Id userId,
boolean heavyAttachment,
boolean loadBody,
boolean includeTopic)
Loads the messages in the specified thread using a connection obtained through this object's database context |
java.util.List<Message> |
MessageDbLoader.loadMessageThreadWithStatus(Id msgId,
Id userId,
boolean heavyAttachment,
boolean loadBody,
boolean includeTopic,
java.sql.Connection con)
Loads the messages in the specified thread using the specified database connection |
java.util.List<Message> |
MessageDbLoader.loadMessageThreadWithStatusAndTags(Id msgId,
Id userId,
boolean heavyAttachment,
boolean loadBody,
boolean includeTopic)
Loads the messages and accompanying Tags in the specified thread using a connection obtained through this object's database context |
java.util.List<Message> |
MessageDbLoader.loadTopThreadsWithStatusAndCountsByForumId(Id forumId,
Id userId,
boolean loadAttachments,
boolean loadTags,
boolean flagRollup)
Loads the top threads in a forum using a connection obtained through this object's database context |
java.util.List<Message> |
MessageDbLoader.loadTopThreadsWithStatusAndCountsByForumId(Id forumId,
Id userId,
boolean loadAttachment,
boolean loadTags,
boolean flagRollup,
java.sql.Connection con)
Loads the top threads in a forum using the specified database connection |
| Methods in blackboard.persist.discussionboard with parameters of type Message | |
|---|---|
void |
MessageDbPersister.persist(Message message)
Inserts or updates the supplied Message using a connection
from the associated persistence manager's database container. |
void |
MessageDbPersister.persist(Message message,
java.sql.Connection con)
Inserts or updates the supplied Message using the supplied
connection. |
org.w3c.dom.Element |
MessageXmlPersister.persist(Message obj,
org.w3c.dom.Document doc)
Generates an Element tree whose values and structure matches the
contents of the provided Message object. |
void |
MessageDbPersister.saveMessageHitCount(Message msg)
Update the message hit count |
void |
MessageDbPersister.saveMessageHitCount(Message msg,
java.sql.Connection con)
Update the message hit count |
void |
MessageDbPersister.saveMessageLifeCycleAndThreadLock(Message msg)
Update the message life cycle |
void |
MessageDbPersister.saveMessageLifeCycleAndThreadLock(Message msg,
java.sql.Connection con)
Update the message life cycle |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||