How to get the global (company) group id in Liferay without accessing ThemeDisplay?
ThemeDisplay
P.S.: with ThemeDisplay it is simple: themeDisplay.ge
themeDisplay.ge
You can use the following :
GroupLocalServiceUtil.getCompanyGroup(PortalUtil.getDefaultCompanyId()).getGroupId();