com.liferay.portal.service
Interface OrgLaborService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface OrgLaborService

View Source

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

This interface defines the service. The default implementation is com.liferay.portal.service.impl.OrgLaborServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a remote service. 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:
OrgLaborServiceUtil

Method Summary
 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)
           
 void deleteOrgLabor(long orgLaborId)
           
 OrgLabor getOrgLabor(long orgLaborId)
           
 java.util.List<OrgLabor> getOrgLabors(long organizationId)
           
 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)
           
 

Method Detail

addOrgLabor

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

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

getOrgLabor

@Transactional(propagation=SUPPORTS,
               readOnly=true)
OrgLabor getOrgLabor(long orgLaborId)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getOrgLabors

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

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