Class OrgLaborServiceUtil

Object
com.liferay.portal.kernel.service.OrgLaborServiceUtil

public class OrgLaborServiceUtil extends Object
Provides the remote service utility for OrgLabor. This utility wraps com.liferay.portal.service.impl.OrgLaborServiceImpl and is an access point for service operations in application layer code running on a remote server. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Constructor Details

    • OrgLaborServiceUtil

      public OrgLaborServiceUtil()
  • Method Details

    • addOrgLabor

      public static OrgLabor addOrgLabor(long organizationId, long typeId, int sunOpen, int sunClose, int monOpen, int monClose, int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen, int thuClose, int friOpen, int friClose, int satOpen, int satClose) throws PortalException
      Throws:
      PortalException
    • deleteOrgLabor

      public static void deleteOrgLabor(long orgLaborId) throws PortalException
      Throws:
      PortalException
    • getOrgLabor

      public static OrgLabor getOrgLabor(long orgLaborId) throws PortalException
      Throws:
      PortalException
    • getOrgLabors

      public static List<OrgLabor> getOrgLabors(long organizationId) throws PortalException
      Throws:
      PortalException
    • getOSGiServiceIdentifier

      public static String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • updateOrgLabor

      public static OrgLabor updateOrgLabor(long orgLaborId, long typeId, int sunOpen, int sunClose, int monOpen, int monClose, int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen, int thuClose, int friOpen, int friClose, int satOpen, int satClose) throws PortalException
      Throws:
      PortalException
    • getService

      public static OrgLaborService getService()
    • setService

      public static void setService(OrgLaborService service)