public final class

MigrationGroupServiceImpl

extends Object
implements MigrationGroupService
java.lang.Object
   ↳ com.atlassian.jira.upgrade.tasks.role.MigrationGroupServiceImpl

Summary

Public Constructors
MigrationGroupServiceImpl(GlobalPermissionDao globalPermissionDao, CrowdService crowdService)
Public Methods
GroupWithAttributes getGroupWithAttributes(Group group)
Retrieves attributes of the group.
Set<UserWithPermissions> getUsersInGroup(Group group)
Retrieves all ACTIVE users in the given group.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.upgrade.tasks.role.MigrationGroupService

Public Constructors

public MigrationGroupServiceImpl (GlobalPermissionDao globalPermissionDao, CrowdService crowdService)

Public Methods

public GroupWithAttributes getGroupWithAttributes (Group group)

Retrieves attributes of the group.

Parameters
group for which attributes should be retrieved.
Returns
  • group with attributes.

public Set<UserWithPermissions> getUsersInGroup (Group group)

Retrieves all ACTIVE users in the given group. This method will also return users within nested groups. Please note that users that are disabled will not be returned by this method.

Parameters
group for which users should be retrieved.
Returns
  • Set of users with permissions.