List of usage examples for com.liferay.portal.kernel.util WebKeys ORGANIZATION
String ORGANIZATION
To view the source code for com.liferay.portal.kernel.util WebKeys ORGANIZATION.
Click Source Link
From source file:com.liferay.users.admin.web.internal.portlet.action.ActionUtil.java
License:Open Source License
public static Organization getOrganization(HttpServletRequest request) throws Exception { long organizationId = ParamUtil.getLong(request, "organizationId"); Organization organization = null;/* w ww .ja v a 2s . co m*/ if (organizationId > 0) { organization = OrganizationServiceUtil.getOrganization(organizationId); } request.setAttribute(WebKeys.ORGANIZATION, organization); return organization; }