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.

com.liferay.portal.service.OrgLaborServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
OrgLaborService, OrgLaborServiceFactory

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 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,
                                   java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

deleteOrgLabor

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

getOrgLabor

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

getOrgLabors

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

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,
                                      java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException