List of usage examples for com.liferay.portal.kernel.util WebKeys PHONE
String PHONE
To view the source code for com.liferay.portal.kernel.util WebKeys PHONE.
Click Source Link
From source file:com.liferay.users.admin.web.internal.portlet.action.ActionUtil.java
License:Open Source License
public static void getPhone(HttpServletRequest request) throws Exception { long phoneId = ParamUtil.getLong(request, "phoneId"); Phone phone = null;//ww w .j a va 2 s . c o m if (phoneId > 0) { phone = PhoneServiceUtil.getPhone(phoneId); } request.setAttribute(WebKeys.PHONE, phone); }