Modifier and Type | Method and Description |
---|---|
Comment |
DefaultCommentService.create(ApplicationUser applicationUser,
CommentService.CommentCreateValidationResult validationResult,
boolean dispatchEvent) |
Comment |
CommentService.create(ApplicationUser user,
CommentService.CommentCreateValidationResult commentValidationResult,
boolean dispatchEvent)
|
Comment |
DefaultCommentService.create(ApplicationUser user,
Issue issue,
String body,
boolean dispatchEvent,
ErrorCollection errorCollection) |
Comment |
CommentService.create(ApplicationUser user,
Issue issue,
String body,
boolean dispatchEvent,
ErrorCollection errorCollection)
|
Comment |
DefaultCommentService.create(ApplicationUser user,
Issue issue,
String body,
String groupLevel,
Long roleLevelId,
boolean dispatchEvent,
ErrorCollection errorCollection) |
Comment |
CommentService.create(ApplicationUser user,
Issue issue,
String body,
String groupLevel,
Long roleLevelId,
boolean dispatchEvent,
ErrorCollection errorCollection)
|
Comment |
DefaultCommentService.create(ApplicationUser user,
Issue issue,
String body,
String groupLevel,
Long roleLevelId,
Date created,
boolean dispatchEvent,
ErrorCollection errorCollection) |
Comment |
CommentService.create(ApplicationUser user,
Issue issue,
String body,
String groupLevel,
Long roleLevelId,
Date created,
boolean dispatchEvent,
ErrorCollection errorCollection)
|
Comment |
DefaultCommentService.getCommentById(ApplicationUser user,
Long commentId,
ErrorCollection errorCollection) |
Comment |
CommentService.getCommentById(ApplicationUser user,
Long commentId,
ErrorCollection errorCollection)
Will return a comment for the passed in commentId.
|
Modifier and Type | Method and Description |
---|---|
io.atlassian.fugue.Option<Comment> |
CommentService.CommentUpdateValidationResult.getComment() |
List<Comment> |
DefaultCommentService.getCommentsForUser(ApplicationUser user,
Issue issue) |
List<Comment> |
CommentService.getCommentsForUser(ApplicationUser user,
Issue issue)
|
List<Comment> |
DefaultCommentService.getCommentsForUser(ApplicationUser currentUser,
Issue issue,
ErrorCollection errorCollection) |
List<Comment> |
CommentService.getCommentsForUser(ApplicationUser currentUser,
Issue issue,
ErrorCollection errorCollection)
Deprecated.
Use
CommentService.getCommentsForUser(ApplicationUser currentUser, Issue issue) instead. Since v6.3. |
List<Comment> |
DefaultCommentService.getCommentsForUserSince(ApplicationUser currentUser,
Issue issue,
Date since) |
List<Comment> |
CommentService.getCommentsForUserSince(ApplicationUser user,
Issue issue,
Date since)
Will return a list of
Comment s that were created or updated since the provided date, for the given user. |
java.util.stream.Stream<Comment> |
DefaultCommentService.streamComments(ApplicationUser user,
Issue issue) |
java.util.stream.Stream<Comment> |
CommentService.streamComments(ApplicationUser user,
Issue issue)
Streams every comment of the given issue that is visible to the user.
|
Modifier and Type | Method and Description |
---|---|
static CommentService.CommentParameters.CommentParametersBuilder |
CommentService.CommentParameters.builder(Comment comment) |
void |
DefaultCommentService.delete(JiraServiceContext jiraServiceContext,
Comment comment,
boolean dispatchEvent) |
void |
CommentService.delete(JiraServiceContext jiraServiceContext,
Comment comment,
boolean dispatchEvent)
Deletes a comment and updates the issue's change history and updated date.
|
boolean |
DefaultCommentService.hasPermissionToEdit(ApplicationUser user,
Comment comment,
ErrorCollection errorCollection) |
boolean |
CommentService.hasPermissionToEdit(ApplicationUser user,
Comment comment,
ErrorCollection errorCollection)
Deprecated.
|
protected boolean |
DefaultCommentService.hasVisibility(JiraServiceContext jiraServiceContext,
Comment comment) |
Constructor and Description |
---|
CommentUpdateValidationResult(SimpleErrorCollection errorCollection,
io.atlassian.fugue.Option<Map<String,JSONObject>> commentProperties,
io.atlassian.fugue.Option<Comment> comment) |
Modifier and Type | Method and Description |
---|---|
java.util.function.Function<Long,io.atlassian.fugue.Option<Comment>> |
CommentPropertyHelper.getEntityByIdFunction() |
EntityPropertyHelper.CheckPermissionFunction<Comment> |
CommentPropertyHelper.hasEditPermissionFunction() |
EntityPropertyHelper.CheckPermissionFunction<Comment> |
CommentPropertyHelper.hasReadPermissionFunction() |
Modifier and Type | Method and Description |
---|---|
Comment |
CommentEvent.getComment() |
Constructor and Description |
---|
CommentCreatedEvent(Comment comment) |
CommentCreatedEvent(Comment comment,
boolean sendMail,
boolean partOfIssueChange) |
CommentDeletedEvent(Comment comment) |
CommentUpdatedEvent(Comment comment) |
Modifier and Type | Method and Description |
---|---|
Comment |
IssueEvent.getComment() |
Comment |
MentionIssueCommentEvent.getComment() |
Modifier and Type | Method and Description |
---|---|
Optional<Comment> |
IssueChangedEventImpl.getComment() |
Optional<Comment> |
IssueChangedEvent.getComment()
The comment that was added to the issue with the change.
|
Modifier and Type | Method and Description |
---|---|
IssueEventBundle |
IssueEventBundleFactory.createCommentAddedBundle(Issue issue,
ApplicationUser user,
Comment comment,
Map<String,Object> params)
Creates an IssueEventBundle for scenarios where a comment is added to an issue.
|
IssueEventBundle |
IssueEventBundleFactoryImpl.createCommentAddedBundle(Issue issue,
ApplicationUser user,
Comment comment,
Map<String,Object> params) |
IssueEventBundle |
IssueEventBundleFactory.createCommentEditedBundle(Issue issue,
ApplicationUser user,
Comment comment,
Map<String,Object> params)
Creates an IssueEventBundle for scenarios where a comment is edited.
|
IssueEventBundle |
IssueEventBundleFactoryImpl.createCommentEditedBundle(Issue issue,
ApplicationUser user,
Comment comment,
Map<String,Object> params) |
IssueEventBundle |
IssueEventBundleFactory.createWorkflowEventBundle(Long eventType,
Issue issue,
ApplicationUser user,
Comment comment,
org.ofbiz.core.entity.GenericValue changeGroup,
Map<String,Object> params,
boolean sendMail,
String originalAssigneeId)
Creates an IssueEventBundle for scenarios where a workflow transition is executed.
|
IssueEventBundle |
IssueEventBundleFactoryImpl.createWorkflowEventBundle(Long eventType,
Issue issue,
ApplicationUser user,
Comment comment,
org.ofbiz.core.entity.GenericValue changeGroup,
Map<String,Object> params,
boolean sendMail,
String originalAssigneeId) |
static void |
IssueEventDispatcher.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog)
Deprecated.
Since v5.0
|
void |
DefaultIssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog) |
void |
IssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
static void |
IssueEventDispatcher.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
boolean sendMail)
Deprecated.
Since v5.0
|
void |
DefaultIssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
boolean sendMail) |
void |
IssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
boolean sendMail)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
static void |
IssueEventDispatcher.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params)
Deprecated.
Since v5.0
|
void |
DefaultIssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params) |
void |
IssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
static void |
IssueEventDispatcher.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail)
Deprecated.
Since v5.0
|
void |
DefaultIssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail) |
void |
IssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
static void |
IssueEventDispatcher.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail,
boolean subtasksUpdated)
Deprecated.
Since v5.0
|
void |
DefaultIssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail,
boolean subtasksUpdated) |
void |
IssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail,
boolean subtasksUpdated)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
void |
DefaultIssueEventManager.dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog) |
void |
IssueEventManager.dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
void |
DefaultIssueEventManager.dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params) |
void |
IssueEventManager.dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
void |
DefaultIssueEventManager.dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail) |
void |
IssueEventManager.dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
void |
DefaultIssueEventManager.dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail,
boolean subtasksUpdated) |
void |
IssueEventManager.dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail,
boolean subtasksUpdated)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
Constructor and Description |
---|
IssueEvent(Issue issue,
ApplicationUser user,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changeGroup,
Map params,
Long eventTypeId)
Create a new IssueEvent with a given list of parameters.
|
IssueEvent(Issue issue,
ApplicationUser user,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changeGroup,
Map params,
Long eventTypeId,
boolean sendMail)
Create a new IssueEvent with a given list of parameters.
|
IssueEvent(Issue issue,
ApplicationUser user,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changeGroup,
Map params,
Long eventTypeId,
boolean sendMail,
boolean subtasksUpdated) |
IssueEvent(Issue issue,
ApplicationUser user,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changeGroup,
Map params,
Long eventTypeId,
boolean sendMail,
boolean subtasksUpdated,
SpanningOperation spanningOperation)
Create a new IssueEvent with a given list of parameters.
|
MentionIssueCommentEvent(Issue issue,
ApplicationUser fromUser,
Set<ApplicationUser> toUsers,
String mentionText,
String fieldId,
Set<NotificationRecipient> currentRecipients,
Comment comment) |
Constructor and Description |
---|
IssueChangedEventImpl(Issue issue,
Optional<ApplicationUser> author,
Collection<ChangeItemBean> changeItems,
Optional<Comment> comment,
Date eventTime,
boolean sendMail,
SpanningOperation spanningOperation) |
Modifier and Type | Method and Description |
---|---|
void |
TxnAwareEventFactory.issueChangedEventOnCommit(long issueId,
ApplicationUser caller,
Comment comment,
long changeGroupId,
boolean sendMail) |
void |
TxnAwareEventFactoryImpl.issueChangedEventOnCommit(long issueId,
ApplicationUser author,
Comment comment,
long changeGroupId,
boolean sendMail) |
Modifier and Type | Method and Description |
---|---|
void |
NullReplicatedIndexManager.reindexComments(Collection<Comment> comments) |
void |
ReplicatedIndexManager.reindexComments(Collection<Comment> comments) |
void |
DefaultReplicatedIndexManager.reindexComments(Collection<Comment> comments)
Reindexes the set of provided comments in the replicated index.
|
Modifier and Type | Interface and Description |
---|---|
interface |
MutableComment
Represents a comment's in JIRA.
|
Modifier and Type | Class and Description |
---|---|
class |
CommentImpl
Represents a comment on an issue by a user.
|
class |
MockComment |
Modifier and Type | Field and Description |
---|---|
static Comparator<Comment> |
CommentComparator.COMPARATOR
Comparator for sorting comments based on creation date.
|
Modifier and Type | Method and Description |
---|---|
Comment |
DefaultCommentManager.convertToComment(org.ofbiz.core.entity.GenericValue gv) |
Comment |
CommentSearchManager.convertToComment(org.ofbiz.core.entity.GenericValue gv) |
Comment |
CommentManager.convertToComment(org.ofbiz.core.entity.GenericValue commentGV)
This is a convenience method that can be used to convert a GenericValue representation of a comment to a comment
object.
|
Comment |
DefaultCommentManager.create(Issue issue,
ApplicationUser author,
ApplicationUser updateAuthor,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Date updated,
boolean dispatchEvent) |
Comment |
CommentManager.create(Issue issue,
ApplicationUser author,
ApplicationUser updateAuthor,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Date updated,
boolean dispatchEvent)
Creates a comment and associates it with the given issue.
|
Comment |
DefaultCommentManager.create(Issue issue,
ApplicationUser author,
ApplicationUser updateAuthor,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Date updated,
boolean dispatchEvent,
boolean modifyIssueUpdateDate) |
Comment |
CommentManager.create(Issue issue,
ApplicationUser author,
ApplicationUser updateAuthor,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Date updated,
boolean dispatchEvent,
boolean modifyIssueUpdateDate)
Creates a comment and associates it with the given issue.
|
Comment |
DefaultCommentManager.create(Issue issue,
ApplicationUser author,
ApplicationUser updateAuthor,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Date updated,
Map<String,JSONObject> commentProperties,
boolean dispatchEvent,
boolean modifyIssueUpdateDate) |
Comment |
CommentManager.create(Issue issue,
ApplicationUser author,
ApplicationUser updateAuthor,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Date updated,
Map<String,JSONObject> commentProperties,
boolean dispatchEvent,
boolean modifyIssueUpdateDate)
Creates a comment and associates it with the given issue.
|
Comment |
DefaultCommentManager.create(Issue issue,
ApplicationUser author,
String body,
boolean dispatchEvent) |
Comment |
CommentManager.create(Issue issue,
ApplicationUser author,
String body,
boolean dispatchEvent)
Creates a comment and associates it with the given issue.
|
Comment |
DefaultCommentManager.create(Issue issue,
ApplicationUser author,
String body,
String groupLevel,
Long roleLevelId,
boolean dispatchEvent) |
Comment |
CommentManager.create(Issue issue,
ApplicationUser author,
String body,
String groupLevel,
Long roleLevelId,
boolean dispatchEvent)
Creates a comment and associates it with the given issue.
|
Comment |
DefaultCommentManager.create(Issue issue,
ApplicationUser author,
String body,
String groupLevel,
Long roleLevelId,
Date created,
boolean dispatchEvent) |
Comment |
CommentManager.create(Issue issue,
ApplicationUser author,
String body,
String groupLevel,
Long roleLevelId,
Date created,
boolean dispatchEvent)
Creates a comment and associates it with the given issue.
|
Comment |
DefaultCommentManager.create(Issue issue,
ApplicationUser author,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Map<String,JSONObject> commentProperties,
boolean dispatchEvent) |
Comment |
CommentManager.create(Issue issue,
ApplicationUser author,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Map<String,JSONObject> commentProperties,
boolean dispatchEvent)
Creates a comment and associates it with the given issue.
|
Comment |
DefaultCommentManager.create(Issue issue,
String author,
String body,
boolean dispatchEvent) |
Comment |
CommentManager.create(Issue issue,
String author,
String body,
boolean dispatchEvent)
Deprecated.
Use
CommentManager.create(Issue issue, ApplicationUser author, String body, boolean dispatchEvent) instead.
Since 6.0. |
Comment |
DefaultCommentManager.create(Issue issue,
String author,
String body,
String groupLevel,
Long roleLevelId,
boolean dispatchEvent) |
Comment |
CommentManager.create(Issue issue,
String author,
String body,
String groupLevel,
Long roleLevelId,
boolean dispatchEvent)
Deprecated.
|
Comment |
DefaultCommentManager.create(Issue issue,
String author,
String body,
String groupLevel,
Long roleLevelId,
Date created,
boolean dispatchEvent) |
Comment |
CommentManager.create(Issue issue,
String author,
String body,
String groupLevel,
Long roleLevelId,
Date created,
boolean dispatchEvent)
Deprecated.
|
Comment |
DefaultCommentManager.create(Issue issue,
String author,
String updateAuthor,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Date updated,
boolean dispatchEvent) |
Comment |
CommentManager.create(Issue issue,
String author,
String updateAuthor,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Date updated,
boolean dispatchEvent)
|
Comment |
DefaultCommentManager.create(Issue issue,
String author,
String updateAuthor,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Date updated,
boolean dispatchEvent,
boolean modifyIssueUpdateDate) |
Comment |
CommentManager.create(Issue issue,
String author,
String updateAuthor,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Date updated,
boolean dispatchEvent,
boolean modifyIssueUpdateDate)
|
Comment |
QueryDSLCommentFactory.createComment(Issue issue,
com.querydsl.core.Tuple tuple) |
Comment |
DefaultCommentManager.getCommentById(Long commentId) |
Comment |
CommentSearchManager.getCommentById(Long commentId) |
Comment |
CommentManager.getCommentById(Long commentId)
Will return a comment for the passed in commentId.
|
Comment |
DefaultCommentManager.getLastComment(Issue issue) |
Comment |
CommentManager.getLastComment(Issue issue)
|
Modifier and Type | Method and Description |
---|---|
List<Comment> |
CommentSummary.getComments() |
List<Comment> |
DefaultCommentManager.getComments(Issue issue) |
List<Comment> |
CommentSearchManager.getComments(Issue issue) |
List<Comment> |
CommentManager.getComments(Issue issue)
This will return all comments for a given issue.
|
List<Comment> |
DefaultCommentManager.getCommentsForUser(Issue issue,
ApplicationUser user) |
List<Comment> |
CommentSearchManager.getCommentsForUser(Issue issue,
ApplicationUser user) |
List<Comment> |
CommentManager.getCommentsForUser(Issue issue,
ApplicationUser user)
Retrieves all
Comment s on the given Issue that the given ApplicationUser
has permission to see. |
List<Comment> |
DefaultCommentManager.getCommentsForUserSince(Issue issue,
ApplicationUser user,
Date since) |
List<Comment> |
CommentSearchManager.getCommentsForUserSince(Issue issue,
ApplicationUser user,
Date since) |
List<Comment> |
CommentManager.getCommentsForUserSince(Issue issue,
ApplicationUser user,
Date since)
Retrieves
Comment s that were created or updated after the provided date, on the given Issue that the
given ApplicationUser has permission to see. |
java.util.stream.Stream<Comment> |
StreamingCommentsRetriever.stream(ApplicationUser user,
Issue issue)
This method iterates over each comment of the given issue and executes a callback on it.
|
java.util.stream.Stream<Comment> |
DefaultCommentManager.streamComments(ApplicationUser user,
Issue issue) |
java.util.stream.Stream<Comment> |
CommentSearchManager.streamComments(ApplicationUser user,
Issue issue) |
java.util.stream.Stream<Comment> |
CommentManager.streamComments(ApplicationUser user,
Issue issue)
Streams every comment of the given issue that is visible to the user.
|
Modifier and Type | Method and Description |
---|---|
int |
CommentComparator.compare(Comment o1,
Comment o2) |
ChangeItemBean |
DefaultCommentManager.delete(Comment comment) |
ChangeItemBean |
CommentManager.delete(Comment comment)
Deletes the specified comment.
|
void |
DefaultCommentManager.delete(Comment comment,
boolean dispatchEvent,
ApplicationUser user) |
void |
CommentManager.delete(Comment comment,
boolean dispatchEvent,
ApplicationUser user)
Deletes the specified comment.
|
boolean |
DefaultCommentPermissionManager.hasBrowsePermission(ApplicationUser user,
Comment comment)
Determines whether the user can see given comment, or is prevented by restrictions on the visibility of the
comment (either group- or Project Role-based)
|
boolean |
CommentPermissionManager.hasBrowsePermission(ApplicationUser user,
Comment comment)
Return true if the user can see the comment.
|
boolean |
DefaultCommentPermissionManager.hasEditPermission(ApplicationUser user,
Comment comment)
Determines whether the user can edit given comment.
|
boolean |
CommentPermissionManager.hasEditPermission(ApplicationUser user,
Comment comment)
Determines whether the given user has permission to edit the given comment.
|
boolean |
DefaultCommentPermissionManager.isUserCommentAuthor(ApplicationUser user,
Comment comment) |
boolean |
DefaultCommentManager.isUserCommentAuthor(ApplicationUser user,
Comment comment) |
boolean |
CommentManager.isUserCommentAuthor(ApplicationUser user,
Comment comment)
Returns true if the given user is the author of the given comment.
|
boolean |
CommentPermissionManager.isUserCommentAuthor(ApplicationUser user,
Comment comment)
Returns true if the given user is the author of the given comment.
|
void |
CommentEventPublisherImpl.publishCommentCreatedEvent(Comment comment,
Map<String,Object> parameters) |
void |
CommentEventPublisher.publishCommentCreatedEvent(Comment comment,
Map<String,Object> parameters)
Publishes events when a comment is updated.
|
void |
CommentEventPublisherImpl.publishCommentDeletedEvent(Comment comment) |
void |
CommentEventPublisher.publishCommentDeletedEvent(Comment comment)
Publishes events when a comment is deleted.
|
void |
CommentEventPublisherImpl.publishCommentUpdatedEvent(Comment comment,
Map<String,Object> parameters) |
void |
CommentEventPublisher.publishCommentUpdatedEvent(Comment comment,
Map<String,Object> parameters)
Publishes events when a comment is created.
|
void |
DefaultCommentManager.update(Comment comment,
boolean dispatchEvent) |
void |
CommentManager.update(Comment comment,
boolean dispatchEvent)
Persists the updated comment.
|
void |
DefaultCommentManager.update(Comment comment,
Map<String,JSONObject> commentProperties,
boolean dispatchEvent) |
void |
CommentManager.update(Comment comment,
Map<String,JSONObject> commentProperties,
boolean dispatchEvent)
Persists the updated comment.
|
Constructor and Description |
---|
CommentSummary(int total,
List<Comment> comments) |
Modifier and Type | Method and Description |
---|---|
Comment |
LuceneCommentIterator.next() |
Comment |
LuceneCommentIterator.nextComment() |
Comment |
CommentIterator.nextComment() |
Modifier and Type | Method and Description |
---|---|
CommentJsonBean |
CommentBeanFactory.createBean(Comment comment)
|
CommentJsonBean |
DefaultCommentBeanFactory.createBean(Comment comment)
Deprecated.
|
CommentJsonBean |
CommentBeanFactory.createBean(Comment comment,
ApplicationUser loggedInUser,
EmailFormatter emailFormatter)
Generate a bean suitable for serialisation by Jackon into JSON.
|
CommentJsonBean |
DefaultCommentBeanFactory.createBean(Comment comment,
ApplicationUser loggedInUser,
EmailFormatter emailFormatter) |
CommentJsonBean |
CommentBeanFactory.createRenderedBean(Comment comment)
|
CommentJsonBean |
DefaultCommentBeanFactory.createRenderedBean(Comment comment)
Deprecated.
|
CommentJsonBean |
CommentBeanFactory.createRenderedBean(Comment comment,
ApplicationUser loggedInUser,
EmailFormatter emailFormatter)
Generate a bean suitable for serialisation by Jackon into JSON.
|
CommentJsonBean |
DefaultCommentBeanFactory.createRenderedBean(Comment comment,
ApplicationUser loggedInUser,
EmailFormatter emailFormatter) |
Modifier and Type | Method and Description |
---|---|
static CommentJsonBean |
CommentJsonBean.expandedShortBean(Comment comment,
JiraBaseUrls urls,
ProjectRoleManager projectRoleManager,
DateTimeFormatterFactory dateTimeFormatterFactory,
RendererManager rendererManager,
String rendererType,
IssueRenderContext renderContext,
String expand)
|
static CommentJsonBean |
CommentJsonBean.expandedShortBean(Comment comment,
JiraBaseUrls urls,
ProjectRoleManager projectRoleManager,
DateTimeFormatterFactory dateTimeFormatterFactory,
RendererManager rendererManager,
String rendererType,
IssueRenderContext renderContext,
String expand,
ApplicationUser loggedInUser,
EmailFormatter emailFormatter) |
static CommentJsonBean |
CommentJsonBean.renderedShortBean(Comment comment,
JiraBaseUrls urls,
ProjectRoleManager projectRoleManager,
DateTimeFormatterFactory dateTimeFormatterFactory,
RendererManager rendererManager,
String rendererType,
IssueRenderContext renderContext)
|
static CommentJsonBean |
CommentJsonBean.renderedShortBean(Comment comment,
JiraBaseUrls urls,
ProjectRoleManager projectRoleManager,
DateTimeFormatterFactory dateTimeFormatterFactory,
RendererManager rendererManager,
String rendererType,
IssueRenderContext renderContext,
ApplicationUser loggedInUser,
EmailFormatter emailFormatter) |
static CommentJsonBean |
CommentJsonBean.shortBean(Comment comment,
JiraBaseUrls urls,
ProjectRoleManager projectRoleManager)
|
static CommentJsonBean |
CommentJsonBean.shortBean(Comment comment,
JiraBaseUrls urls,
ProjectRoleManager projectRoleManager,
ApplicationUser loggedInUser,
EmailFormatter emailFormatter) |
Modifier and Type | Method and Description |
---|---|
protected CommentJsonBean |
StreamingCommentsJsonBeanSerializer.getRenderedCommentJsonBean(StreamingCommentsJsonBean serializableCommentsBean,
Comment comment,
ApplicationUser loggedInUser) |
protected CommentJsonBean |
StreamingCommentsJsonBeanSerializer.getShortCommentJsonBean(Comment comment,
ApplicationUser loggedInUser) |
Modifier and Type | Method and Description |
---|---|
List<Comment> |
DefaultCommentRetriever.apply(Issue issue) |
Modifier and Type | Method and Description |
---|---|
io.atlassian.fugue.Option<org.apache.lucene.document.Document> |
DefaultCommentDocumentFactory.apply(Comment comment) |
org.apache.lucene.index.Term |
DefaultCommentDocumentFactory.getIdentifyingTerm(Comment comment) |
Modifier and Type | Method and Description |
---|---|
long |
DefaultIndexManager.reIndexComments(Collection<Comment> comments) |
long |
IssueIndexManager.reIndexComments(Collection<Comment> comments)
Deprecated.
Call this as
IssueIndexingService.reIndexComments(Collection) instead. Since v7.0. |
long |
IssueIndexingService.reIndexComments(Collection<Comment> comments)
Reindexes a collection of comments.
|
Index.Result |
IssueIndexer.reindexComments(Collection<Comment> comments,
Context context)
Reindex a collection of issue comments.
|
Index.Result |
DefaultIssueIndexer.reindexComments(Collection<Comment> comments,
Context context) |
long |
DefaultIndexManager.reIndexComments(Collection<Comment> comments,
Context context) |
long |
IssueIndexManager.reIndexComments(Collection<Comment> comments,
Context context)
Deprecated.
Call this as
IssueIndexingService.reIndexComments(Collection, Context) instead. Since v7.0. |
long |
IssueIndexingService.reIndexComments(Collection<Comment> comments,
Context context)
Reindexes a collection of comments.
|
long |
DefaultIndexManager.reIndexComments(Collection<Comment> comments,
Context context,
boolean updateReplicatedIndexStore) |
long |
IssueIndexManager.reIndexComments(Collection<Comment> comments,
Context context,
boolean updateReplicatedIndexStore)
Deprecated.
Call this as
IssueIndexingService.reIndexComments(Collection, Context, boolean) instead.
Since v7.0. |
long |
IssueIndexingService.reIndexComments(Collection<Comment> comments,
Context context,
boolean updateReplicatedIndexStore)
Reindexes a collection of comments.
|
Constructor and Description |
---|
CommentFieldRenderContext(Comment comment) |
Modifier and Type | Method and Description |
---|---|
Comment |
CommentAction.getComment()
Returns the comment
|
Constructor and Description |
---|
CommentAction(IssueTabPanelModuleDescriptor descriptor,
Comment comment,
boolean canEditComment,
boolean canDeleteComment,
boolean isCollapsed,
RendererManager rendererManager,
FieldLayoutManager fieldLayoutManager,
DateTimeFormatter dateTimeFormatter,
CommentFieldRenderer commentFieldRenderer,
CommentPropertyService commentPropertyService,
JiraAuthenticationContext jiraAuthenticationContext) |
Modifier and Type | Method and Description |
---|---|
Comment |
IssueChangeHolder.getComment()
Get the comment associated with this group of changes.
|
Comment |
IssueUpdateBean.getComment() |
Comment |
DefaultIssueChangeHolder.getComment() |
Modifier and Type | Method and Description |
---|---|
void |
IssueChangeHolder.setComment(Comment comment)
Set the comment associated with this change.
|
void |
IssueUpdateBean.setComment(Comment comment) |
void |
DefaultIssueChangeHolder.setComment(Comment comment) |
Modifier and Type | Method and Description |
---|---|
void |
MentionServiceImpl.sendCommentMentions(ApplicationUser remoteUser,
Set<NotificationRecipient> currentRecipients,
Comment comment,
Comment originalComment) |
void |
MentionService.sendCommentMentions(ApplicationUser remoteUser,
Set<NotificationRecipient> currentRecipients,
Comment comment,
Comment originalComment)
Given a comment object this method will look for any mentions using the
MentionFinder and send e-mails to
all users mentioned. |
void |
MentionServiceImpl.sendIssueEditMentions(ApplicationUser remoteUser,
Set<NotificationRecipient> currentRecipients,
Issue issue,
Comment comment) |
void |
MentionService.sendIssueEditMentions(ApplicationUser remoteUser,
Set<NotificationRecipient> currentRecipients,
Issue issue,
Comment comment)
Given an issue that has just been edited and an optional edit comment this method sends mention e-mails
to all users mentioned in either the new issue description or option edit comment.
|
Modifier and Type | Method and Description |
---|---|
Index.Result |
MockIssueIndexer.reindexComments(Collection<Comment> comments,
Context context) |
Modifier and Type | Method and Description |
---|---|
CommentHelper.CommentHelperBuilder |
CommentHelper.CommentHelperBuilder.comment(Comment comment) |
Constructor and Description |
---|
CommentHelper(javax.servlet.http.HttpServletRequest request,
Project project,
io.atlassian.fugue.Option<Issue> issue,
io.atlassian.fugue.Option<Comment> comment) |
Modifier and Type | Method and Description |
---|---|
CommentJsonBean |
CommentBeanFactory.createBean(Comment comment) |
Modifier and Type | Method and Description |
---|---|
Comment |
MessageHandlerContext.createComment(Issue issue,
ApplicationUser author,
String body,
boolean dispatchEvent)
Creates a new issue comment in JIRA or a dummy comment in dry run mode
|
Comment |
DefaultMessageHandlerContext.createComment(Issue issue,
ApplicationUser author,
String body,
boolean dispatchEvent) |
Modifier and Type | Method and Description |
---|---|
protected Comment |
AbstractIssueLinkAction.createAndDispatchComment()
Create a comment and dispatch event
|
protected Comment |
AbstractCommentableIssue.createComment() |
Comment |
DeleteComment.getCommentObject() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractIssueLinkAction.dispatchCommentEvents(Issue issue,
Comment comment) |
Copyright © 2002-2019 Atlassian. All Rights Reserved.