public class GroupRoleActorFactory.GroupRoleActor extends AbstractRoleActor
GROUP_ROLE_ACTOR_TYPE, USER_ROLE_ACTOR_TYPE
Modifier and Type | Method and Description |
---|---|
boolean |
contains(ApplicationUser 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<ApplicationUser> |
getUsers()
Will provide a Set of users encapsulated by this RoleActor.
|
boolean |
isActive()
Whether this Role Actor entity is active or not;
|
equals, getId, getParameter, getProjectId, getProjectRoleId, hashCode, toString
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<ApplicationUser> getUsers()
RoleActor
public boolean contains(ApplicationUser user)
RoleActor
user
- the user to check if they are containedpublic com.atlassian.crowd.embedded.api.Group getGroup() throws IllegalArgumentException
IllegalArgumentException
- if group does not existCopyright © 2002-2024 Atlassian. All Rights Reserved.