Class GroupHierarchyUtil
- java.lang.Object
-
- jetbrains.buildServer.controllers.admin.groups.GroupHierarchyUtil
-
public class GroupHierarchyUtil extends Object
- Author:
- Pavel.Sher Date: 25.03.2009
-
-
Constructor Summary
Constructors Constructor Description GroupHierarchyUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TreePrintergetEditableGroupTree(AuthorityHolder currentAuthority, UserGroupManager groupManager)static TreePrintergetReadOnlyGroupTree(UserGroupManager groupManager)static booleanisCanAddToAnyGroup(AuthorityHolder currentAuthority, UserGroupManager groupManager)static booleanisGroupCanBeMoved(UserGroupEx group, AuthorityHolder currentAuthority, UserGroupManager groupManager)static booleanisSuperTopGroup(UserGroup group, UserGroupManager groupManager)
-
-
-
Method Detail
-
isSuperTopGroup
public static boolean isSuperTopGroup(UserGroup group, UserGroupManager groupManager)
-
isCanAddToAnyGroup
public static boolean isCanAddToAnyGroup(AuthorityHolder currentAuthority, UserGroupManager groupManager)
-
isGroupCanBeMoved
public static boolean isGroupCanBeMoved(@NotNull UserGroupEx group, @NotNull AuthorityHolder currentAuthority, @NotNull UserGroupManager groupManager)
-
getEditableGroupTree
@NotNull public static TreePrinter getEditableGroupTree(@NotNull AuthorityHolder currentAuthority, @NotNull UserGroupManager groupManager)
-
getReadOnlyGroupTree
@NotNull public static TreePrinter getReadOnlyGroupTree(UserGroupManager groupManager)
-
-