1
22
23 package com.liferay.portal.service;
24
25 import com.liferay.portal.PortalException;
26 import com.liferay.portal.SystemException;
27 import com.liferay.portal.kernel.annotation.Isolation;
28 import com.liferay.portal.kernel.annotation.Propagation;
29 import com.liferay.portal.kernel.annotation.Transactional;
30
31
55 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
56 PortalException.class, SystemException.class})
57 public interface OrgLaborService {
58 public com.liferay.portal.model.OrgLabor addOrgLabor(long organizationId,
59 int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
60 int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
61 int thuClose, int friOpen, int friClose, int satOpen, int satClose)
62 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
63 com.liferay.portal.SystemException;
64
65 public void deleteOrgLabor(long orgLaborId)
66 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
67 com.liferay.portal.SystemException;
68
69 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
70 public com.liferay.portal.model.OrgLabor getOrgLabor(long orgLaborId)
71 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
72 com.liferay.portal.SystemException;
73
74 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
75 public java.util.List<com.liferay.portal.model.OrgLabor> getOrgLabors(
76 long organizationId)
77 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
78 com.liferay.portal.SystemException;
79
80 public com.liferay.portal.model.OrgLabor updateOrgLabor(long orgLaborId,
81 int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
82 int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
83 int thuClose, int friOpen, int friClose, int satOpen, int satClose)
84 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
85 com.liferay.portal.SystemException;
86 }