public class AdminGroupChecker extends Object
Constructor and Description |
---|
AdminGroupChecker(DirectoryManager directoryManager,
ApplicationManager applicationManager,
I18nHelper i18nHelper) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getUnsafeAdminGroups(String username,
long directoryID,
List<String> selectedEntityNames) |
boolean |
isRemovingConsoleAdminFromLastAdminGroup(String groupname,
String consoleAdmin,
long directoryID) |
boolean |
isRemovingCrowdConsoleAdminMembership(String consoleAdmin,
long consoleAdminDirectoryID,
List<String> selectedUsernames,
long selectedDirectoryID) |
boolean |
isRemovingCrowdConsoleAdminMembership(String consoleAdmin,
long consoleAdminDirectoryID,
String selectedUser,
long selectedUserDirectoryID) |
public AdminGroupChecker(DirectoryManager directoryManager, ApplicationManager applicationManager, I18nHelper i18nHelper)
public boolean isRemovingCrowdConsoleAdminMembership(String consoleAdmin, long consoleAdminDirectoryID, String selectedUser, long selectedUserDirectoryID)
public boolean isRemovingCrowdConsoleAdminMembership(String consoleAdmin, long consoleAdminDirectoryID, List<String> selectedUsernames, long selectedDirectoryID)
public Set<String> getUnsafeAdminGroups(String username, long directoryID, List<String> selectedEntityNames) throws OperationFailedException, DirectoryNotFoundException
public boolean isRemovingConsoleAdminFromLastAdminGroup(String groupname, String consoleAdmin, long directoryID) throws OperationFailedException, DirectoryNotFoundException
Copyright © 2020 Atlassian. All rights reserved.