Uses of Class
com.atlassian.confluence.pages.Comment
Package
Description
This package contains handlers that know how to create change values out of
changed objects.
-
Uses of Comment in com.atlassian.confluence.admin.actions.debug
-
Uses of Comment in com.atlassian.confluence.api.impl.service.content.typebinding
Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionprotected PageResponse<Content>
CommentContentTypeApiSupport.getChildrenForThisType
(Comment content, LimitedRequest limitedRequest, Expansions expansions, Depth depth) protected PageResponse<Content>
CommentContentTypeApiSupport.getFilteredChildrenForThisType
(Comment content, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<? super ContentEntityObject> predicate) CommentContentTypeApiSupport.validateUpdate
(Content updatedContent, Comment existingEntity) Modifier and TypeMethodDescriptionCommentContentTypeApiSupport.getExtensions
(Iterable<Comment> contentEntities, Expansions expansions) -
Uses of Comment in com.atlassian.confluence.content.apisupport
Modifier and TypeMethodDescriptionvoid
CommentExtensionsSupport.updateExtensionsOnEntity
(Comment comment, Map<String, Object> extensions) A creation hook, extension properties should be set on the passed in comment object.void
NullCommentExtensionsSupport.updateExtensionsOnEntity
(Comment comment, Map<String, Object> extensions) CommentExtensionsSupport.validateExtensionsForUpdate
(Comment comment, Map<String, Object> extensions, SimpleValidationResult.Builder validationResultBuilder) Validation hook for update operations.NullCommentExtensionsSupport.validateExtensionsForUpdate
(Comment comment, Map<String, Object> extensions, SimpleValidationResult.Builder validationResultBuilder) Modifier and TypeMethodDescriptionCommentExtensionsSupport.getExtensions
(Iterable<Comment> comments, Expansions expansions) Get the map of extension properties for each of the comment entitiesNullCommentExtensionsSupport.getExtensions
(Iterable<Comment> comments, Expansions expansions) -
Uses of Comment in com.atlassian.confluence.content.render.xhtml.links
Modifier and TypeMethodDescriptionLinksUpdater.expandRelativeReferencesInContent
(Comment comment) Expand any relative links or embedded files/images encountered in the supplied comment.XhtmlLinksUpdater.expandRelativeReferencesInContent
(Comment comment) -
Uses of Comment in com.atlassian.confluence.content.render.xhtml.model.resource.identifiers
Modifier and TypeMethodDescriptionprotected boolean
DefaultResourceIdentifierMatcher.matches
(Comment comment, ResourceIdentifier ri) Remembering that this implementation is intended for use in rendering then a Comment is said to match the ResourceIdentifier if the parent of the Comment matches the ResourceIdentifier. -
Uses of Comment in com.atlassian.confluence.content.service.comment
Modifier and TypeMethodDescriptionCommentCommand.getComment()
CreateCommentCommand.getComment()
Gets the comment that was created.CreateCommentCommandImpl.getComment()
DeleteCommentCommand.getComment()
Gets the comment that was removed.DeleteCommentCommandImpl.getComment()
EditCommentCommand.getComment()
Gets the comment that was edited.EditCommentCommandImpl.getComment()
-
Uses of Comment in com.atlassian.confluence.core
Modifier and TypeMethodDescriptionvoid
ContentEntityObject.addComment
(Comment comment) void
ContentEntityObject.removeComment
(Comment comment) -
Uses of Comment in com.atlassian.confluence.dmz.pages
Modifier and TypeMethodDescription@NonNull PageResponse<Comment>
CommentManagerInternal.getFilteredChildren
(Comment comment, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment> filter) Returns the children of a comment, limited to the pagination requested.@NonNull PageResponse<Comment>
CommentManagerInternal.getFilteredContainerComments
(long containerId, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment> filter) Returns the children comments of a ContentEntityObject, limited to the pagination requested.Modifier and TypeMethodDescription@NonNull PageResponse<Comment>
CommentManagerInternal.getFilteredChildren
(Comment comment, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment> filter) Returns the children of a comment, limited to the pagination requested.Modifier and TypeMethodDescription@NonNull PageResponse<Comment>
CommentManagerInternal.getFilteredChildren
(Comment comment, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment> filter) Returns the children of a comment, limited to the pagination requested.@NonNull PageResponse<Comment>
CommentManagerInternal.getFilteredContainerComments
(long containerId, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment> filter) Returns the children comments of a ContentEntityObject, limited to the pagination requested. -
Uses of Comment in com.atlassian.confluence.event.events.content.comment
Modifier and TypeMethodDescriptionCommentEvent.getComment()
CommentUpdateEvent.getOriginalComment()
ModifierConstructorDescriptionCommentCreateEvent
(Object src, Comment comment) Deprecated.CommentCreateEvent
(Object source, Comment comment, OperationContext<?> context) CommentEvent
(Object src, Comment comment) Deprecated.since 7.1.0, useCommentEvent(Object, Comment, OperationContext)
CommentEvent
(Object source, Comment comment, @Nullable OperationContext<?> context) CommentRemoveEvent
(Object src, Comment comment, com.atlassian.user.User remover) CommentUpdateEvent
(Object src, Comment comment) Deprecated.since 7.1.0, useCommentUpdateEvent(Object, Comment, Comment, OperationContext)
CommentUpdateEvent
(Object source, Comment comment, @Nullable Comment originalComment, @Nullable OperationContext<?> operationContext) CommentUpdateEvent
(Object src, Comment comment, Comment originalComment) Deprecated.since 7.1.0, useCommentUpdateEvent(Object, Comment, Comment, OperationContext)
-
Uses of Comment in com.atlassian.confluence.impl.audit.handler
Modifier and TypeMethodDescriptioncom.atlassian.confluence.impl.audit.handler.AuditHandler<Comment>
AuditHandlerFactory.createCommentHandler()
-
Uses of Comment in com.atlassian.confluence.impl.content
Modifier and TypeMethodDescription@NonNull Comment
DefaultCommentManager.addCommentToObject
(ContentEntityObject ceo, Comment parent, String content) @NonNull Comment
DefaultCommentManager.addCommentToObject
(ContentEntityObject ceo, Comment parent, String content, @Nullable NewCommentDeduplicator commentDeduplicator) @NonNull Comment
DefaultCommentManager.addCommentToPage
(AbstractPage page, Comment parent, String content) @Nullable Comment
DefaultCommentManager.getComment
(long id) Modifier and TypeMethodDescription@NonNull PageResponse<Comment>
DefaultCommentManager.getFilteredChildren
(Comment comment, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment> filter) Returns the children of a comment, limited to the pagination requested.@NonNull PageResponse<Comment>
DefaultCommentManager.getFilteredContainerComments
(long containerId, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment> filter) Returns the children comments of a ContentEntityObject, limited to the pagination requested.DefaultCommentManager.getPageComments
(long pageId, Date since) DefaultCommentManager.getPageComments
(long pageId, Date since, ConfluenceUser ignoreUser) DefaultCommentManager.getPageLevelComments
(long pageId, Date since) Modifier and TypeMethodDescription@NonNull Comment
DefaultCommentManager.addCommentToObject
(ContentEntityObject ceo, Comment parent, String content) @NonNull Comment
DefaultCommentManager.addCommentToObject
(ContentEntityObject ceo, Comment parent, String content, @Nullable NewCommentDeduplicator commentDeduplicator) @NonNull Comment
DefaultCommentManager.addCommentToPage
(AbstractPage page, Comment parent, String content) @NonNull PageResponse<Comment>
DefaultCommentManager.getFilteredChildren
(Comment comment, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment> filter) Returns the children of a comment, limited to the pagination requested.void
DefaultCommentManager.updateCommentContent
(Comment comment, String content) Modifier and TypeMethodDescription@NonNull PageResponse<Comment>
DefaultCommentManager.getFilteredChildren
(Comment comment, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment> filter) Returns the children of a comment, limited to the pagination requested.@NonNull PageResponse<Comment>
DefaultCommentManager.getFilteredContainerComments
(long containerId, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment> filter) Returns the children comments of a ContentEntityObject, limited to the pagination requested. -
Uses of Comment in com.atlassian.confluence.impl.importexport
Modifier and TypeMethodDescriptionAbstractRendererExporterImpl.ContentConverter.convertToXHtml
(Comment comment) -
Uses of Comment in com.atlassian.confluence.internal.pages.persistence
-
Uses of Comment in com.atlassian.confluence.mail.reports
-
Uses of Comment in com.atlassian.confluence.pages
Modifier and TypeMethodDescription@NonNull Comment
CommentManager.addCommentToObject
(ContentEntityObject ceo, @Nullable Comment parent, String content) @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.@NonNull Comment
CommentManager.addCommentToPage
(AbstractPage page, @Nullable Comment parent, String content) Deprecated.CommentManager.getComment
(long id) Comment.getParent()
Modifier and TypeMethodDescriptionComment.getChildren()
ReadOnlyAttachment.getComments()
Deprecated, for removal: This API element is subject to removal in a future version.NewCommentDeduplicator.getDuplicateComment
(Iterable<Comment> existingComments) Given a collection of existing comments, determine which one, if any, is a duplicate of the new comment submission.SubmissionTokenCommentDeduplicator.getDuplicateComment
(Iterable<Comment> existingComments) CommentManager.getPageComments
(long pageId, Date since) Deprecated.since 7.3.0, useContentService.find(Expansion...)
in plugins orCommentManagerInternal
in core where applicableCommentManager.getPageComments
(long pageId, Date since, ConfluenceUser ignoreUser) The service get all page comments (page level comments and inline comments) from a particular date except for comments by the given user.AbstractPage.getPageLevelComments()
CommentManager.getPageLevelComments
(long pageId, Date since) Deprecated.since 7.3.0, useContentService.find(Expansion...)
in plugins orCommentManagerInternal
in core where applicableAbstractPage.getTopLevelComments()
Modifier and TypeMethodDescriptionvoid
void
ReadOnlyAttachment.addComment
(Comment comment) Deprecated, for removal: This API element is subject to removal in a future version.@NonNull Comment
CommentManager.addCommentToObject
(ContentEntityObject ceo, @Nullable Comment parent, String content) @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.@NonNull Comment
CommentManager.addCommentToPage
(AbstractPage page, @Nullable Comment parent, String content) Deprecated.void
NewCommentDeduplicator.newCommentSaved
(Comment newComment) Called when a new comment has been savedvoid
SubmissionTokenCommentDeduplicator.newCommentSaved
(Comment comment) void
Comment.removeChild
(Comment child) void
ReadOnlyAttachment.removeComment
(Comment comment) Deprecated, for removal: This API element is subject to removal in a future version.void
Comment.reparentChildren
(Comment newParent) void
void
CommentManager.updateCommentContent
(Comment comment, String content) Modifier and TypeMethodDescriptionNewCommentDeduplicator.getDuplicateComment
(Iterable<Comment> existingComments) Given a collection of existing comments, determine which one, if any, is a duplicate of the new comment submission.SubmissionTokenCommentDeduplicator.getDuplicateComment
(Iterable<Comment> existingComments) void
Comment.setChildren
(List<Comment> children) void
ReadOnlyAttachment.setComments
(List<Comment> comments) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Comment in com.atlassian.confluence.pages.actions
Modifier and TypeMethodDescriptionAddCommentAction.getComment()
Deprecated, for removal: This API element is subject to removal in a future version.since 8.8.0.CommentAware.getComment()
EditCommentAction.getComment()
Deprecated, for removal: This API element is subject to removal in a future version.since 8.8.0.ViewPageAction.getComment()
Deprecated, for removal: This API element is subject to removal in a future version.since 8.8.0.Modifier and TypeMethodDescriptionstatic WebInterfaceContext
AddCommentAction.createWebInterfaceContextWithComment
(WebInterfaceContext context, Comment comment) AddCommentAction.getWebInterfaceContext
(Comment comment) EditCommentAction.getWebInterfaceContext
(Comment comment) ViewPageAction.getWebInterfaceContext
(Comment comment) void
CommentAware.setComment
(Comment comment) void
ViewPageAction.setComment
(Comment comment) Sets the currently focused comment. -
Uses of Comment in com.atlassian.confluence.pages.persistence.dao
Modifier and TypeMethodDescriptionCommentDao.getChildren
(Comment comment, LimitedRequest pageRequest) CommentDao.getContainerComments
(long containerId, LimitedRequest pageRequest) CommentDao.getContainerComments
(long containerId, Date since) Get the comments that have been added or updated since a specific timeCommentDao.getContainerComments
(long containerId, Date since, ConfluenceUser ignoreUser) Get the comments that have been added or updated since a specific time but not by a userModifier and TypeMethodDescriptionCommentDao.getChildren
(Comment comment, LimitedRequest pageRequest) -
Uses of Comment in com.atlassian.confluence.pages.persistence.dao.hibernate
Modifier and TypeMethodDescriptionprotected Comment
HibernateCommentDao.getByClassId
(long id) HibernateCommentDao.getById
(long id) Modifier and TypeMethodDescriptionHibernateCommentDao.getChildren
(Comment comment, LimitedRequest pageRequest) HibernateCommentDao.getContainerComments
(long containerId, LimitedRequest pageRequest) HibernateCommentDao.getContainerComments
(long containerId, Date since) HibernateCommentDao.getContainerComments
(long containerId, Date since, ConfluenceUser ignoreUser) HibernateCommentDao.getPersistentClass()
Modifier and TypeMethodDescriptionHibernateCommentDao.getChildren
(Comment comment, LimitedRequest pageRequest) -
Uses of Comment in com.atlassian.confluence.plugin.descriptor.web
Modifier and TypeMethodDescription@Nullable Comment
DefaultWebInterfaceContext.getComment()
@Nullable Comment
WebInterfaceContext.getComment()
Returns the comment related to the web interface state, or null if there is no comment. -
Uses of Comment in com.atlassian.confluence.plugins.rest.jackson2.entities
-
Uses of Comment in com.atlassian.confluence.plugins.rest.jackson2.entities.builders
-
Uses of Comment in com.atlassian.confluence.rpc.soap.beans
-
Uses of Comment in com.atlassian.confluence.rss
Modifier and TypeMethodDescriptionCommentRenderSupport.getCategoryNames
(RssRenderItem<? extends Comment> item) CommentRenderSupport.getTitle
(RssRenderItem<? extends Comment> item) CommentRenderSupport.renderedContext
(RssRenderItem<? extends Comment> item, io.atlassian.util.concurrent.Timeout timeout) -
Uses of Comment in com.atlassian.confluence.security.delegate
Modifier and TypeMethodDescriptionboolean
CommentPermissionsDelegate.canAdminister
(ConfluenceUser user, Comment target) boolean
CommentPermissionsDelegate.canEdit
(ConfluenceUser user, Comment target) boolean
CommentPermissionsDelegate.canExport
(ConfluenceUser user, Comment target) We've decided that most objects aside from spaces should not support canExport.boolean
CommentPermissionsDelegate.canRemove
(ConfluenceUser user, Comment target) boolean
CommentPermissionsDelegate.canSetPermissions
(ConfluenceUser user, Comment target) boolean
CommentPermissionsDelegate.canView
(ConfluenceUser user, Comment target) -
Uses of Comment in com.atlassian.confluence.spaces
Modifier and TypeMethodDescriptionvoid
ReadOnlySpaceDescription.addComment
(Comment comment) void
ReadOnlySpaceDescription.removeComment
(Comment comment) Modifier and TypeMethodDescriptionvoid
ReadOnlySpaceDescription.setComments
(List<Comment> comments) -
Uses of Comment in com.atlassian.confluence.themes
Modifier and TypeMethodDescriptionboolean
PageHelper.shouldRenderCommentAsUpdated
(Comment comment) Should this comment be flagged as having been updated in any rendering, using a default grace thresholdboolean
PageHelper.shouldRenderCommentAsUpdated
(Comment comment, int thresholdSeconds) Should this comment be flagged as having been updated in any rendering -
Uses of Comment in com.atlassian.confluence.tinymceplugin.service
Modifier and TypeMethodDescriptionCommentRenderService.render
(Comment comment, boolean actions, javax.servlet.http.HttpServletRequest req) CommentRenderService.render
(Comment comment, boolean actions, javax.servlet.http.HttpServletRequest req, int maxLength, boolean plainTextOnly) Create the JSON representation of a Comment -
Uses of Comment in com.atlassian.confluence.tinymceplugin.service.impl
Modifier and TypeMethodDescriptionCommentRenderServiceImpl.render
(Comment comment, boolean hasActions, javax.servlet.http.HttpServletRequest httpRequest) CommentRenderServiceImpl.render
(Comment comment, boolean hasActions, javax.servlet.http.HttpServletRequest httpRequest, int maxLength, boolean plainTextOnly) -
Uses of Comment in com.atlassian.confluence.util
Modifier and TypeMethodDescriptionstatic Comment
GeneralUtil.getParentComment
(Comment comment) Returns the top-level comment that the comment is attached toModifier and TypeMethodDescriptionstatic String
GeneralUtil.getCommentUrl
(Attachment attachment, Comment comment) Get the permalink URL to preview the given comment (annotation) in the previewer.static Comment
GeneralUtil.getParentComment
(Comment comment) Returns the top-level comment that the comment is attached to
CommentCreateEvent(Object, Comment, OperationContext)