/** * Returns a range of all the site groups for which the user has control * panel access. * * @param portlets the portlets to manage * @param max the upper bound of the range of groups to consider (not inclusive) * @return the range of site groups for which the user has Control Panel access * @throws PortalException if a portal exception occurred */ @Override public java.util.List<com.liferay.portal.kernel.model.Group> getManageableSiteGroups( java.util.Collection<com.liferay.portal.kernel.model.Portlet> portlets, int max) throws com.liferay.portal.kernel.exception.PortalException { return _groupService.getManageableSiteGroups(portlets, max); }
/** * Returns a range of all the site groups for which the user has control * panel access. * * @param portlets the portlets to manage * @param max the upper bound of the range of groups to consider (not inclusive) * @return the range of site groups for which the user has Control Panel access * @throws PortalException if a portal exception occurred */ public static java.util.List<com.liferay.portal.kernel.model.Group> getManageableSiteGroups( java.util.Collection<com.liferay.portal.kernel.model.Portlet> portlets, int max) throws com.liferay.portal.kernel.exception.PortalException { return getService().getManageableSiteGroups(portlets, max); }