Example usage for com.liferay.portal.kernel.service OrgLaborServiceUtil getOrgLabor

List of usage examples for com.liferay.portal.kernel.service OrgLaborServiceUtil getOrgLabor

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.service OrgLaborServiceUtil getOrgLabor.

Prototype

public static com.liferay.portal.kernel.model.OrgLabor getOrgLabor(long orgLaborId)
            throws com.liferay.portal.kernel.exception.PortalException 

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;/*www  .ja  va 2 s. co m*/

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

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