Package | Description |
---|---|
com.atlassian.confluence.content.service.comment | |
com.atlassian.confluence.pages |
Constructor and Description |
---|
CreateCommentCommandImpl(PermissionManager permissionManager,
ContentEntityManager contentManager,
CommentManager commentManager,
long contentId,
long parentCommentId,
String commentBody,
NewCommentDeduplicator commentDeduplicator) |
CreateCommentFromEditorCommand(PermissionManager permissionManager,
ContentEntityManager contentManager,
CommentManager commentManager,
EditorConverter editConverter,
long pageId,
long parentCommentId,
String commentBody,
NewCommentDeduplicator commentDeduplicator) |
Modifier and Type | Class and Description |
---|---|
class |
SubmissionTokenCommentDeduplicator
A
NewCommentDeduplicator which uses a submission token, represented by a UUID,
to determine if a new submitted comment is a duplicate of any existing comments. |
Modifier and Type | Method and Description |
---|---|
@NonNull Comment |
DefaultCommentManager.addCommentToObject(ContentEntityObject ceo,
Comment parent,
String content,
@Nullable NewCommentDeduplicator commentDeduplicator) |
@NonNull Comment |
CommentManager.addCommentToObject(ContentEntityObject ceo,
@Nullable Comment parent,
String content,
NewCommentDeduplicator commentDeduplicator)
Add a new comment if the given deduplicator determines that it's not a duplicate, or just return the existing duplicate otherwise.
|
Copyright © 2003–2020 Atlassian. All rights reserved.