|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface MutableComment
Represents a comment's in JIRA.
After calling any 'setter' method, you will need to call
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.
Method Summary | |
---|---|
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)
|
Methods inherited from interface com.atlassian.jira.issue.comments.Comment |
---|
getAuthor, getAuthorApplicationUser, getAuthorFullName, getAuthorKey, getAuthorUser, getBody, getCreated, getGroupLevel, getId, getIssue, getRoleLevel, getRoleLevelId, getUpdateAuthor, getUpdateAuthorApplicationUser, getUpdateAuthorFullName, getUpdateAuthorUser, getUpdated |
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |