com.atlassian.confluence.pages
Interface NewCommentDeduplicator

All Known Implementing Classes:
SubmissionTokenCommentDeduplicator

public interface NewCommentDeduplicator

Defines operations for deduplicating comments.

Since:
5.6

Method Summary
 com.atlassian.fugue.Option<Comment> findDuplicateComment(Iterable<Comment> existingComments)
          Given a collection of existing comments, determine which one, if any, is a duplicate of the new comment submission.
 void newCommentSaved(Comment newComment)
          Called when a new comment has been saved
 

Method Detail

findDuplicateComment

com.atlassian.fugue.Option<Comment> findDuplicateComment(Iterable<Comment> existingComments)
Given a collection of existing comments, determine which one, if any, is a duplicate of the new comment submission.


newCommentSaved

void newCommentSaved(Comment newComment)
Called when a new comment has been saved



Copyright © 2003–2015 Atlassian. All rights reserved.