Example usage for com.liferay.portal.kernel.util WebKeys ORG_LABOR

List of usage examples for com.liferay.portal.kernel.util WebKeys ORG_LABOR

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.util WebKeys ORG_LABOR.

Prototype

String ORG_LABOR

To view the source code for com.liferay.portal.kernel.util WebKeys ORG_LABOR.

Click Source Link

Usage

From source file:com.liferay.users.admin.web.internal.portlet.action.ActionUtil.java

License:Open Source License

public static void getOrgLabor(HttpServletRequest request) throws Exception {

    long orgLaborId = ParamUtil.getLong(request, "orgLaborId");

    OrgLabor orgLabor = null;/*from   w ww.j  a va 2  s.c om*/

    if (orgLaborId > 0) {
        orgLabor = OrgLaborServiceUtil.getOrgLabor(orgLaborId);
    }

    request.setAttribute(WebKeys.ORG_LABOR, orgLabor);
}