I want to get the list of sites in Liferay, the same that appears at http://localhost:8080/group/control_panel/manage/-/sites/sites :
In SQL I would run select * from Group_ WHERE site=1
.
How to get the same thing in Java?
GroupServiceUtil does not seem to have such a method.
Note: My Java code is in a module running within Liferay, but not a portlet.