abstract class AbstractCommentDelegate extends java.lang.Object implements CommentDelegate
Modifiers | Name | Description |
---|---|---|
protected com.atlassian.jira.issue.Issue |
issue |
|
protected com.atlassian.jira.security.roles.ProjectRoleManager |
projectRoleManager |
Constructor and description |
---|
AbstractCommentDelegate(com.atlassian.jira.issue.Issue issue, com.atlassian.jira.security.roles.ProjectRoleManager projectRoleManager) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected abstract void |
handleGroupRestriction(java.lang.String groupName) |
|
protected abstract void |
handleProjectRoleRestriction(java.lang.Long projectRoleId) |
|
void |
setGroupRestriction(java.lang.String groupName) Restrict the visibility of the comment to members of a group. |
|
void |
setProjectRoleRestriction(java.lang.String projectRoleName) Restrict the visibility of the comment to members of a project role. |
|
void |
setProjectRoleRestriction(com.atlassian.jira.security.roles.ProjectRole projectRole) Restrict the visibility of the comment to members of a project role. |
|
protected void |
throwDuplicateVisibilityRestrictionException() |
|
protected void |
throwIfServiceDeskIssue() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Restrict the visibility of the comment to members of a group.
groupName
- the name of the group that will have visibility of the commentRestrict the visibility of the comment to members of a project role.
projectRoleName
- the name of the project role that will have visibility of the commentRestrict the visibility of the comment to members of a project role.
projectRole
- the project role that will have visibility of the comment