The DiscussionRepository type exposes the following members.

Constructors

  Name Description
Protected method DiscussionRepository
Initializes a new instance of the DiscussionRepository class.

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
Deletes discussion board
Public method DeleteMessage(SnDiscussionMessageEntity)
Deletes message
Public method DeleteMessage(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
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.
Protected method FetchBoardLastPosts
Fetch the board last posts.
Protected method FetchBoardLastTopics
Fetch discussion board last topics.
Protected method FetchTopicLastPosts
Fetch the topic last posts.
Public method GetBoard(Guid)
Gets discussion board object
Public method GetBoard(Guid, Boolean)
Gets discussion board object
Public method GetBoardFromTopic
Gets topics discussion 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
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 GetBoardSecurityFilter
Add board security {board in role, moderator, owner} to filter.
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
Gets the message count for the discussion topic.
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, 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 GetTopicCountForBoard
Gets the topic count for the discussion board.
Public method GetTopicCustomFilter
Gets the topic custom filter.
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 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 GetTopicSecurityFilter
Add board security {board in role, moderator, owner} to filter.
Public method GetTopicSorter
Gets topic default sorter.
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 HasPinnedBoards
Gets the flag if discussion have a pinned boards.
Public method IsNonAdminFilterInclude
Gets a flag indication whether a non admin filter is included.
Public method IsTopicAnswered
Gets the flag if discussion topic is answered.
Protected method ParseBoardRoles
Parse board roles.
Public method ParseModerators
Parses board moderators string and constructs a board moderator collection for a given board entity.
Public method ParseTopicTags
Parses a tag string and constructs a topic tag collection for a given entity.
Public method PostMessage
Posts new message to discussion topic
Public method ReportMessageAsAdminAttentionRequired
Report discussion message as abusive or admin attention required.
Public method RequestMessageDelete
Request discussion message deletion.
Public method SetTopicViews
Set discussion topic views.
Public method TogglePinBoard
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 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
Update discussion message as admin approved (e.g. Published).
Public method UpdateTopic
Updates discussion topic.
Public method UpdateTopicAsApproved
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