Interface BasicUser

    • Method Detail

      • getGroups

        GroupSet getGroups()
        Get the groups this user is part of
        Returns:
        a set of groups
      • setGroups

        void setGroups​(GroupSet groups)
        Set the groups this user is part of
        Parameters:
        groups - the set of groups
      • removeGroup

        void removeGroup​(Group group)
        Remove the group from the list of groups
        Parameters:
        group - the group to remove
      • addGroup

        void addGroup​(Group group)
        Add the group to the list of groups
        Parameters:
        group - the group to add
      • setGroupsAsSet

        <T extends Group> void setGroupsAsSet​(Set<T> groups)
        Set the groups this user is part of as a Set
        Parameters:
        groups - the set of groups
      • getGroupsAsSet

        <T extends GroupSet<T> getGroupsAsSet()
        Get the groups this user is part of as a Set
        Returns:
        a set of groups