Show / Hide Table of Contents

Interface IInternalMessagingController

Namespace: DotNetNuke.Services.Social.Messaging.Internal
Assembly: DotNetNuke.dll
Syntax
public interface IInternalMessagingController

Methods

AttachmentsAllowed(int)

Declaration
bool AttachmentsAllowed(int portalId)
Parameters
Type Name Description
int portalId
Returns
Type Description
bool

CheckReplyHasRecipients(int, int)

Declaration
int CheckReplyHasRecipients(int conversationId, int userId)
Parameters
Type Name Description
int conversationId
int userId
Returns
Type Description
int

ConvertLegacyMessages(int, int)

Declaration
void ConvertLegacyMessages(int pageIndex, int pageSize)
Parameters
Type Name Description
int pageIndex
int pageSize

CountArchivedConversations(int, int)

Declaration
int CountArchivedConversations(int userId, int portalId)
Parameters
Type Name Description
int userId
int portalId
Returns
Type Description
int

CountArchivedMessages(int, int)

Declaration
int CountArchivedMessages(int userId, int portalId)
Parameters
Type Name Description
int userId
int portalId
Returns
Type Description
int

CountArchivedMessagesByConversation(int)

Declaration
int CountArchivedMessagesByConversation(int conversationId)
Parameters
Type Name Description
int conversationId
Returns
Type Description
int

CountConversations(int, int)

Declaration
int CountConversations(int userId, int portalId)
Parameters
Type Name Description
int userId
int portalId
Returns
Type Description
int

CountLegacyMessages()

Declaration
int CountLegacyMessages()
Returns
Type Description
int

CountMessagesByConversation(int)

Declaration
int CountMessagesByConversation(int conversationId)
Parameters
Type Name Description
int conversationId
Returns
Type Description
int

CountSentConversations(int, int)

Declaration
int CountSentConversations(int userId, int portalId)
Parameters
Type Name Description
int userId
int portalId
Returns
Type Description
int

CountSentMessages(int, int)

Declaration
int CountSentMessages(int userId, int portalId)
Parameters
Type Name Description
int userId
int portalId
Returns
Type Description
int

CountUnreadMessages(int, int)

Declaration
int CountUnreadMessages(int userId, int portalId)
Parameters
Type Name Description
int userId
int portalId
Returns
Type Description
int

DeleteMessageRecipient(int, int)

Declaration
void DeleteMessageRecipient(int messageId, int userId)
Parameters
Type Name Description
int messageId
int userId

DeleteUserFromConversation(int, int)

Declaration
void DeleteUserFromConversation(int conversationId, int userId)
Parameters
Type Name Description
int conversationId
int userId

DisablePrivateMessage(int)

Declaration
bool DisablePrivateMessage(int portalId)
Parameters
Type Name Description
int portalId
Returns
Type Description
bool

GetArchivedMessages(int, int, int)

Declaration
MessageBoxView GetArchivedMessages(int userId, int afterMessageId, int numberOfRecords)
Parameters
Type Name Description
int userId
int afterMessageId
int numberOfRecords
Returns
Type Description
MessageBoxView

GetAttachments(int)

Declaration
IEnumerable<MessageFileView> GetAttachments(int messageId)
Parameters
Type Name Description
int messageId
Returns
Type Description
IEnumerable<MessageFileView>

GetInbox(int, int, int, string, bool)

Declaration
MessageBoxView GetInbox(int userId, int afterMessageId, int numberOfRecords, string sortColumn, bool sortAscending)
Parameters
Type Name Description
int userId
int afterMessageId
int numberOfRecords
string sortColumn
bool sortAscending
Returns
Type Description
MessageBoxView

GetInbox(int, int, int, string, bool, MessageReadStatus, MessageArchivedStatus)

Declaration
MessageBoxView GetInbox(int userId, int afterMessageId, int numberOfRecords, string sortColumn, bool ascending, MessageReadStatus readStatus, MessageArchivedStatus archivedStatus)
Parameters
Type Name Description
int userId
int afterMessageId
int numberOfRecords
string sortColumn
bool ascending
MessageReadStatus readStatus
MessageArchivedStatus archivedStatus
Returns
Type Description
MessageBoxView

GetLastSentMessage(UserInfo)

Declaration
Message GetLastSentMessage(UserInfo sender)
Parameters
Type Name Description
UserInfo sender
Returns
Type Description
Message

GetMessage(int)

Declaration
Message GetMessage(int messageId)
Parameters
Type Name Description
int messageId
Returns
Type Description
Message

GetMessageRecipient(int, int)

Declaration
MessageRecipient GetMessageRecipient(int messageId, int userId)
Parameters
Type Name Description
int messageId
int userId
Returns
Type Description
MessageRecipient

GetMessageRecipients(int)

Declaration
IList<MessageRecipient> GetMessageRecipients(int messageId)
Parameters
Type Name Description
int messageId
Returns
Type Description
IList<MessageRecipient>

GetMessageThread(int, int, int, int, ref int)

