class UpdateCommentDelegate extends AbstractCommentDelegate
Fields inherited from class | Fields |
---|---|
class AbstractCommentDelegate |
issue, projectRoleManager |
Type | Name and description |
---|---|
boolean |
dispatchEvent |
Constructor and description |
---|
UpdateCommentDelegate(com.atlassian.jira.issue.comments.Comment comment, com.atlassian.jira.issue.Issue issue, com.atlassian.jira.security.roles.ProjectRoleManager projectRoleManager) |
Type Params | Return Type | Name and description |
---|---|---|
|
com.atlassian.jira.bc.issue.comment.CommentService$CommentParameters |
buildComment() |
|
void |
clearRestrictions() Clear visibility restriction of the comment |
|
protected void |
handleGroupRestriction(java.lang.String groupName) |
|
protected void |
handleProjectRoleRestriction(java.lang.Long projectRoleId) |
|
void |
internal(boolean isInternal) Sets the visibility of the comment to internal or public. |
|
void |
setBody(java.lang.String body) Set the body of the comment |
Methods inherited from class | Name |
---|---|
class AbstractCommentDelegate |
handleGroupRestriction, handleProjectRoleRestriction, setGroupRestriction, setProjectRoleRestriction, setProjectRoleRestriction, throwDuplicateVisibilityRestrictionException, throwIfServiceDeskIssue |
Clear visibility restriction of the comment
Sets the visibility of the comment to internal or public. This will only have an effect in a Jira Service Management project.
Set the body of the comment
body
- the text to replace the current commentGroovy Documentation