Uses of Class
com.atlassian.confluence.pages.Comment
-
-
Uses of Comment in com.atlassian.confluence.admin.actions.debug
Methods in com.atlassian.confluence.admin.actions.debug that return types with arguments of type Comment Modifier and Type Method Description List<Comment>
BrowseCommentsAction. getComments()
-
Uses of Comment in com.atlassian.confluence.api.impl.service.content.typebinding
Methods in com.atlassian.confluence.api.impl.service.content.typebinding that return Comment Modifier and Type Method Description Comment
CommentContentTypeApiSupport. create(Content newContent)
Comment
CommentContentTypeApiSupport. update(Content contentToUpdate, Comment entity)
Methods in com.atlassian.confluence.api.impl.service.content.typebinding that return types with arguments of type Comment Modifier and Type Method Description Class<Comment>
CommentContentTypeApiSupport. getEntityClass()
Methods in com.atlassian.confluence.api.impl.service.content.typebinding with parameters of type Comment Modifier and Type Method Description protected PageResponse<Content>
CommentContentTypeApiSupport. getChildrenForThisType(Comment content, LimitedRequest limitedRequest, Expansions expansions, Depth depth)
protected PageResponse<Content>
CommentContentTypeApiSupport. getChildrenForThisType(Comment content, LimitedRequest limitedRequest, Expansions expansions, Depth depth, com.google.common.base.Predicate<? super ContentEntityObject> predicate)
Comment
CommentContentTypeApiSupport. update(Content contentToUpdate, Comment entity)
ValidationResult
CommentContentTypeApiSupport. validateUpdate(Content updatedContent, Comment existingEntity)
Method parameters in com.atlassian.confluence.api.impl.service.content.typebinding with type arguments of type Comment Modifier and Type Method Description Map<ContentId,Map<String,Object>>
CommentContentTypeApiSupport. getExtensions(Iterable<Comment> contentEntities, Expansions expansions)
-
Uses of Comment in com.atlassian.confluence.content.apisupport
Methods in com.atlassian.confluence.content.apisupport with parameters of type Comment Modifier and Type Method Description void
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)
ValidationResult
CommentExtensionsSupport. validateExtensionsForUpdate(Comment comment, Map<String,Object> extensions, SimpleValidationResult.Builder validationResultBuilder)
Validation hook for update operations.ValidationResult
NullCommentExtensionsSupport. validateExtensionsForUpdate(Comment comment, Map<String,Object> extensions, SimpleValidationResult.Builder validationResultBuilder)
Method parameters in com.atlassian.confluence.content.apisupport with type arguments of type Comment Modifier and Type Method Description Map<ContentId,Map<String,Object>>
CommentExtensionsSupport. getExtensions(Iterable<Comment> comments, Expansions expansions)
Get the map of extension properties for each of the comment entitiesMap<ContentId,Map<String,Object>>
NullCommentExtensionsSupport. getExtensions(Iterable<Comment> comments, Expansions expansions)
-
Uses of Comment in com.atlassian.confluence.content.render.xhtml.links
Methods in com.atlassian.confluence.content.render.xhtml.links with parameters of type Comment Modifier and Type Method Description String
LinksUpdater. expandRelativeReferencesInContent(Comment comment)
Expand any relative links or embedded files/images encountered in the supplied comment.String
XhtmlLinksUpdater. expandRelativeReferencesInContent(Comment comment)
-
Uses of Comment in com.atlassian.confluence.content.render.xhtml.model.resource.identifiers
Methods in com.atlassian.confluence.content.render.xhtml.model.resource.identifiers with parameters of type Comment Modifier and Type Method Description protected 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
Methods in com.atlassian.confluence.content.service.comment that return Comment Modifier and Type Method Description Comment
CommentCommand. getComment()
Comment
CreateCommentCommand. getComment()
Gets the comment that was created.Comment
CreateCommentCommandImpl. getComment()
Comment
DeleteCommentCommand. getComment()
Gets the comment that was removed.Comment
DeleteCommentCommandImpl. getComment()
Comment
EditCommentCommand. getComment()
Gets the comment that was edited.Comment
EditCommentCommandImpl. getComment()
-
Uses of Comment in com.atlassian.confluence.core
Methods in com.atlassian.confluence.core that return types with arguments of type Comment Modifier and Type Method Description List<Comment>
ContentEntityObject. getComments()
Methods in com.atlassian.confluence.core with parameters of type Comment Modifier and Type Method Description void
ContentEntityObject. addComment(Comment comment)
void
ContentEntityObject. removeComment(Comment comment)
Method parameters in com.atlassian.confluence.core with type arguments of type Comment Modifier and Type Method Description void
ContentEntityObject. setComments(List<Comment> comments)
-
Uses of Comment in com.atlassian.confluence.event.events.content.comment
Fields in com.atlassian.confluence.event.events.content.comment declared as Comment Modifier and Type Field Description protected Comment
CommentEvent. comment
Methods in com.atlassian.confluence.event.events.content.comment that return Comment Modifier and Type Method Description Comment
CommentEvent. getComment()
Comment
CommentUpdateEvent. getOriginalComment()
-
Uses of Comment in com.atlassian.confluence.impl.audit.handler
Methods in com.atlassian.confluence.impl.audit.handler that return types with arguments of type Comment Modifier and Type Method Description com.atlassian.confluence.impl.audit.handler.AuditHandler<Comment>
AuditHandlerFactory. createCommentHandler()
-
Uses of Comment in com.atlassian.confluence.impl.content
Methods in com.atlassian.confluence.impl.content that return Comment Modifier and Type Method Description @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)
Methods in com.atlassian.confluence.impl.content that return types with arguments of type Comment Modifier and Type Method Description @NonNull PageResponse<Comment>
DefaultCommentManager. getFilteredChildren(Comment comment, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment>... predicates)
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>... predicates)
Returns the children comments of a ContentEntityObject, limited to the pagination requested.@NonNull List<Comment>
DefaultCommentManager. getPageComments(long pageId, Date since)
@NonNull List<Comment>
DefaultCommentManager. getPageComments(long pageId, Date since, String ignoreUsername)
@NonNull List<Comment>
DefaultCommentManager. getPageLevelComments(long pageId, Date since)
Methods in com.atlassian.confluence.impl.content with parameters of type Comment Modifier and Type Method Description @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>... predicates)
Returns the children of a comment, limited to the pagination requested.void
DefaultCommentManager. updateCommentContent(Comment comment, String content)
-
Uses of Comment in com.atlassian.confluence.impl.importexport
Methods in com.atlassian.confluence.impl.importexport with parameters of type Comment Modifier and Type Method Description String
AbstractRendererExporterImpl.ContentConverter. convertToXHtml(Comment comment)
-
Uses of Comment in com.atlassian.confluence.importexport.impl
Methods in com.atlassian.confluence.importexport.impl with parameters of type Comment Modifier and Type Method Description String
AbstractRendererExporterImpl.ContentConverter. convertToXHtml(Comment comment)
-
Uses of Comment in com.atlassian.confluence.internal.pages
Methods in com.atlassian.confluence.internal.pages that return types with arguments of type Comment Modifier and Type Method Description default @NonNull PageResponse<Comment>
CommentManagerInternal. getChildren(Comment comment, LimitedRequest pageRequest, Depth depth, com.google.common.base.Predicate<? super Comment>... predicates)
Deprecated.since 7.0.1.default @NonNull PageResponse<Comment>
CommentManagerInternal. getContainerComments(long containerId, LimitedRequest pageRequest, Depth depth, com.google.common.base.Predicate<? super Comment>... predicates)
Deprecated.since 7.0.1.@NonNull PageResponse<Comment>
CommentManagerInternal. getFilteredChildren(Comment comment, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment>... predicates)
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>... predicates)
Returns the children comments of a ContentEntityObject, limited to the pagination requested.Methods in com.atlassian.confluence.internal.pages with parameters of type Comment Modifier and Type Method Description default @NonNull PageResponse<Comment>
CommentManagerInternal. getChildren(Comment comment, LimitedRequest pageRequest, Depth depth, com.google.common.base.Predicate<? super Comment>... predicates)
Deprecated.since 7.0.1.@NonNull PageResponse<Comment>
CommentManagerInternal. getFilteredChildren(Comment comment, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment>... predicates)
Returns the children of a comment, limited to the pagination requested. -
Uses of Comment in com.atlassian.confluence.internal.pages.persistence
Methods in com.atlassian.confluence.internal.pages.persistence that return types with arguments of type Comment Modifier and Type Method Description default PageResponse<Comment>
CommentDaoInternal. getFilteredChildren(Comment comment, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment>... predicates)
Get the children of a commentdefault PageResponse<Comment>
CommentDaoInternal. getFilteredContainerComments(long containerId, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment>... predicates)
Get the comments belonging to a containerMethods in com.atlassian.confluence.internal.pages.persistence with parameters of type Comment Modifier and Type Method Description default PageResponse<Comment>
CommentDaoInternal. getFilteredChildren(Comment comment, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment>... predicates)
Get the children of a comment -
Uses of Comment in com.atlassian.confluence.it.api.test.plugin.apiavailable
Methods in com.atlassian.confluence.it.api.test.plugin.apiavailable with parameters of type Comment Modifier and Type Method Description void
DummyCommentExtensionSupport. updateExtensionsOnEntity(Comment comment, Map<String,Object> extensions)
ValidationResult
DummyCommentExtensionSupport. validateExtensionsForUpdate(Comment comment, Map<String,Object> extensions, SimpleValidationResult.Builder validationResultBuilder)
Method parameters in com.atlassian.confluence.it.api.test.plugin.apiavailable with type arguments of type Comment Modifier and Type Method Description Map<ContentId,Map<String,Object>>
DummyCommentExtensionSupport. getExtensions(Iterable<Comment> comments, Expansions expansions)
-
Uses of Comment in com.atlassian.confluence.mail.reports
Methods in com.atlassian.confluence.mail.reports with parameters of type Comment Modifier and Type Method Description void
ChangeDigestReport. addComment(Comment comment)
Constructors in com.atlassian.confluence.mail.reports with parameters of type Comment Constructor Description CommentReport(@NonNull Comment comment, ChangeDigestReport report)
-
Uses of Comment in com.atlassian.confluence.pages
Methods in com.atlassian.confluence.pages that return Comment Modifier and Type Method Description @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.Comment
CommentManager. getComment(long id)
Comment
Comment. getParent()
Methods in com.atlassian.confluence.pages that return types with arguments of type Comment Modifier and Type Method Description default com.atlassian.fugue.Option<Comment>
NewCommentDeduplicator. findDuplicateComment(Iterable<Comment> existingComments)
Deprecated.since 7.0.1.List<Comment>
Comment. getChildren()
Optional<Comment>
NewCommentDeduplicator. getDuplicateComment(Iterable<Comment> existingComments)
Given a collection of existing comments, determine which one, if any, is a duplicate of the new comment submission.Optional<Comment>
SubmissionTokenCommentDeduplicator. getDuplicateComment(Iterable<Comment> existingComments)
@NonNull List<Comment>
CommentManager. getPageComments(long pageId, Date since)
Deprecated.since 7.3.0, useContentService.find(Expansion...)
in plugins orCommentManagerInternal
in core where applicable@NonNull List<Comment>
CommentManager. getPageComments(long pageId, Date since, String ignoreUsername)
The service get all page comments (page level comments and inline comments) from a particular date except for comments by the given username.List<Comment>
AbstractPage. getPageLevelComments()
@NonNull List<Comment>
CommentManager. getPageLevelComments(long pageId, Date since)
Deprecated.since 7.3.0, useContentService.find(Expansion...)
in plugins orCommentManagerInternal
in core where applicableList<Comment>
AbstractPage. getTopLevelComments()
Methods in com.atlassian.confluence.pages with parameters of type Comment Modifier and Type Method Description void
Comment. addChild(Comment child)
@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
Comment. reparentChildren(Comment newParent)
void
Comment. setParent(Comment parent)
void
CommentManager. updateCommentContent(Comment comment, String content)
Method parameters in com.atlassian.confluence.pages with type arguments of type Comment Modifier and Type Method Description default com.atlassian.fugue.Option<Comment>
NewCommentDeduplicator. findDuplicateComment(Iterable<Comment> existingComments)
Deprecated.since 7.0.1.Optional<Comment>
NewCommentDeduplicator. getDuplicateComment(Iterable<Comment> existingComments)
Given a collection of existing comments, determine which one, if any, is a duplicate of the new comment submission.Optional<Comment>
SubmissionTokenCommentDeduplicator. getDuplicateComment(Iterable<Comment> existingComments)
void
Comment. setChildren(List<Comment> children)
-
Uses of Comment in com.atlassian.confluence.pages.actions
Methods in com.atlassian.confluence.pages.actions that return Comment Modifier and Type Method Description Comment
AddCommentAction. getComment()
Deprecated, for removal: This API element is subject to removal in a future version.since 8.8.0.Comment
CommentAware. getComment()
Comment
EditCommentAction. getComment()
Deprecated, for removal: This API element is subject to removal in a future version.since 8.8.0.Comment
ViewPageAction. getComment()
Deprecated, for removal: This API element is subject to removal in a future version.since 8.8.0.Methods in com.atlassian.confluence.pages.actions that return types with arguments of type Comment Modifier and Type Method Description Map<Comment,String>
ViewPageAction. getXHtmlComments()
Methods in com.atlassian.confluence.pages.actions with parameters of type Comment Modifier and Type Method Description static WebInterfaceContext
AddCommentAction. createWebInterfaceContextWithComment(WebInterfaceContext context, Comment comment)
WebInterfaceContext
AddCommentAction. getWebInterfaceContext(Comment comment)
WebInterfaceContext
EditCommentAction. getWebInterfaceContext(Comment comment)
WebInterfaceContext
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
Methods in com.atlassian.confluence.pages.persistence.dao that return Comment Modifier and Type Method Description Comment
CommentDao. getById(long id)
Get a comment by its idMethods in com.atlassian.confluence.pages.persistence.dao that return types with arguments of type Comment Modifier and Type Method Description List<Comment>
CommentDao. getChildren(Comment comment, LimitedRequest pageRequest)
default PageResponse<Comment>
CommentDao. getChildren(Comment comment, LimitedRequest pageRequest, Depth depth, com.google.common.base.Predicate<? super Comment>... predicates)
Deprecated.since 7.0.1.List<Comment>
CommentDao. getContainerComments(long containerId, LimitedRequest pageRequest)
default PageResponse<Comment>
CommentDao. getContainerComments(long containerId, LimitedRequest pageRequest, Depth depth, com.google.common.base.Predicate<? super Comment>... predicates)
Deprecated.since 7.0.1.List<Comment>
CommentDao. getContainerComments(long containerId, Date since)
Get the comments that have been added or updated since a specific timeList<Comment>
CommentDao. getContainerComments(long containerId, Date since, String ignoreUsername)
Get the comments that have been added or updated since a specific time but not by a userMethods in com.atlassian.confluence.pages.persistence.dao with parameters of type Comment Modifier and Type Method Description List<Comment>
CommentDao. getChildren(Comment comment, LimitedRequest pageRequest)
default PageResponse<Comment>
CommentDao. getChildren(Comment comment, LimitedRequest pageRequest, Depth depth, com.google.common.base.Predicate<? super Comment>... predicates)
Deprecated.since 7.0.1. -
Uses of Comment in com.atlassian.confluence.pages.persistence.dao.hibernate
Methods in com.atlassian.confluence.pages.persistence.dao.hibernate that return Comment Modifier and Type Method Description protected Comment
HibernateCommentDao. getByClassId(long id)
Comment
HibernateCommentDao. getById(long id)
Methods in com.atlassian.confluence.pages.persistence.dao.hibernate that return types with arguments of type Comment Modifier and Type Method Description List<Comment>
HibernateCommentDao. getChildren(Comment comment, LimitedRequest pageRequest)
List<Comment>
HibernateCommentDao. getContainerComments(long containerId, LimitedRequest pageRequest)
List<Comment>
HibernateCommentDao. getContainerComments(long containerId, Date since)
List<Comment>
HibernateCommentDao. getContainerComments(long containerId, Date since, String ignoreUsername)
Class<Comment>
HibernateCommentDao. getPersistentClass()
Methods in com.atlassian.confluence.pages.persistence.dao.hibernate with parameters of type Comment Modifier and Type Method Description List<Comment>
HibernateCommentDao. getChildren(Comment comment, LimitedRequest pageRequest)
-
Uses of Comment in com.atlassian.confluence.plugin.descriptor.web
Methods in com.atlassian.confluence.plugin.descriptor.web that return Comment Modifier and Type Method Description @Nullable Comment
DefaultWebInterfaceContext. getComment()
@Nullable Comment
WebInterfaceContext. getComment()
Returns the comment related to the web interface state, or null if there is no comment.Methods in com.atlassian.confluence.plugin.descriptor.web with parameters of type Comment Modifier and Type Method Description void
DefaultWebInterfaceContext. setComment(Comment comment)
-
Uses of Comment in com.atlassian.confluence.plugins.rest.entities
Methods in com.atlassian.confluence.plugins.rest.entities that return types with arguments of type Comment Modifier and Type Method Description List<Comment>
CommentEntityTree. getComments()
Constructor parameters in com.atlassian.confluence.plugins.rest.entities with type arguments of type Comment Constructor Description CommentEntityTree(int total, List<Comment> comments)
-
Uses of Comment in com.atlassian.confluence.plugins.rest.entities.builders
Methods in com.atlassian.confluence.plugins.rest.entities.builders with parameters of type Comment Modifier and Type Method Description ContentEntity
CommentEntityBuilder. build(Comment comment)
-
Uses of Comment in com.atlassian.confluence.rpc.soap.beans
Constructors in com.atlassian.confluence.rpc.soap.beans with parameters of type Comment Constructor Description RemoteComment(Comment comment)
-
Uses of Comment in com.atlassian.confluence.rss
Method parameters in com.atlassian.confluence.rss with type arguments of type Comment Modifier and Type Method Description List<String>
CommentRenderSupport. getCategoryNames(RssRenderItem<? extends Comment> item)
String
CommentRenderSupport. getTitle(RssRenderItem<? extends Comment> item)
String
CommentRenderSupport. renderedContext(RssRenderItem<? extends Comment> item, io.atlassian.util.concurrent.Timeout timeout)
-
Uses of Comment in com.atlassian.confluence.security.delegate
Methods in com.atlassian.confluence.security.delegate with parameters of type Comment Modifier and Type Method Description boolean
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.themes
Methods in com.atlassian.confluence.themes with parameters of type Comment Modifier and Type Method Description boolean
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
Methods in com.atlassian.confluence.tinymceplugin.service with parameters of type Comment Modifier and Type Method Description CommentResult
CommentRenderService. render(Comment comment, boolean actions, javax.servlet.http.HttpServletRequest req)
CommentResult
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
Methods in com.atlassian.confluence.tinymceplugin.service.impl with parameters of type Comment Modifier and Type Method Description CommentResult
CommentRenderServiceImpl. render(Comment comment, boolean hasActions, javax.servlet.http.HttpServletRequest httpRequest)
CommentResult
CommentRenderServiceImpl. render(Comment comment, boolean hasActions, javax.servlet.http.HttpServletRequest httpRequest, int maxLength, boolean plainTextOnly)
-
Uses of Comment in com.atlassian.confluence.util
Methods in com.atlassian.confluence.util that return Comment Modifier and Type Method Description static Comment
SafeGeneralUtil. getParentComment(Comment comment)
Returns the top-level comment that the comment is attached toMethods in com.atlassian.confluence.util with parameters of type Comment Modifier and Type Method Description static String
SafeGeneralUtil. getCommentUrl(Attachment attachment, Comment comment)
Get the permalink URL to preview the given comment (annotation) in the previewer.static Comment
SafeGeneralUtil. getParentComment(Comment comment)
Returns the top-level comment that the comment is attached to
-