List of usage examples for com.liferay.portal.kernel.service GroupLocalServiceUtil getOrganizationsGroups
public static java.util.List<com.liferay.portal.kernel.model.Group> getOrganizationsGroups( java.util.List<com.liferay.portal.kernel.model.Organization> organizations)
From source file:com.liferay.users.admin.web.internal.display.context.UserDisplayContext.java
License:Open Source License
public List<Group> getAllGroups() throws PortalException { List<Group> allGroups = new ArrayList<>(); allGroups.addAll(getGroups());/* w w w .j a va2 s.c o m*/ allGroups.addAll(getInheritedSites()); allGroups.addAll(_getOrganizationRelatedGroups()); allGroups.addAll(GroupLocalServiceUtil.getOrganizationsGroups(getOrganizations())); allGroups.addAll(GroupLocalServiceUtil.getUserGroupsGroups(getUserGroups())); return allGroups; }