/** * Returns the number of the guest or current user's groups * "sites" associated with the group entity class names, including * the Control Panel group if the user is permitted to view the Control * Panel. * * @return the number of user's groups "sites" * @throws PortalException if a portal exception occurred */ @Override public int getUserSitesGroupsCount() throws com.liferay.portal.kernel.exception.PortalException { return _groupService.getUserSitesGroupsCount(); }
/** * Returns the number of the guest or current user's groups * "sites" associated with the group entity class names, including * the Control Panel group if the user is permitted to view the Control * Panel. * * @return the number of user's groups "sites" * @throws PortalException if a portal exception occurred */ public static int getUserSitesGroupsCount() throws com.liferay.portal.kernel.exception.PortalException { return getService().getUserSitesGroupsCount(); }