The DiscussionBLL type exposes the following members.

Methods

  Name Description
Public method BoardHasPinItems
Gets the flag if discussion board have a pin item.
Public method ChangeMessage(SnDiscussionMessageEntity)
Changes posted message
Public method ChangeMessage(SnDiscussionMessageEntity, Boolean)
Changes posted message
Public method ChangeMessage(Guid, String)
Changes posted message
Public method CreateBoard
Create new discussion board
Public method CreateTopic
Create new discussion board topic.
Public method DeleteBoard(Guid)
Deletes discussion board
Public method DeleteBoard(Nullable<(Of <<'(Guid>)>>), Guid)
Deletes discussion board
Public method DeleteMessage(SnDiscussionMessageEntity)
Deletes message
Public method DeleteMessage(Guid)
Deletes message
Public method DeleteMessage(Guid, Guid)
Deletes message
Public method DeleteSpamMessages
Delete discussion messages marked as spam for specified topic.
Public method DeleteSpamTopics
Delete discussion topics marked as spam for specified board.
Public method DeleteTopic(Guid)
Deletes discussion topic
Public method DeleteTopic(Guid, Guid)
Deletes discussion topic
Public method DeleteUnApprovedMessages
Delete discussion messages marked as unapproved for specified topic.
Public method DeleteUnApprovedTopics
Delete discussion topics marked as unapproved for specified board.
Public method DisapproveMessageDeleteRequest
Disapprove message request deletion.
Public method EnsureMessageExists(Guid)
Ensures that a message exists, if not creates a new one. Used primarily for uploading files, where file upload can be performed before the note is entered.
Public method EnsureMessageExists(Guid, Guid)
Ensures that a message exists, if not creates a new one. Used primarily for uploading files, where file upload can be performed before the note is entered.
Public method EnsureTopicExists(Guid, Guid, Guid, String)
Ensure discussion board topic exists.
Public method EnsureTopicExists(Guid, Guid, Guid, String, Int32)
Ensure discussion board topic exists.
Public method ExecuteNotifications(DiscussionSubscribeArgs)
Execute notification such as Activity Stream events, Subscription mailing etc.
Public method ExecuteNotifications(DiscussionSubscribeArgs, Boolean)
Execute notification such as Activity Stream events, Subscription mailing etc.
Public method GetBoard(Guid)
Gets the discussion board.
Public method GetBoard(Guid, Boolean)
Gets discussion board object
Public method GetBoardFromTopic
Gets topics disscussion board object
Public method GetBoardId
Gets the discussion board id of the specified topic.
Public method GetBoardIds
Gets the discussion board ids for the specific board names.
Public method GetBoardModerators(SnDiscussionBoardEntity)
Gets a list of moderator user ids for a particular discussion board.
Public method GetBoardModerators(Guid)
Gets a list of moderator user ids for a particular discussion board.
Public method GetBoardName
Gets the discussion board name of the specified board.
Public method GetBoardPinItems
Gets the discussion board pin items.
Public method GetBoardPrefetchPath
Gets the discussion board prefetch path.
Public method GetBoardRoles(SnDiscussionBoardEntity)
Gets a list of role ids for a particular discussion board.
Public method GetBoardRoles(Guid)
Gets a list of role ids for a particular discussion board.
Public method GetBoards(List<(Of <<'(Guid>)>>), List<(Of <<'(Guid>)>>), Nullable<(Of <<'(Guid>)>>), Int32, Int32, Int32%)
Gets all discussion boards.
Public method GetBoards(List<(Of <<'(Guid>)>>), List<(Of <<'(Guid>)>>), Nullable<(Of <<'(Guid>)>>), String, Int32, Int32, Int32%)
Gets all discussion boards.
Public method GetBoards(List<(Of <<'(Guid>)>>), List<(Of <<'(Guid>)>>), Nullable<(Of <<'(Guid>)>>), String, RelationPredicateBucket, Int32, Int32, Int32%)
Gets all discussion boards.
Public method GetBoards(List<(Of <<'(Guid>)>>), List<(Of <<'(Guid>)>>), Nullable<(Of <<'(Guid>)>>), String, Boolean, RelationPredicateBucket, Int32, Int32, Int32%)
Gets all discussion boards.
Public method GetBoards(Nullable<(Of <<'(Guid>)>>), List<(Of <<'(Guid>)>>), List<(Of <<'(Guid>)>>), Nullable<(Of <<'(Guid>)>>), String, Boolean, RelationPredicateBucket, Int32, Int32, Int32%)
Gets all discussion boards.
Public method GetDailyReportBoardIds(Int32, Int32, Int32%)
Gets daily report discussion board ids.
Public method GetDailyReportBoardIds(Nullable<(Of <<'(Guid>)>>), Int32, Int32, Int32%)
Gets daily report discussion board ids.
Public method GetDailyReportMessages
Gets daily report discussion board messages.
Public method GetDailyReportTopics
Gets daily report discussion board topics.
Public method GetGroupBoard
Gets discussion board for specified social network group.
Public method GetHotTopics
Gets the hot discussion board topics.
Public method GetMessage(Guid)
Gets discussion message
Public method GetMessage(Guid, Boolean)
Gets discussion message
Public method GetMessageCountForBoard
Gets the message count for the discussion board.
Public method GetMessageCountForTopic(Guid)
Gets the message count for the discussion topic.
Public method GetMessageCountForTopic(Guid, Guid)
Gets the message count for the discussion topic.
Public method GetMessageItemIndex
Gets the topic answer direct url.
Public method GetMessageItemUrl(String, Guid)
Gets the message item url.
Public method GetMessageItemUrl(String, Guid, String%)
Gets the message item url with proper bookmark, post name etc.
Public method GetMessages(Guid, Int32, Int32, Int32%)
Gets topic messages.
Public method GetMessages(Nullable<(Of <<'(Guid>)>>), Nullable<(Of <<'(Guid>)>>), Int32, Int32, Int32%)
Gets topic messages.
Public method GetMessages(Nullable<(Of <<'(Guid>)>>), Nullable<(Of <<'(Guid>)>>), String, Int32, Int32, Int32%)
Gets topic messages.
Public method GetMessages(Nullable<(Of <<'(Guid>)>>), Nullable<(Of <<'(Guid>)>>), String, RelationPredicateBucket, Int32, Int32, Int32%)
Gets topic messages.
Public method GetMessages(Nullable<(Of <<'(Guid>)>>), Nullable<(Of <<'(Guid>)>>), String, Boolean, RelationPredicateBucket, Int32, Int32, Int32%)
Gets topic messages.
Public method GetMessagesDefaultFilter
Gets the discussion messages default filter.
Public method GetMessagesDefaultSorter
Gets the discussion message default sorter.
Public method GetPinnedBoards(Nullable<(Of <<'(Guid>)>>), List<(Of <<'(Guid>)>>))
Gets the discussion pinned boards.
Public method GetPinnedBoards(Nullable<(Of <<'(Guid>)>>), Nullable<(Of <<'(Guid>)>>), List<(Of <<'(Guid>)>>))
Gets the discussion pinned boards.
Public method GetSpamMessageCountForTopic
Gets the spam message count for the discussion topic.
Public method GetSpamTopicsCountForBoard
Gets the spam topic count for the discussion board.
Public method GetTopic(Guid)
Gets the discussion topic.
Public method GetTopic(Guid, Boolean)
Gets discussion topic object
Public method GetTopic(Guid, Boolean, Int32)
Gets discussion topic object
Public method GetTopicAnswer
Gets the discussion topic answer.
Public method GetTopicAnswerId
Gets the flag if discussion topic is answered.
Public method GetTopicAnswerUrl
Gets the topic answer direct url.
Public method GetTopicAuthor
Gets the discussion topic author.
Public method GetTopicCountForBoard
Gets the topic count for the discussion board.
Public method GetTopicCustomFilter
Gets the topic custom filter.
Public method GetTopicDateCreated
Gets the discussion topic creation date.
Public method GetTopicDefaultFilter
Gets the topic default filter.
Public method GetTopicDefaultSorter
Gets topic default sorter.
Public method GetTopicId
Gets the discussion topic id of the specified topic.
Public method GetTopicItemIndex
Gets the topic answer direct url.
Public method GetTopicItemUrl(Guid, Guid, String, String, Int32, DiscussionTopicFilter, DiscussionTopicFilterBucket)
Gets the topic item url.
Public method GetTopicItemUrl(String, Guid, Nullable<(Of <<'(Int32>)>>), Nullable<(Of <<'(Int32>)>>), Nullable<(Of <<'(Int32>)>>), String, String%, String%)
Gets the topic item url with proper bookmark, topic name etc.
Public method GetTopicItemUrl(Guid, Guid, String, String, Int32, DiscussionTopicFilter, DiscussionTopicFilterBucket, String%, String%)
Gets the topic item url.
Public method GetTopicLinkItemId
Gets the topic link item id e.g. #Topic1231313123.
Public method GetTopicName
Gets the discussion topic name of the specified topic.
Public method GetTopicPinItems
Gets the discussion topic pin items.
Public method GetTopicPrefetchPath
Gets the discussion topic prefetch path.
Public method GetTopicRatingCount
Get topic rating count.
Public method GetTopics(Guid, Int32, Int32, Int32%)
Gets all discussion board topics.
Public method GetTopics(Nullable<(Of <<'(Guid>)>>), String, Int32, Int32, Int32%)
Gets all discussion board topics.
Public method GetTopics(Nullable<(Of <<'(Guid>)>>), String, Boolean, IRelationPredicateBucket, Int32, Int32, Int32%)
Gets all discussion board topics.
Public method GetTopics(Nullable<(Of <<'(Guid>)>>), Nullable<(Of <<'(Guid>)>>), String, Boolean, IRelationPredicateBucket, ISortExpression, Int32, Int32, Int32%)
Gets all discussion board topics.
Public method GetTopicSorter
Gets topic default sorter.
Public method GetTopicTags
Gets the topic tags.
Public method GetTopicViews
Gets the discussion topic views.
Public method GetUnApprovedMessageCountForTopic
Gets the unapproved message count for the discussion topic.
Public method GetUnApprovedTopicsCountForBoard
Gets the unapproved topic count for the discussion board.
Public method GetUserTotalPosts
Gets the user total discussion board posts.
Public method HandleExternalAction
Handles discussion external actions.
Public method HasPinnedBoards
Gets the flag if discussion have a pinned boards.
Public method IncrementTopicViews
Increment discussion topic views.
Public method InvalidateAllTotalPosts
Invalidate the total discussion posts cache.
Public method InvalidateBoardCache
Invalidate cache for the specified board.
Public method InvalidateBoardHasPinItems
Invalidates the discussion board have a pin item cache.
Public method InvalidateBoardModerators
Invalidates a list of moderator user ids for a particular discussion board.
Public method InvalidateDiscussionCache
Invalidate all discussion cache.
Public method InvalidateGetBoardPinItems
Invalidate the discussion board pin items cache.
Public method InvalidateGetPinnedBoards
Invalidate the discussion pinned boards cache.
Public method InvalidateGetTopic
Invalidate get discussion topic from Http context.
Public method InvalidateGetTopicPinItems
Invalidates the discussion topic pin items cache.
Public method InvalidateHasPinnedBoards
Invalidates the discussion have a pinned boards cache.
Public method InvalidateIsTopicAnswered
Invalidate is topic answered from Http context.
Public method InvalidateMessageCountCache
Invalidate message count cache.
Public method InvalidateTopicHasPinItems
Invalidates the discussion topic have a pin item cache.
Public method InvalidateTopicTagsCache
Invalidates topic tags cache.
Public method InvalidateUserTotalPosts
Invalidate the user total discussion board posts cache.
Public method IsDiscussionEditableByUser(SnDiscussionBoardEntity, Guid)
Checks if the discussion can be edited by the specified user.
Public method IsDiscussionEditableByUser(Guid, Guid)
Checks if the discussion can be edited by the specified user.
Public method IsNonAdminFilterInclude
Gets a flag indicationg whether a non admin filter is included.
Public method IsTopicAnswered
Gets the flag if discussion topic is answered.
Public method ParseModerators
Parses board moderators string and constructs a board moderator collection for a given board entity.
Protected method ParseTemplateTags
Parses all template tags and generates a proper HTML based on the current template.
Public method ParseTopicTags
Parses a tag string and constructs a topic tag collection for a given entity.
Public method PostMessage(Guid, Guid, Guid, String)
Posts new meesage to discussion topic
Public method PostMessage(Guid, Guid, Guid, Guid, String)
Posts new meesage to discussion topic
Public method ReportHamMessage
Reports a message as HAM.
Public method ReportMessageAsAdminAttentionRequired
Report discussion message as abusive or admin attention required.
Public method ReportSpamMessage
Reports a message as SPAM.
Public method ReportSpamTopic
Reports a topic as SPAM.
Public method RequestMessageDelete
Request discussion message deletion.
Public method SendDailyReport
Send daily report to Administrators, Discussion administrators and board moderators.
Public method SetTopicViews
Set discussion topic views.
Public method ToggleBoardClosed
Toggle board closed status.
Public method ToggleMessageAsAnswer
Toggle the answer flag on the discussion topic message.
Public method TogglePinBoard(Guid)
Gets the flag if discussion board is pinned.
Public method TogglePinBoard(Nullable<(Of <<'(Guid>)>>), Guid)
Gets the flag if discussion board is pinned.
Public method TogglePinMessage
Gets the flag if discussion message is pinned.
Public method TogglePinTopic
Gets the flag if discussion topic is pinned.
Public method ToggleTopicClosed
Toggle topic closed status.
Public method TopicHasPinItems
Gets the flag if discussion topic have a pin item.
Public method UpdateBoard
Updates discussion board.
Public method UpdateMessageAsAdminAttention
Update discussion message admin approved and not considered as abusive.
Public method UpdateMessageAsAdminAttentionApproved
Update discussion message as admin approved and not considered as abusive.
Public method UpdateMessageAsAdminAttentionDisapproved
Update discussion message as admin disapproved and considered as abusive.
Public method UpdateMessageAsApproved(Guid)
Update discussion message as admin approved (e.g. Published).
Public method UpdateMessageAsApproved(Guid, Guid, Guid)
Update discussion message as admin approved (e.g. Published).
Public method UpdateTopic
Updates discussion topic.
Public method UpdateTopicAsApproved(Guid)
Update discussion topic as admin approved (e.g. Published).
Public method UpdateTopicAsApproved(Guid, Guid)
Update discussion topic as admin approved (e.g. Published).

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