Declaration
MessageThreadsView GetMessageThread(int conversationId, int userId, int afterMessageId, int numberOfRecords, ref int totalRecords)
Parameters
Type Name Description
int conversationId
int userId
int afterMessageId
int numberOfRecords
int totalRecords
Returns
Type Description
MessageThreadsView

GetMessageThread(int, int, int, int, string, bool, ref int)

Declaration
MessageThreadsView GetMessageThread(int conversationId, int userId, int afterMessageId, int numberOfRecords, string sortColumn, bool ascending, ref int totalRecords)
Parameters
Type Name Description
int conversationId
int userId
int afterMessageId
int numberOfRecords
string sortColumn
bool ascending
int totalRecords
Returns
Type Description
MessageThreadsView

GetNextMessagesForDigestDispatch(Frequency, Guid, int)

Declaration
IList<MessageRecipient> GetNextMessagesForDigestDispatch(Frequency frequency, Guid schedulerInstance, int batchSize)
Parameters
Type Name Description
Frequency frequency
Guid schedulerInstance
int batchSize
Returns
Type Description
IList<MessageRecipient>

GetNextMessagesForInstantDispatch(Guid, int)

Declaration
IList<MessageRecipient> GetNextMessagesForInstantDispatch(Guid schedulerInstance, int batchSize)
Parameters
Type Name Description
Guid schedulerInstance
int batchSize
Returns
Type Description
IList<MessageRecipient>

GetRecentInbox(int)

Declaration
MessageBoxView GetRecentInbox(int userId)
Parameters
Type Name Description
int userId
Returns
Type Description
MessageBoxView

GetRecentInbox(int, int, int)

Declaration
MessageBoxView GetRecentInbox(int userId, int afterMessageId, int numberOfRecords)
Parameters
Type Name Description
int userId
int afterMessageId
int numberOfRecords
Returns
Type Description
MessageBoxView

GetRecentSentbox(int)

Declaration
MessageBoxView GetRecentSentbox(int userId)
Parameters
Type Name Description
int userId
Returns
Type Description
MessageBoxView

GetRecentSentbox(int, int, int)

Declaration
MessageBoxView GetRecentSentbox(int userId, int afterMessageId, int numberOfRecords)
Parameters
Type Name Description
int userId
int afterMessageId
int numberOfRecords
Returns
Type Description
MessageBoxView

GetSentbox(int, int, int, string, bool)

Declaration
MessageBoxView GetSentbox(int userId, int afterMessageId, int numberOfRecords, string sortColumn, bool sortAscending)
Parameters
Type Name Description
int userId
int afterMessageId
int numberOfRecords
string sortColumn
bool sortAscending
Returns
Type Description
MessageBoxView

GetSentbox(int, int, int, string, bool, MessageReadStatus, MessageArchivedStatus)

Declaration
MessageBoxView GetSentbox(int userId, int afterMessageId, int numberOfRecords, string sortColumn, bool ascending, MessageReadStatus readStatus, MessageArchivedStatus archivedStatus)
Parameters
Type Name Description
int userId
int afterMessageId
int numberOfRecords
string sortColumn
bool ascending
MessageReadStatus readStatus
MessageArchivedStatus archivedStatus
Returns
Type Description
MessageBoxView

IncludeAttachments(int)

Declaration
bool IncludeAttachments(int portalId)
Parameters
Type Name Description
int portalId
Returns
Type Description
bool

MarkArchived(int, int)

Declaration
void MarkArchived(int conversationId, int userId)
Parameters
Type Name Description
int conversationId
int userId

MarkMessageAsDispatched(int, int)

Declaration
void MarkMessageAsDispatched(int messageId, int recipientId)
Parameters
Type Name Description
int messageId
int recipientId

MarkMessageAsSent(int, int)

Declaration
void MarkMessageAsSent(int messageId, int recipientId)
Parameters
Type Name Description
int messageId
int recipientId

MarkRead(int, int)

Declaration
void MarkRead(int conversationId, int userId)
Parameters
Type Name Description
int conversationId
int userId

MarkUnArchived(int, int)

Declaration
void MarkUnArchived(int conversationId, int userId)
Parameters
Type Name Description
int conversationId
int userId

MarkUnRead(int, int)

Declaration
void MarkUnRead(int conversationId, int userId)
Parameters
Type Name Description
int conversationId
int userId

RecipientLimit(int)

Declaration
int RecipientLimit(int portalId)
Parameters
Type Name Description
int portalId
Returns
Type Description
int

ReplyMessage(int, string, IList<int>)

Declaration
int ReplyMessage(int conversationId, string body, IList<int> fileIDs)
Parameters
Type Name Description
int conversationId
string body
IList<int> fileIDs
Returns
Type Description
int

ReplyMessage(int, string, IList<int>, UserInfo)

Declaration
int ReplyMessage(int conversationId, string body, IList<int> fileIDs, UserInfo sender)
Parameters
Type Name Description
int conversationId
string body
IList<int> fileIDs
UserInfo sender
Returns
Type Description
int

WaitTimeForNextMessage(UserInfo)

Declaration
int WaitTimeForNextMessage(UserInfo sender)
Parameters
Type Name Description
UserInfo sender
Returns
Type Description
int

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS