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