public class SubmissionTokenCommentDeduplicator extends Object implements NewCommentDeduplicator
NewCommentDeduplicator
which 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 and Description |
---|
SubmissionTokenCommentDeduplicator(UUID submissionToken) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Option<Comment> |
findDuplicateComment(Iterable<Comment> existingComments)
Deprecated.
since 7.0.1. Use
NewCommentDeduplicator.getDuplicateComment(Iterable) |
void |
newCommentSaved(Comment comment)
Called when a new comment has been saved
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDuplicateComment
public SubmissionTokenCommentDeduplicator(UUID submissionToken)
@Deprecated public com.atlassian.fugue.Option<Comment> findDuplicateComment(Iterable<Comment> existingComments)
NewCommentDeduplicator.getDuplicateComment(Iterable)
NewCommentDeduplicator
findDuplicateComment
in interface NewCommentDeduplicator
public void newCommentSaved(Comment comment)
NewCommentDeduplicator
newCommentSaved
in interface NewCommentDeduplicator
Copyright © 2003–2020 Atlassian. All rights reserved.
View cookie preferences