Interface GroupIncludeCache

  • All Known Implementing Classes:
    GroupIncludeCacheImpl

    public interface GroupIncludeCache
    Tracks group inclusions in memory for efficient access.
    • Method Detail

      • getGroupsWithMember

        Collection<AccountGroup.UUID> getGroupsWithMember​(Account.Id memberId)
        Returns the UUIDs of all groups of which the specified account is a direct member.
        Parameters:
        memberId - the ID of the account
        Returns:
        the UUIDs of all groups having the account as member
      • parentGroupsOf

        Collection<AccountGroup.UUID> parentGroupsOf​(AccountGroup.UUID groupId)
        Returns the parent groups of a subgroup.
        Parameters:
        groupId - the UUID of the subgroup
        Returns:
        the UUIDs of all direct parent groups
      • evictGroupsWithMember

        void evictGroupsWithMember​(Account.Id memberId)