1
22
23 package com.liferay.portal.service;
24
25
26
47 public class OrgLaborServiceUtil {
48 public static com.liferay.portal.model.OrgLabor addOrgLabor(
49 long organizationId, int typeId, int sunOpen, int sunClose,
50 int monOpen, int monClose, int tueOpen, int tueClose, int wedOpen,
51 int wedClose, int thuOpen, int thuClose, int friOpen, int friClose,
52 int satOpen, int satClose)
53 throws com.liferay.portal.PortalException,
54 com.liferay.portal.SystemException, java.rmi.RemoteException {
55 return _service.addOrgLabor(organizationId, typeId, sunOpen, sunClose,
56 monOpen, monClose, tueOpen, tueClose, wedOpen, wedClose, thuOpen,
57 thuClose, friOpen, friClose, satOpen, satClose);
58 }
59
60 public static void deleteOrgLabor(long orgLaborId)
61 throws com.liferay.portal.PortalException,
62 com.liferay.portal.SystemException, java.rmi.RemoteException {
63 _service.deleteOrgLabor(orgLaborId);
64 }
65
66 public static com.liferay.portal.model.OrgLabor getOrgLabor(long orgLaborId)
67 throws com.liferay.portal.PortalException,
68 com.liferay.portal.SystemException, java.rmi.RemoteException {
69 return _service.getOrgLabor(orgLaborId);
70 }
71
72 public static java.util.List<com.liferay.portal.model.OrgLabor> getOrgLabors(
73 long organizationId)
74 throws com.liferay.portal.PortalException,
75 com.liferay.portal.SystemException, java.rmi.RemoteException {
76 return _service.getOrgLabors(organizationId);
77 }
78
79 public static com.liferay.portal.model.OrgLabor updateOrgLabor(
80 long orgLaborId, int typeId, int sunOpen, int sunClose, int monOpen,
81 int monClose, int tueOpen, int tueClose, int wedOpen, int wedClose,
82 int thuOpen, int thuClose, int friOpen, int friClose, int satOpen,
83 int satClose)
84 throws com.liferay.portal.PortalException,
85 com.liferay.portal.SystemException, java.rmi.RemoteException {
86 return _service.updateOrgLabor(orgLaborId, typeId, sunOpen, sunClose,
87 monOpen, monClose, tueOpen, tueClose, wedOpen, wedClose, thuOpen,
88 thuClose, friOpen, friClose, satOpen, satClose);
89 }
90
91 public static OrgLaborService getService() {
92 return _service;
93 }
94
95 public void setService(OrgLaborService service) {
96 _service = service;
97 }
98
99 private static OrgLaborService _service;
100 }