List of usage examples for com.liferay.portal.kernel.util WebKeys WEBSITE
String WEBSITE
To view the source code for com.liferay.portal.kernel.util WebKeys WEBSITE.
Click Source Link
From source file:com.liferay.users.admin.web.internal.portlet.action.ActionUtil.java
License:Open Source License
public static void getWebsite(HttpServletRequest request) throws Exception { long websiteId = ParamUtil.getLong(request, "websiteId"); Website website = null;//from w w w .ja v a 2 s. co m if (websiteId > 0) { website = WebsiteServiceUtil.getWebsite(websiteId); } request.setAttribute(WebKeys.WEBSITE, website); }