public class

GroupRoleActorFactory.GroupRoleActor

extends AbstractRoleActor
java.lang.Object
   ↳ com.atlassian.jira.security.roles.actor.AbstractRoleActor
     ↳ com.atlassian.jira.security.roles.actor.GroupRoleActorFactory.GroupRoleActor

Summary

[Expand]
Inherited Constants
From interface com.atlassian.jira.security.roles.ProjectRoleActor
Public Methods
boolean contains(User user)
boolean contains(ApplicationUser user)
String getDescriptor()
Returns a pretty viewable representation of the contents of the RoleActor (e.g.
Group getGroup()
Returns a Group object that represents a valid (existing) group or throws an IllegalArgumentException if the group does not exist
String getType()
Set<User> getUsers()
boolean isActive()
Whether this Role Actor entity is active or not;
[Expand]
Inherited Methods
From class com.atlassian.jira.security.roles.actor.AbstractRoleActor
From class java.lang.Object
From interface com.atlassian.jira.security.roles.ProjectRoleActor
From interface com.atlassian.jira.security.roles.RoleActor

Public Methods

public boolean contains (User user)

public boolean contains (ApplicationUser user)

public String getDescriptor ()

Returns a pretty viewable representation of the contents of the RoleActor (e.g. if a UserRoleActor, then their full name, James Brown, if a GroupRoleActor, then the name of the group, Business Analysts). NOTE that the returned value is used in RoleActorComparator for sorting.

Returns
  • pretty descriptor

public Group getGroup ()

Returns a Group object that represents a valid (existing) group or throws an IllegalArgumentException if the group does not exist

Returns
  • group
Throws
IllegalArgumentException if group does not exist

public String getType ()

public Set<User> getUsers ()

public boolean isActive ()

Whether this Role Actor entity is active or not;