|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.security.roles.actor.AbstractRoleActor com.atlassian.jira.security.roles.actor.GroupRoleActorFactory.GroupRoleActor
public class GroupRoleActorFactory.GroupRoleActor
Field Summary |
---|
Fields inherited from interface com.atlassian.jira.security.roles.ProjectRoleActor |
---|
GROUP_ROLE_ACTOR_TYPE, USER_ROLE_ACTOR_TYPE |
Method Summary | |
---|---|
boolean |
contains(ApplicationUser user)
Does this RoleActor contain the specified user. |
boolean |
contains(com.atlassian.crowd.embedded.api.User user)
Does this RoleActor contain the specified user. |
String |
getDescriptor()
Returns a pretty viewable representation of the contents of the RoleActor (e.g. |
com.atlassian.crowd.embedded.api.Group |
getGroup()
Returns a Group object that represents a valid (existing) group or throws an IllegalArgumentException if the group does not exist |
String |
getType()
Returns a string that identifies the implementation type. |
Set<com.atlassian.crowd.embedded.api.User> |
getUsers()
Will provide a Set of users encapsulated by this RoleActor. |
boolean |
isActive()
Whether this Role Actor entity is active or not; |
Methods inherited from class com.atlassian.jira.security.roles.actor.AbstractRoleActor |
---|
equals, getId, getParameter, getProjectId, getProjectRoleId, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public boolean isActive()
RoleActor
isActive
in interface RoleActor
isActive
in class AbstractRoleActor
public String getType()
RoleActor
public String getDescriptor()
RoleActor
getDescriptor
in interface RoleActor
getDescriptor
in class AbstractRoleActor
public Set<com.atlassian.crowd.embedded.api.User> getUsers()
RoleActor
public boolean contains(ApplicationUser user)
RoleActor
user
- the user to check if they are contained
public boolean contains(com.atlassian.crowd.embedded.api.User user)
RoleActor
user
- the user to check if they are contained
public com.atlassian.crowd.embedded.api.Group getGroup() throws IllegalArgumentException
IllegalArgumentException
- if group does not exist
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |