@PublicApi public interface MutableComment extends Comment
CommentService.update(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.issue.comments.MutableComment, boolean, com.atlassian.jira.util.ErrorCollection)
which does permission checking or
CommentManager.update(com.atlassian.jira.issue.comments.Comment, boolean)
which will just store the provided object, to persist the change to
the database.ID_COMPARATOR
Modifier and Type | Method and Description |
---|---|
void |
setAuthor(ApplicationUser author) |
void |
setAuthor(String author)
Deprecated.
Use
setAuthor(com.atlassian.jira.user.ApplicationUser) instead. Since v6.0. |
void |
setBody(String body) |
void |
setCreated(Date created) |
void |
setGroupLevel(String groupLevel) |
void |
setRoleLevelId(Long roleLevelId) |
void |
setUpdateAuthor(ApplicationUser updateAuthor) |
void |
setUpdateAuthor(String updateAuthor)
Deprecated.
Use
setUpdateAuthor(com.atlassian.jira.user.ApplicationUser) instead. Since v6.0. |
void |
setUpdated(Date updated) |
getAuthor, getAuthorApplicationUser, getAuthorFullName, getAuthorKey, getAuthorUser, getBody, getCreated, getGroupLevel, getId, getIssue, getRoleLevel, getRoleLevelId, getUpdateAuthor, getUpdateAuthorApplicationUser, getUpdateAuthorFullName, getUpdateAuthorUser, getUpdated
void setAuthor(ApplicationUser author)
author
- ApplicationUser
to be set as author.void setAuthor(String author)
setAuthor(com.atlassian.jira.user.ApplicationUser)
instead. Since v6.0.author
- userkey of the user to be set as author.void setBody(String body)
void setCreated(Date created)
void setGroupLevel(String groupLevel)
void setRoleLevelId(Long roleLevelId)
void setUpdateAuthor(ApplicationUser updateAuthor)
updateAuthor
- ApplicationUser
to be set as update author (i.e. the comment editor).void setUpdateAuthor(String updateAuthor)
setUpdateAuthor(com.atlassian.jira.user.ApplicationUser)
instead. Since v6.0.updateAuthor
- userkey of the user to be set as update author (i.e. the comment editor).void setUpdated(Date updated)
Copyright © 2002-2018 Atlassian. All Rights Reserved.