Package com.atlassian.confluence.pages
Interface NewCommentDeduplicator
-
- All Known Implementing Classes:
SubmissionTokenCommentDeduplicator
public interface NewCommentDeduplicator
Defines operations for deduplicating comments.- Since:
- 5.6
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description com.atlassian.fugue.Option<Comment>
findDuplicateComment(Iterable<Comment> existingComments)
Deprecated.since 7.0.1.default Optional<Comment>
getDuplicateComment(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
@Deprecated com.atlassian.fugue.Option<Comment> findDuplicateComment(Iterable<Comment> existingComments)
Deprecated.since 7.0.1. UsegetDuplicateComment(Iterable)
Given a collection of existing comments, determine which one, if any, is a duplicate of the new comment submission.
-
getDuplicateComment
default Optional<Comment> getDuplicateComment(Iterable<Comment> existingComments)
Given a collection of existing comments, determine which one, if any, is a duplicate of the new comment submission.- Since:
- 7.0.1
-
newCommentSaved
void newCommentSaved(Comment newComment)
Called when a new comment has been saved
-
-