|
||||||||||
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
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, 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
RoleActorComparator
for sorting.
getDescriptor
in interface RoleActor
getDescriptor
in class AbstractRoleActor
public Set<com.atlassian.crowd.embedded.api.User> getUsers()
RoleActor
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 |