C# Class SaaSOvation.Collaboration.Application.Forums.DiscussionQueryService

Inheritance: AbstractQueryService
Show file Open project: eulerfx/IDDD_Samples_NET Class Usage Examples

Public Methods

Method Description
DiscussionQueryService ( DataSource dataSource ) : System
GetAllDiscussionsDataByForum ( string tenantId, string forumId ) : IList
GetDiscussionDataById ( string tenantId, string discussionId ) : SaaSOvation.Collaboration.Application.Forums.Data.DiscussionData
GetDiscussionIdByExclusiveOwner ( string tenantId, string exclusiveOwner ) : string
GetDiscussionPostsDataById ( string tenantId, string discussionId ) : SaaSOvation.Collaboration.Application.Forums.Data.DiscussionPostsData

Method Details

DiscussionQueryService() public method

public DiscussionQueryService ( DataSource dataSource ) : System
dataSource SaaSOvation.Common.Port.Adapters.Persistence.DataSource
return System

GetAllDiscussionsDataByForum() public method

public GetAllDiscussionsDataByForum ( string tenantId, string forumId ) : IList
tenantId string
forumId string
return IList

GetDiscussionDataById() public method

public GetDiscussionDataById ( string tenantId, string discussionId ) : SaaSOvation.Collaboration.Application.Forums.Data.DiscussionData
tenantId string
discussionId string
return SaaSOvation.Collaboration.Application.Forums.Data.DiscussionData

GetDiscussionIdByExclusiveOwner() public method

public GetDiscussionIdByExclusiveOwner ( string tenantId, string exclusiveOwner ) : string
tenantId string
exclusiveOwner string
return string

GetDiscussionPostsDataById() public method

public GetDiscussionPostsDataById ( string tenantId, string discussionId ) : SaaSOvation.Collaboration.Application.Forums.Data.DiscussionPostsData
tenantId string
discussionId string
return SaaSOvation.Collaboration.Application.Forums.Data.DiscussionPostsData