The MessageRepository type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateMessage(Guid) |
Creates a message.
|
|
CreateMessage(Guid, Guid, String, String, Guid, String) |
Creates a message.
|
|
DeleteMessage |
Deletes a message
|
|
DeleteMessageRecipient |
Deletes a message recepient. User will not see the message anymore.
|
|
EnsureMessageExists |
Ensures that a message exists, if not creates a new one. Used primarily for uploading files, where file upload can be performed before the message is entered.
|
|
GetMessage |
Gets the Message.
|
|
GetMessageFilter |
Gets the message main filter.
|
|
GetMessageOrDefault |
Gets the message by primary key or return a default instance.
|
|
GetMessagePrefetchPath |
Gets the message prefetch path.
|
|
GetMessages(Guid, Guid, Int32, Int32, Int32%) |
Returns complete message history for single parent message. Used in a message details/reply window.
|
|
GetMessages(IRelationPredicateBucket, IPrefetchPath2, ISortExpression, Int32, Int32, Int32%) |
Returns a collection of SnMessageEntitys.
|
|
GetMessages(Guid, MessageStatus, String, String, SortDirection, Int32, Int32, Int32%) |
Returns all messages for a particular user and a message status. Used in the main message list modules.
|
|
GetMessages(Guid, List<(Of <<'(MessageStatus>)>>), String, String, SortDirection, Int32, Int32, Int32%) |
Returns all messages for a particular user and a message status. Used in the main message list modules.
|
|
GetMessagesFilter |
Gets the GetMessages filter.
|
|
GetMessageSorter |
Gets the message sorter.
|
|
GetNumberOfNewMessages |
Returns a number of new messages for a particular user (messages arrived after his LastActivityDate)
|
|
GetNumberOfUnreadMessages |
Returns number of unread messages for a particular user.
|
|
MarkAsRead |
Marks a message and all replies as read.
|
|
SaveMessage(SnMessageEntity) |
Saves a message to the SnMessage table before it can be sent to other recipients
|
|
SaveMessage(SnMessageEntity, Boolean) |
Saves a message to the SnMessage table before it can be sent to other recipients
|
|
SaveMessage(Guid, Guid, String, String, Guid, String) |
Saves a message to the SnMessage table before it can be sent to other recipients
|
|
SendMailToUser(Guid, MailMessage) |
Send an e-mail with InMail message to a user.
|
|
SendMailToUser(Guid, Guid, Boolean) |
Send an e-mail with InMail message to a user.
|
|
SendMailToUser(Guid, Guid, IFileContentProvider, Boolean) |
Send an e-mail with InMail message to a user.
|
|
SendMessageToGroup |
Sends a message to the members of a networking group
|
|
SendMessageToList |
Sends a message to all list members
|
|
SendMessageToUser(Guid, Guid, MessageStatus, Boolean, Boolean) |
Sends a message to the specific user.
|
|
SendMessageToUser(Guid, String, MessageStatus, Boolean, Boolean) |
Sends a message to the specific user.
|
|
SendMessageToUsers |
Sends a messages to the specific users.
|
|
SendReply |
Sends a reply message to all recipients of the original message.
|
Extension Methods
Name | Description | |
---|---|---|
ConvertTo(Type) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)()()()() | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)(TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
GetCurrentStackTrace |
Gets current stack trace information.
(Defined by ObjectExtension.) |
|
GetDebugInformation |
Gets the debug information for currently executing code.
(Defined by ObjectExtension.) |
|
GetExecutingMethodName |
Gets the executing method name.
(Defined by ObjectExtension.) |
|
GetPropertyType |
Gets a property type.
(Defined by ObjectExtension.) |
|
GetPropertyValue |
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.) |
|
PropertyExists |
Check if property exists.
(Defined by ObjectExtension.) |
|
SetPropertyValue |
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.) |