The MessageBLL type exposes the following members.

Methods

  Name Description
Public method CreateMessage(Guid)
Creates a message.
Public method CreateMessage(Guid, Guid, String, String, Guid, String)
Creates a message.
Public method DeleteMessage
Deletes a message
Public method DeleteMessageRecipient
Deletes a message recepient. User will not see the message anymore.
Public method 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.
Public method GetMessage
Gets the Message.
Public method GetMessageFilter
Gets the message main filter.
Public method GetMessageOrDefault
Gets the message by primary key or return a default instance.
Public method GetMessagePrefetchPath
Gets the message prefetch path.
Public method GetMessages(Guid, Guid, Int32, Int32, Int32%)
Returns complete message history for single parent message. Used in a message details/reply window.
Public method GetMessages(IRelationPredicateBucket, IPrefetchPath2, ISortExpression, Int32, Int32, Int32%)
Returns a collection of SnMessageEntitys.
Public method 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.
Public method 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.
Public method GetMessagesFilter
Gets the GetMessages filter.
Public method GetMessageSorter
Gets the message sorter.
Public method GetNumberOfNewMessages
Returns a number of new messages for a particular user (messages arrived after his LastActivityDate)
Public method GetNumberOfUnreadMessages
Returns number of unread messages for a particular user.
Public method MarkAsRead
Marks a message and all replies as read.
Public method SaveMessage(SnMessageEntity)
Saves a message to the SnMessage table before it can be sent to other recipients
Public method SaveMessage(Guid, Guid, String, String, Guid, String)
Saves a message to the SnMessage table before it can be sent to other recipients
Public method SendMailToUser(Guid, Guid, Boolean)
Send an e-mail with InMail message to a user.
Public method SendMailToUser(Guid, Guid, IFileContentProvider, Boolean)
Send an e-mail with InMail message to a user.
Public method SendMessageToGroup
Sends a message to the members of a networking group
Public method SendMessageToList
Sends a message to all list members
Public method SendMessageToUser(Guid, Guid, MessageStatus, Boolean, Boolean)
Sends a message to the specific user.
Public method SendMessageToUser(Guid, String, MessageStatus, Boolean, Boolean)
Sends a message to the specific user.
Public method SendMessageToUsers
Sends a messages to the specific users.
Public method SendReply
Sends a reply message to all recipients of the original message.

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

See Also