|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonar.api.database.BaseIdentifiable
org.sonar.api.security.GroupRole
public class GroupRole
| Field Summary | |
|---|---|
static Integer |
ANYONE_GROUP_ID
|
| Constructor Summary | |
|---|---|
GroupRole()
|
|
| Method Summary | |
|---|---|
static GroupRole |
buildGlobalRole(Integer groupId,
String role)
|
static GroupRole |
buildResourceRole(Integer groupId,
String role,
Integer resourceId)
|
Integer |
getGroupId()
|
Integer |
getResourceId()
|
String |
getRole()
|
boolean |
isAnyone()
|
GroupRole |
setGroupId(Integer groupId)
|
GroupRole |
setResourceId(Integer resourceId)
|
GroupRole |
setRole(String role)
|
String |
toString()
|
| Methods inherited from class org.sonar.api.database.BaseIdentifiable |
|---|
getId, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Integer ANYONE_GROUP_ID
| Constructor Detail |
|---|
public GroupRole()
| Method Detail |
|---|
public static GroupRole buildGlobalRole(Integer groupId,
String role)
public static GroupRole buildResourceRole(Integer groupId,
String role,
Integer resourceId)
public Integer getGroupId()
public GroupRole setGroupId(Integer groupId)
public String getRole()
public GroupRole setRole(String role)
public Integer getResourceId()
public GroupRole setResourceId(Integer resourceId)
public boolean isAnyone()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||