|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.fields.CommentVisibility
public class CommentVisibility
Represents the visibility of the comment to roles or groups of users.
Constructor Summary | |
---|---|
CommentVisibility(Map params,
String paramName)
Gets a commentLevel string out of a map and then will tell you if the provided param is a role or group level visiblity param. |
|
CommentVisibility(String commentLevel)
Digests the passed in commentLevel string, will look something like 'role:ProjectRole' or 'group:jira-users'. |
Method Summary | |
---|---|
static String |
getCommentLevelFromLevels(String groupLevel,
Long roleLevelId)
|
String |
getGroupLevel()
Gets the group level from the commentLevel if it is of type group, null otherwise. |
String |
getRoleLevel()
Gets the role level from the commentLevel if it is of type role, null otherwise. |
static String |
getRoleLevelWithPrefix(String roleLevel)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommentVisibility(Map params, String paramName)
public CommentVisibility(String commentLevel)
commentLevel
- Method Detail |
---|
public String getRoleLevel()
public String getGroupLevel()
public static String getCommentLevelFromLevels(String groupLevel, Long roleLevelId)
public static String getRoleLevelWithPrefix(String roleLevel)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |