public class GroupUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isChild(Group group,
CommunoteEntity child)
Checks if a group contains an entity either directly or indirectly, which is the entity is
contained in one of the transitively resolved child groups of the group .
|
public static boolean isChild(Group group, CommunoteEntity child)
group
- Potential parent group.child
- entity to check for group membershipCopyright © 2019 Communote team. All rights reserved.