@Named public class GroupsMembershipController extends MembershipController
Constructor and Description |
---|
GroupsMembershipController(MembershipService membershipService,
GroupAdministrationPermissionService groupAdministrationPermissionService,
DirectoryManager directoryManager) |
Modifier and Type | Method and Description |
---|---|
BatchResultWithFailureReasonsRestDto<DirectoryEntityId> |
addUsersToGroup(List<DirectoryEntityId> users,
DirectoryEntityId groupId) |
RestPage<GroupData> |
getAdministeredGroups(GroupsFilter groupsFilter,
RestPageRequest pageRequest) |
GroupData |
getGroupDetails(DirectoryEntityId groupId) |
RestPage<UserData> |
getGroupMembers(DirectoryEntityId groupId,
RestPageRequest pageRequest) |
BatchResultWithFailureReasonsRestDto<DirectoryEntityId> |
removeUsersFromGroup(List<DirectoryEntityId> users,
DirectoryEntityId groupId) |
getMembershipService
@Inject public GroupsMembershipController(MembershipService membershipService, GroupAdministrationPermissionService groupAdministrationPermissionService, DirectoryManager directoryManager)
public RestPage<GroupData> getAdministeredGroups(GroupsFilter groupsFilter, RestPageRequest pageRequest) throws DirectoryNotFoundException, OperationFailedException, FeatureInaccessibleException
public GroupData getGroupDetails(DirectoryEntityId groupId) throws DirectoryNotFoundException, GroupNotFoundException, OperationFailedException, FeatureInaccessibleException
public RestPage<UserData> getGroupMembers(DirectoryEntityId groupId, RestPageRequest pageRequest) throws DirectoryNotFoundException, OperationFailedException, GroupNotFoundException, FeatureInaccessibleException
public BatchResultWithFailureReasonsRestDto<DirectoryEntityId> addUsersToGroup(List<DirectoryEntityId> users, DirectoryEntityId groupId) throws OperationFailedException, GroupNotFoundException, DirectoryNotFoundException, DirectoryPermissionException, FeatureInaccessibleException
public BatchResultWithFailureReasonsRestDto<DirectoryEntityId> removeUsersFromGroup(List<DirectoryEntityId> users, DirectoryEntityId groupId) throws GroupNotFoundException, DirectoryNotFoundException, OperationFailedException, FeatureInaccessibleException
Copyright © 2020 Atlassian. All rights reserved.