List of usage examples for com.liferay.portal.kernel.service UserGroupServiceUtil fetchUserGroup
public static com.liferay.portal.kernel.model.UserGroup fetchUserGroup(long userGroupId) throws com.liferay.portal.kernel.exception.PortalException
From source file:com.liferay.user.groups.admin.web.internal.portlet.action.ActionUtil.java
License:Open Source License
public static UserGroup getUserGroup(HttpServletRequest request) throws Exception { long userGroupId = ParamUtil.getLong(request, "userGroupId"); UserGroup userGroup = null;/*ww w. j a v a 2s. c o m*/ if (userGroupId > 0) { userGroup = UserGroupServiceUtil.fetchUserGroup(userGroupId); } return userGroup; }