LPS-44697 Deprecate method which obtains the current groupId and the global groupId in favour of one which obtains the whole hierarchy of site groupIds (including the global one)
LPS-44697 apply groups hierarchy to all the selectors, summaries and navigation of categories
LPS-44697 replace deprecated method by the new one
LPS-44697 handle changes related to web content using structureKey instead of structureId which can be the same in all the groupIds
LPS-44697 autogenerated
LPS-44697 Use getSiteGroupId method
LPS-44697 We don't want to iterate over the current group again because we have already checked that in the previous if condition. Then, create a new method that only obtains the ancestorSiteGroupIds.
LPS-44697 SF