C# Class Orchard.Comments.Services.CommentService

Inheritance: ICommentService
Afficher le fichier Open project: ucdavis/Orchard

Méthodes publiques

Méthode Description
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

Method Details

ApproveComment() public méthode

public ApproveComment ( int commentId ) : void
commentId int
Résultat void

CommentService() public méthode

public CommentService ( IClock clock, ICommentValidator commentValidator, IOrchardServices orchardServices ) : System
clock IClock
commentValidator ICommentValidator
orchardServices IOrchardServices
Résultat System

CommentsDisabledForCommentedContent() public méthode

public CommentsDisabledForCommentedContent ( int id ) : bool
id int
Résultat bool

CreateComment() public méthode

public CreateComment ( Orchard.Comments.Services.CreateCommentContext context, bool moderateComments ) : CommentPart
context Orchard.Comments.Services.CreateCommentContext
moderateComments bool
Résultat CommentPart

DeleteComment() public méthode

public DeleteComment ( int commentId ) : void
commentId int
Résultat void

DisableCommentsForCommentedContent() public méthode

public DisableCommentsForCommentedContent ( int id ) : void
id int
Résultat void

EnableCommentsForCommentedContent() public méthode

public EnableCommentsForCommentedContent ( int id ) : void
id int
Résultat void

GetComment() public méthode

public GetComment ( int id ) : CommentPart
id int
Résultat CommentPart

GetCommentedContent() public méthode

public GetCommentedContent ( int id ) : Orchard.ContentManagement.ContentItem
id int
Résultat Orchard.ContentManagement.ContentItem

GetComments() public méthode

public GetComments ( ) : CommentPartRecord>.IContentQuery
Résultat CommentPartRecord>.IContentQuery

GetComments() public méthode

public GetComments ( CommentStatus status ) : CommentPartRecord>.IContentQuery
status CommentStatus
Résultat CommentPartRecord>.IContentQuery

GetCommentsForCommentedContent() public méthode

public GetCommentsForCommentedContent ( int id ) : CommentPartRecord>.IContentQuery
id int
Résultat CommentPartRecord>.IContentQuery

GetCommentsForCommentedContent() public méthode

public GetCommentsForCommentedContent ( int id, CommentStatus status ) : CommentPartRecord>.IContentQuery
id int
status CommentStatus
Résultat CommentPartRecord>.IContentQuery

GetDisplayForCommentedContent() public méthode

public GetDisplayForCommentedContent ( int id ) : Orchard.ContentManagement.ContentItemMetadata
id int
Résultat Orchard.ContentManagement.ContentItemMetadata

MarkCommentAsSpam() public méthode

public MarkCommentAsSpam ( int commentId ) : void
commentId int
Résultat void

UnapproveComment() public méthode

public UnapproveComment ( int commentId ) : void
commentId int
Résultat void

UpdateComment() public méthode

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
Résultat void