Interface MigrationGroupService
- All Known Implementing Classes:
MigrationGroupServiceImpl
public interface MigrationGroupService
Service for retrieving groups with attributes and members of a group.
Should only be used during renaissance migration.
- Since:
- 7.0
-
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.crowd.embedded.api.GroupWithAttributesgetGroupWithAttributes(com.atlassian.crowd.embedded.api.Group group) Retrieves attributes of the group.Set<com.atlassian.jira.upgrade.tasks.role.UserWithPermissions>getUsersInGroup(com.atlassian.crowd.embedded.api.Group group) Retrieves all ACTIVE users in the given group.
-
Method Details
-
getGroupWithAttributes
com.atlassian.crowd.embedded.api.GroupWithAttributes getGroupWithAttributes(com.atlassian.crowd.embedded.api.Group group) Retrieves attributes of the group.- Parameters:
group- for which attributes should be retrieved.- Returns:
- group with attributes.
-
getUsersInGroup
Set<com.atlassian.jira.upgrade.tasks.role.UserWithPermissions> getUsersInGroup(com.atlassian.crowd.embedded.api.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.
-