Liferay 7.0-ce-b4

com.liferay.portal.service
Class OrgLaborServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.OrgLaborServiceUtil

@ProviderType
public class OrgLaborServiceUtil
extends Object

Provides the remote service utility for OrgLabor. This utility wraps OrgLaborServiceImpl and is the primary 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.

See Also:
OrgLaborService, OrgLaborServiceBaseImpl, OrgLaborServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
OrgLaborServiceUtil()
           
 
Method Summary
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)
           
static void deleteOrgLabor(long orgLaborId)
           
static OrgLabor getOrgLabor(long orgLaborId)
           
static List<OrgLabor> getOrgLabors(long organizationId)
           
static String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
static OrgLaborService getService()
           
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrgLaborServiceUtil

public OrgLaborServiceUtil()
Method Detail

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

getOSGiServiceIdentifier

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

Returns:
the OSGi service identifier

getOrgLabor

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

getOrgLabors

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

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()

Liferay 7.0-ce-b4