com.liferay.portal.service
Class OrgLaborServiceUtil

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

public class OrgLaborServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the com.liferay.portal.service.OrgLaborService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

Author:
Brian Wing Shun Chan
See Also:
OrgLaborService

Constructor Summary
OrgLaborServiceUtil()
           
 
Method Summary
static OrgLabor addOrgLabor(long organizationId, int 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 java.util.List<OrgLabor> getOrgLabors(long organizationId)
           
static OrgLaborService getService()
           
 void setService(OrgLaborService service)
           
static OrgLabor updateOrgLabor(long orgLaborId, int 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,
                                   int 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 com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteOrgLabor

public static void deleteOrgLabor(long orgLaborId)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getOrgLabor

public static OrgLabor getOrgLabor(long orgLaborId)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getOrgLabors

public static java.util.List<OrgLabor> getOrgLabors(long organizationId)
                                             throws com.liferay.portal.PortalException,
                                                    com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateOrgLabor

public static OrgLabor updateOrgLabor(long orgLaborId,
                                      int 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 com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getService

public static OrgLaborService getService()

setService

public void setService(OrgLaborService service)