Package com.atlassian.crowd.util
Class AdminGroupChecker
java.lang.Object
com.atlassian.crowd.util.AdminGroupChecker
-
Constructor Summary
ConstructorDescriptionAdminGroupChecker
(DirectoryManager directoryManager, ApplicationManager applicationManager, I18nHelper i18nHelper) -
Method Summary
Modifier and TypeMethodDescriptiongetUnsafeAdminGroups
(String username, long directoryID, List<String> selectedEntityNames) boolean
isRemovingConsoleAdminFromLastAdminGroup
(String groupname, String consoleAdmin, long directoryID) boolean
isRemovingCrowdConsoleAdminMembership
(String consoleAdmin, long consoleAdminDirectoryID, String selectedUser, long selectedUserDirectoryID) boolean
isRemovingCrowdConsoleAdminMembership
(String consoleAdmin, long consoleAdminDirectoryID, List<String> selectedUsernames, long selectedDirectoryID)
-
Constructor Details
-
AdminGroupChecker
public AdminGroupChecker(DirectoryManager directoryManager, ApplicationManager applicationManager, I18nHelper i18nHelper)
-
-
Method Details
-
isRemovingCrowdConsoleAdminMembership
-
isRemovingCrowdConsoleAdminMembership
-
getUnsafeAdminGroups
public Set<String> getUnsafeAdminGroups(String username, long directoryID, List<String> selectedEntityNames) throws OperationFailedException, DirectoryNotFoundException -
isRemovingConsoleAdminFromLastAdminGroup
public boolean isRemovingConsoleAdminFromLastAdminGroup(String groupname, String consoleAdmin, long directoryID) throws OperationFailedException, DirectoryNotFoundException
-