Modifier and Type | Method and Description |
---|---|
Comment |
CommentContentTypeApiSupport.create(Content newContent) |
Comment |
CommentContentTypeApiSupport.update(Content contentToUpdate,
Comment entity) |
Modifier and Type | Method and Description |
---|---|
Class<Comment> |
CommentContentTypeApiSupport.getEntityClass() |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
Map<ContentId,Map<String,Object>> |
CommentContentTypeApiSupport.getExtensions(Iterable<Comment> contentEntities,
Expansions expansions) |
Modifier and Type | Method and Description |
---|---|
void |
NullCommentExtensionsSupport.updateExtensionsOnEntity(Comment comment,
Map<String,Object> extensions) |
void |
CommentExtensionsSupport.updateExtensionsOnEntity(Comment comment,
Map<String,Object> extensions)
A creation hook, extension properties should be set on the passed in comment
object.
|
ValidationResult |
NullCommentExtensionsSupport.validateExtensionsForUpdate(Comment comment,
Map<String,Object> extensions,
SimpleValidationResult.Builder validationResultBuilder) |
ValidationResult |
CommentExtensionsSupport.validateExtensionsForUpdate(Comment comment,
Map<String,Object> extensions,
SimpleValidationResult.Builder validationResultBuilder)
Validation hook for update operations.
|
Modifier and Type | Method and Description |
---|---|
Map<ContentId,Map<String,Object>> |
NullCommentExtensionsSupport.getExtensions(Iterable<Comment> comments,
Expansions expansions) |
Map<ContentId,Map<String,Object>> |
CommentExtensionsSupport.getExtensions(Iterable<Comment> comments,
Expansions expansions)
Get the map of extension properties for each of the comment entities
|
Modifier and Type | Method and Description |
---|---|
String |
LinksUpdater.expandRelativeReferencesInContent(Comment comment)
Expand any relative links or embedded files/images encountered in the supplied comment.
|
String |
XhtmlLinksUpdater.expandRelativeReferencesInContent(Comment comment) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
Comment |
CreateCommentCommand.getComment()
Gets the comment that was created.
|
Comment |
DeleteCommentCommandImpl.getComment() |
Comment |
CommentCommand.getComment() |
Comment |
EditCommentCommand.getComment()
Gets the comment that was edited.
|
Comment |
EditCommentCommandImpl.getComment() |
Comment |
DeleteCommentCommand.getComment()
Gets the comment that was removed.
|
Comment |
CreateCommentCommandImpl.getComment() |
Modifier and Type | Method and Description |
---|---|
List<Comment> |
ContentEntityObject.getComments() |
Modifier and Type | Method and Description |
---|---|
void |
ContentEntityObject.addComment(Comment comment) |
void |
ContentEntityObject.removeComment(Comment comment) |
Modifier and Type | Method and Description |
---|---|
void |
ContentEntityObject.setComments(List<Comment> comments) |
Modifier and Type | Field and Description |
---|---|
protected Comment |
CommentEvent.comment |
Modifier and Type | Method and Description |
---|---|
Comment |
CommentEvent.getComment() |
Comment |
CommentUpdateEvent.getOriginalComment() |
Constructor and Description |
---|
CommentCreateEvent(Object src,
Comment comment) |
CommentEvent(Object src,
Comment comment) |
CommentRemoveEvent(Object src,
Comment comment,
com.atlassian.user.User remover) |
CommentUpdateEvent(Object src,
Comment comment) |
CommentUpdateEvent(Object src,
Comment comment,
Comment originalComment) |
Modifier and Type | Method and Description |
---|---|
String |
AbstractRendererExporterImpl.ContentConverter.convertToXHtml(Comment comment) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Comment> |
CommentManagerInternal.getChildren(Comment comment,
LimitedRequest pageRequest,
Depth depth,
com.google.common.base.Predicate<? super Comment>... predicates)
Returns the children of a comment, limited to the pagination requested.
|
PageResponse<Comment> |
CommentManagerInternal.getContainerComments(long containerId,
LimitedRequest pageRequest,
Depth depth,
com.google.common.base.Predicate<? super Comment>... predicates)
Returns the children comments of a ContentEntityObject, limited to the pagination requested.
|
Modifier and Type | Method and Description |
---|---|
PageResponse<Comment> |
CommentManagerInternal.getChildren(Comment comment,
LimitedRequest pageRequest,
Depth depth,
com.google.common.base.Predicate<? super Comment>... predicates)
Returns the children of a comment, limited to the pagination requested.
|
Modifier and Type | Method and Description |
---|---|
void |
DummyCommentExtensionSupport.updateExtensionsOnEntity(Comment comment,
Map<String,Object> extensions) |
ValidationResult |
DummyCommentExtensionSupport.validateExtensionsForUpdate(Comment comment,
Map<String,Object> extensions,
SimpleValidationResult.Builder validationResultBuilder) |
Modifier and Type | Method and Description |
---|---|
Map<ContentId,Map<String,Object>> |
DummyCommentExtensionSupport.getExtensions(Iterable<Comment> comments,
Expansions expansions) |
Modifier and Type | Method and Description |
---|---|
void |
ChangeDigestReport.addComment(Comment comment) |
Constructor and Description |
---|
CommentReport(Comment comment,
ChangeDigestReport report) |
Modifier and Type | Method and Description |
---|---|
Comment |
CommentManager.addCommentToObject(ContentEntityObject ceo,
Comment parent,
String content) |
Comment |
DefaultCommentManager.addCommentToObject(ContentEntityObject ceo,
Comment parent,
String content) |
Comment |
CommentManager.addCommentToObject(ContentEntityObject ceo,
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.
|
Comment |
DefaultCommentManager.addCommentToObject(ContentEntityObject ceo,
Comment parent,
String content,
NewCommentDeduplicator commentDeduplicator) |
Comment |
CommentManager.addCommentToPage(AbstractPage page,
Comment parent,
String content)
Deprecated.
|
Comment |
DefaultCommentManager.addCommentToPage(AbstractPage page,
Comment parent,
String content) |
Comment |
CommentManager.getComment(long id) |
Comment |
DefaultCommentManager.getComment(long id) |
Comment |
Comment.getParent() |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Option<Comment> |
NewCommentDeduplicator.findDuplicateComment(Iterable<Comment> existingComments)
Given a collection of existing comments, determine which one, if any, is a duplicate of the new comment submission.
|
com.atlassian.fugue.Option<Comment> |
SubmissionTokenCommentDeduplicator.findDuplicateComment(Iterable<Comment> existingComments) |
List<Comment> |
Comment.getChildren() |
PageResponse<Comment> |
DefaultCommentManager.getChildren(Comment comment,
LimitedRequest pageRequest,
Depth depth,
com.google.common.base.Predicate<? super Comment>... predicates) |
PageResponse<Comment> |
DefaultCommentManager.getContainerComments(long containerId,
LimitedRequest pageRequest,
Depth depth,
com.google.common.base.Predicate<? super Comment>... predicates) |
List<Comment> |
CommentManager.getPageComments(long pageId,
Date since)
The service get all page comments (page level comments and inline comments)
|
List<Comment> |
DefaultCommentManager.getPageComments(long pageId,
Date since) |
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> |
DefaultCommentManager.getPageComments(long pageId,
Date since,
String ignoreUsername) |
List<Comment> |
AbstractPage.getPageLevelComments() |
List<Comment> |
CommentManager.getPageLevelComments(long pageId,
Date since)
The service get all page level comments
|
List<Comment> |
DefaultCommentManager.getPageLevelComments(long pageId,
Date since) |
List<Comment> |
AbstractPage.getTopLevelComments() |
Modifier and Type | Method and Description |
---|---|
void |
Comment.addChild(Comment child) |
Comment |
CommentManager.addCommentToObject(ContentEntityObject ceo,
Comment parent,
String content) |
Comment |
DefaultCommentManager.addCommentToObject(ContentEntityObject ceo,
Comment parent,
String content) |
Comment |
CommentManager.addCommentToObject(ContentEntityObject ceo,
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.
|
Comment |
DefaultCommentManager.addCommentToObject(ContentEntityObject ceo,
Comment parent,
String content,
NewCommentDeduplicator commentDeduplicator) |
Comment |
CommentManager.addCommentToPage(AbstractPage page,
Comment parent,
String content)
Deprecated.
|
Comment |
DefaultCommentManager.addCommentToPage(AbstractPage page,
Comment parent,
String content) |
PageResponse<Comment> |
DefaultCommentManager.getChildren(Comment comment,
LimitedRequest pageRequest,
Depth depth,
com.google.common.base.Predicate<? super Comment>... predicates) |
void |
NewCommentDeduplicator.newCommentSaved(Comment newComment)
Called when a new comment has been saved
|
void |
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) |
void |
DefaultCommentManager.updateCommentContent(Comment comment,
String content) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Option<Comment> |
NewCommentDeduplicator.findDuplicateComment(Iterable<Comment> existingComments)
Given a collection of existing comments, determine which one, if any, is a duplicate of the new comment submission.
|
com.atlassian.fugue.Option<Comment> |
SubmissionTokenCommentDeduplicator.findDuplicateComment(Iterable<Comment> existingComments) |
void |
Comment.setChildren(List<Comment> children) |
Modifier and Type | Method and Description |
---|---|
Comment |
AddCommentAction.getComment() |
Comment |
EditCommentAction.getComment() |
Comment |
ViewPageAction.getComment()
Gets the currently focused comment.
|
Comment |
CommentAware.getComment() |
Comment |
ViewPageAction.getRootComment()
Deprecated.
since 2.8 the default theme no longer uses a "root comment". This method will remain until the other themes
do the same.
|
Modifier and Type | Method and Description |
---|---|
Map<Comment,String> |
ViewPageAction.getXHtmlComments() |
Modifier and Type | Method and 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 |
ViewPageAction.setComment(Comment comment)
Sets the currently focused comment.
|
void |
CommentAware.setComment(Comment comment) |
Modifier and Type | Method and Description |
---|---|
Comment |
CommentDao.getById(long id)
Get a comment by its id
|
Modifier and Type | Method and Description |
---|---|
PageResponse<Comment> |
CommentDao.getChildren(Comment comment,
LimitedRequest pageRequest,
Depth depth,
com.google.common.base.Predicate<? super Comment>... predicates)
Get the children of a comment
|
List<Comment> |
CommentDao.getContainerComments(long containerId,
Date since)
Get the comments that have been added or updated since a specific time
|
List<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 user
|
PageResponse<Comment> |
CommentDao.getContainerComments(long containerId,
LimitedRequest pageRequest,
Depth depth,
com.google.common.base.Predicate<? super Comment>... predicates)
Get the comments belonging to a container
|
Modifier and Type | Method and Description |
---|---|
PageResponse<Comment> |
CommentDao.getChildren(Comment comment,
LimitedRequest pageRequest,
Depth depth,
com.google.common.base.Predicate<? super Comment>... predicates)
Get the children of a comment
|
Modifier and Type | Method and Description |
---|---|
protected Comment |
HibernateCommentDao.getByClassId(long id) |
Comment |
HibernateCommentDao.getById(long id) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Comment> |
HibernateCommentDao.getChildren(Comment comment,
LimitedRequest pageRequest,
Depth depth,
com.google.common.base.Predicate<? super Comment>... predicates) |
List<Comment> |
HibernateCommentDao.getContainerComments(long containerId,
Date since) |
List<Comment> |
HibernateCommentDao.getContainerComments(long containerId,
Date since,
String ignoreUsername) |
PageResponse<Comment> |
HibernateCommentDao.getContainerComments(long containerId,
LimitedRequest pageRequest,
Depth depth,
com.google.common.base.Predicate<? super Comment>... predicates) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Comment> |
HibernateCommentDao.getChildren(Comment comment,
LimitedRequest pageRequest,
Depth depth,
com.google.common.base.Predicate<? super Comment>... predicates) |
Modifier and Type | Method and Description |
---|---|
Comment |
WebInterfaceContext.getComment()
Returns the comment related to the web interface state, or null if there is no comment.
|
Comment |
DefaultWebInterfaceContext.getComment() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultWebInterfaceContext.setComment(Comment comment) |
Modifier and Type | Method and Description |
---|---|
List<Comment> |
CommentEntityTree.getComments() |
Constructor and Description |
---|
CommentEntityTree(int total,
List<Comment> comments) |
Modifier and Type | Method and Description |
---|---|
ContentEntity |
CommentEntityBuilder.build(Comment comment) |
Constructor and Description |
---|
RemoteComment(Comment comment) |
Modifier and Type | Method and Description |
---|---|
List<com.sun.syndication.feed.synd.SyndCategory> |
CommentRenderSupport.getCategories(RssRenderItem<? extends Comment> item) |
String |
CommentRenderSupport.getRenderedContent(RssRenderItem<? extends Comment> item,
com.atlassian.util.concurrent.Timeout timeout) |
String |
CommentRenderSupport.getTitle(RssRenderItem<? extends Comment> item) |
Modifier and Type | Method and Description |
---|---|
boolean |
PageHelper.shouldRenderCommentAsUpdated(Comment comment)
Should this comment be flagged as having been updated in any rendering, using a default grace threshold
|
boolean |
PageHelper.shouldRenderCommentAsUpdated(Comment comment,
int thresholdSeconds)
Should this comment be flagged as having been updated in any rendering
|
Modifier and Type | Method and 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
|
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
static Comment |
GeneralUtil.getParentComment(Comment comment)
Returns the top-level comment that the comment is attached to
|
Modifier and Type | Method and Description |
---|---|
static 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
|
Copyright © 2003–2017 Atlassian. All rights reserved.