com.liferay.portal.service.impl
Class OrgLaborServiceImpl

java.lang.Object
  extended bycom.liferay.portal.service.impl.PrincipalBean
      extended bycom.liferay.portal.service.impl.OrgLaborServiceImpl
All Implemented Interfaces:
com.liferay.portal.service.OrgLaborService

public class OrgLaborServiceImpl
extends PrincipalBean
implements com.liferay.portal.service.OrgLaborService

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portal.service.impl.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
OrgLaborServiceImpl()
           
 
Method Summary
 com.liferay.portal.model.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)
           
protected  void checkPermission(long organizationId, java.lang.String actionId)
           
 void deleteOrgLabor(long orgLaborId)
           
 com.liferay.portal.model.OrgLabor getOrgLabor(long orgLaborId)
           
 java.util.List getOrgLabors(long organizationId)
           
 com.liferay.portal.model.OrgLabor updateOrgLabor(long orgLaborId, 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 com.liferay.portal.service.impl.PrincipalBean
getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrgLaborServiceImpl

public OrgLaborServiceImpl()
Method Detail

addOrgLabor

public com.liferay.portal.model.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
Specified by:
addOrgLabor in interface com.liferay.portal.service.OrgLaborService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteOrgLabor

public void deleteOrgLabor(long orgLaborId)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Specified by:
deleteOrgLabor in interface com.liferay.portal.service.OrgLaborService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getOrgLabor

public com.liferay.portal.model.OrgLabor getOrgLabor(long orgLaborId)
                                              throws com.liferay.portal.PortalException,
                                                     com.liferay.portal.SystemException
Specified by:
getOrgLabor in interface com.liferay.portal.service.OrgLaborService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getOrgLabors

public java.util.List getOrgLabors(long organizationId)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Specified by:
getOrgLabors in interface com.liferay.portal.service.OrgLaborService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateOrgLabor

public com.liferay.portal.model.OrgLabor updateOrgLabor(long orgLaborId,
                                                        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
Specified by:
updateOrgLabor in interface com.liferay.portal.service.OrgLaborService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

checkPermission

protected void checkPermission(long organizationId,
                               java.lang.String actionId)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException