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 TreePrinter
getEditableGroupTree(AuthorityHolder currentAuthority, UserGroupManager groupManager)
static TreePrinter
getReadOnlyGroupTree(UserGroupManager groupManager)
static boolean
isCanAddToAnyGroup(AuthorityHolder currentAuthority, UserGroupManager groupManager)
static boolean
isGroupCanBeMoved(UserGroupEx group, AuthorityHolder currentAuthority, UserGroupManager groupManager)
static boolean
isSuperTopGroup(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)
-
-