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