@Named public class GroupLevelAdminController extends Object
Modifier and Type | Field and Description |
---|---|
static String |
MISSING_ENTITY_MESSAGE |
Constructor and Description |
---|
GroupLevelAdminController(GroupAdministrationConfigurationService groupAdministrationConfigurationService,
DirectoryEntitySearchService directoryEntitySearchService,
DirectoryManager directoryManager) |
Modifier and Type | Method and Description |
---|---|
BatchResultWithFailureReasonsRestDto<DirectoryEntityRestDTO> |
addGroupAdministrators(DirectoryEntityId administeredGroupId,
List<DirectoryEntityRestDTO> grantEntities) |
void |
deleteGroupGroupAdministrator(DirectoryEntityId targetGroupId,
DirectoryEntityId adminId) |
void |
deleteUserGroupAdministrator(DirectoryEntityId targetGroupId,
DirectoryEntityId adminId) |
RestPage<GroupAdministrationMappingRestDTO> |
getAdminCandidates(DirectoryEntityId groupId,
String searchText,
int limit) |
RestPage<GroupAdministrationMappingRestDTO> |
getGroupAdministrators(DirectoryEntityId groupId,
RestPageRequest pageRequest) |
public static final String MISSING_ENTITY_MESSAGE
@Inject public GroupLevelAdminController(GroupAdministrationConfigurationService groupAdministrationConfigurationService, DirectoryEntitySearchService directoryEntitySearchService, DirectoryManager directoryManager)
public RestPage<GroupAdministrationMappingRestDTO> getGroupAdministrators(DirectoryEntityId groupId, RestPageRequest pageRequest) throws GroupNotFoundException, DirectoryNotFoundException, OperationFailedException, FeatureInaccessibleException
public BatchResultWithFailureReasonsRestDto<DirectoryEntityRestDTO> addGroupAdministrators(DirectoryEntityId administeredGroupId, List<DirectoryEntityRestDTO> grantEntities) throws GroupNotFoundException, DirectoryNotFoundException, OperationFailedException, FeatureInaccessibleException
public void deleteUserGroupAdministrator(DirectoryEntityId targetGroupId, DirectoryEntityId adminId) throws GroupNotFoundException, UserNotFoundException, DirectoryNotFoundException, OperationFailedException, FeatureInaccessibleException
public void deleteGroupGroupAdministrator(DirectoryEntityId targetGroupId, DirectoryEntityId adminId) throws GroupNotFoundException, DirectoryNotFoundException, OperationFailedException, FeatureInaccessibleException
public RestPage<GroupAdministrationMappingRestDTO> getAdminCandidates(DirectoryEntityId groupId, String searchText, int limit) throws DirectoryNotFoundException, IllegalAccessException, OperationFailedException, GroupNotFoundException, UserNotFoundException, FeatureInaccessibleException
Copyright © 2020 Atlassian. All rights reserved.