Package com.atlassian.confluence.pages
Class SubmissionTokenCommentDeduplicator
- java.lang.Object
- 
- com.atlassian.confluence.pages.SubmissionTokenCommentDeduplicator
 
- 
- All Implemented Interfaces:
- NewCommentDeduplicator
 
 public class SubmissionTokenCommentDeduplicator extends Object implements NewCommentDeduplicator ANewCommentDeduplicatorwhich uses a submission token, represented by a UUID, to determine if a new submitted comment is a duplicate of any existing comments.The UUID is stored as a content property against the comment. 
- 
- 
Constructor SummaryConstructors Constructor Description SubmissionTokenCommentDeduplicator(UUID submissionToken)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description com.atlassian.fugue.Option<Comment>findDuplicateComment(Iterable<Comment> existingComments)Deprecated.since 7.0.1.voidnewCommentSaved(Comment comment)Called when a new comment has been saved- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.atlassian.confluence.pages.NewCommentDeduplicatorgetDuplicateComment
 
- 
 
- 
- 
- 
Constructor Detail- 
SubmissionTokenCommentDeduplicatorpublic SubmissionTokenCommentDeduplicator(UUID submissionToken) 
 
- 
 - 
Method Detail- 
findDuplicateComment@Deprecated public com.atlassian.fugue.Option<Comment> findDuplicateComment(Iterable<Comment> existingComments) Deprecated.since 7.0.1. UseNewCommentDeduplicator.getDuplicateComment(Iterable)Description copied from interface:NewCommentDeduplicatorGiven a collection of existing comments, determine which one, if any, is a duplicate of the new comment submission.- Specified by:
- findDuplicateCommentin interface- NewCommentDeduplicator
 
 - 
newCommentSavedpublic void newCommentSaved(Comment comment) Description copied from interface:NewCommentDeduplicatorCalled when a new comment has been saved- Specified by:
- newCommentSavedin interface- NewCommentDeduplicator
 
 
- 
 
-