C# 클래스 Orchard.Comments.Services.CommentService

상속: ICommentService
파일 보기 프로젝트 열기: ucdavis/Orchard

공개 메소드들

메소드 설명
ApproveComment ( int commentId ) : void
CommentService ( IClock clock, ICommentValidator commentValidator, IOrchardServices orchardServices ) : System
CommentsDisabledForCommentedContent ( int id ) : bool
CreateComment ( Orchard.Comments.Services.CreateCommentContext context, bool moderateComments ) : CommentPart
DeleteComment ( int commentId ) : void
DisableCommentsForCommentedContent ( int id ) : void
EnableCommentsForCommentedContent ( int id ) : void
GetComment ( int id ) : CommentPart
GetCommentedContent ( int id ) : Orchard.ContentManagement.ContentItem
GetComments ( ) : CommentPartRecord>.IContentQuery
GetComments ( CommentStatus status ) : CommentPartRecord>.IContentQuery
GetCommentsForCommentedContent ( int id ) : CommentPartRecord>.IContentQuery
GetCommentsForCommentedContent ( int id, CommentStatus status ) : CommentPartRecord>.IContentQuery
GetDisplayForCommentedContent ( int id ) : Orchard.ContentManagement.ContentItemMetadata
MarkCommentAsSpam ( int commentId ) : void
UnapproveComment ( int commentId ) : void
UpdateComment ( int id, string name, string email, string siteName, string commentText, CommentStatus status ) : void

메소드 상세

ApproveComment() 공개 메소드

public ApproveComment ( int commentId ) : void
commentId int
리턴 void

CommentService() 공개 메소드

public CommentService ( IClock clock, ICommentValidator commentValidator, IOrchardServices orchardServices ) : System
clock IClock
commentValidator ICommentValidator
orchardServices IOrchardServices
리턴 System

CommentsDisabledForCommentedContent() 공개 메소드

public CommentsDisabledForCommentedContent ( int id ) : bool
id int
리턴 bool

CreateComment() 공개 메소드

public CreateComment ( Orchard.Comments.Services.CreateCommentContext context, bool moderateComments ) : CommentPart
context Orchard.Comments.Services.CreateCommentContext
moderateComments bool
리턴 CommentPart

DeleteComment() 공개 메소드

public DeleteComment ( int commentId ) : void
commentId int
리턴 void

DisableCommentsForCommentedContent() 공개 메소드

public DisableCommentsForCommentedContent ( int id ) : void
id int
리턴 void

EnableCommentsForCommentedContent() 공개 메소드

public EnableCommentsForCommentedContent ( int id ) : void
id int
리턴 void

GetComment() 공개 메소드

public GetComment ( int id ) : CommentPart
id int
리턴 CommentPart

GetCommentedContent() 공개 메소드

public GetCommentedContent ( int id ) : Orchard.ContentManagement.ContentItem
id int
리턴 Orchard.ContentManagement.ContentItem

GetComments() 공개 메소드

public GetComments ( ) : CommentPartRecord>.IContentQuery
리턴 CommentPartRecord>.IContentQuery

GetComments() 공개 메소드

public GetComments ( CommentStatus status ) : CommentPartRecord>.IContentQuery
status CommentStatus
리턴 CommentPartRecord>.IContentQuery

GetCommentsForCommentedContent() 공개 메소드

public GetCommentsForCommentedContent ( int id ) : CommentPartRecord>.IContentQuery
id int
리턴 CommentPartRecord>.IContentQuery

GetCommentsForCommentedContent() 공개 메소드

public GetCommentsForCommentedContent ( int id, CommentStatus status ) : CommentPartRecord>.IContentQuery
id int
status CommentStatus
리턴 CommentPartRecord>.IContentQuery

GetDisplayForCommentedContent() 공개 메소드

public GetDisplayForCommentedContent ( int id ) : Orchard.ContentManagement.ContentItemMetadata
id int
리턴 Orchard.ContentManagement.ContentItemMetadata

MarkCommentAsSpam() 공개 메소드

public MarkCommentAsSpam ( int commentId ) : void
commentId int
리턴 void

UnapproveComment() 공개 메소드

public UnapproveComment ( int commentId ) : void
commentId int
리턴 void

UpdateComment() 공개 메소드

public UpdateComment ( int id, string name, string email, string siteName, string commentText, CommentStatus status ) : void
id int
name string
email string
siteName string
commentText string
status CommentStatus
리턴 void