1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service;
16  
17  
18  /**
19   * <a href="OrgLaborLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link OrgLaborLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       OrgLaborLocalService
32   * @generated
33   */
34  public class OrgLaborLocalServiceWrapper implements OrgLaborLocalService {
35      public OrgLaborLocalServiceWrapper(
36          OrgLaborLocalService orgLaborLocalService) {
37          _orgLaborLocalService = orgLaborLocalService;
38      }
39  
40      public com.liferay.portal.model.OrgLabor addOrgLabor(
41          com.liferay.portal.model.OrgLabor orgLabor)
42          throws com.liferay.portal.kernel.exception.SystemException {
43          return _orgLaborLocalService.addOrgLabor(orgLabor);
44      }
45  
46      public com.liferay.portal.model.OrgLabor createOrgLabor(long orgLaborId) {
47          return _orgLaborLocalService.createOrgLabor(orgLaborId);
48      }
49  
50      public void deleteOrgLabor(long orgLaborId)
51          throws com.liferay.portal.kernel.exception.PortalException,
52              com.liferay.portal.kernel.exception.SystemException {
53          _orgLaborLocalService.deleteOrgLabor(orgLaborId);
54      }
55  
56      public void deleteOrgLabor(com.liferay.portal.model.OrgLabor orgLabor)
57          throws com.liferay.portal.kernel.exception.SystemException {
58          _orgLaborLocalService.deleteOrgLabor(orgLabor);
59      }
60  
61      public java.util.List<Object> dynamicQuery(
62          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
63          throws com.liferay.portal.kernel.exception.SystemException {
64          return _orgLaborLocalService.dynamicQuery(dynamicQuery);
65      }
66  
67      public java.util.List<Object> dynamicQuery(
68          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
69          int end) throws com.liferay.portal.kernel.exception.SystemException {
70          return _orgLaborLocalService.dynamicQuery(dynamicQuery, start, end);
71      }
72  
73      public com.liferay.portal.model.OrgLabor getOrgLabor(long orgLaborId)
74          throws com.liferay.portal.kernel.exception.PortalException,
75              com.liferay.portal.kernel.exception.SystemException {
76          return _orgLaborLocalService.getOrgLabor(orgLaborId);
77      }
78  
79      public java.util.List<com.liferay.portal.model.OrgLabor> getOrgLabors(
80          int start, int end)
81          throws com.liferay.portal.kernel.exception.SystemException {
82          return _orgLaborLocalService.getOrgLabors(start, end);
83      }
84  
85      public int getOrgLaborsCount()
86          throws com.liferay.portal.kernel.exception.SystemException {
87          return _orgLaborLocalService.getOrgLaborsCount();
88      }
89  
90      public com.liferay.portal.model.OrgLabor updateOrgLabor(
91          com.liferay.portal.model.OrgLabor orgLabor)
92          throws com.liferay.portal.kernel.exception.SystemException {
93          return _orgLaborLocalService.updateOrgLabor(orgLabor);
94      }
95  
96      public com.liferay.portal.model.OrgLabor updateOrgLabor(
97          com.liferay.portal.model.OrgLabor orgLabor, boolean merge)
98          throws com.liferay.portal.kernel.exception.SystemException {
99          return _orgLaborLocalService.updateOrgLabor(orgLabor, merge);
100     }
101 
102     public com.liferay.portal.model.OrgLabor addOrgLabor(long organizationId,
103         int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
104         int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
105         int thuClose, int friOpen, int friClose, int satOpen, int satClose)
106         throws com.liferay.portal.kernel.exception.PortalException,
107             com.liferay.portal.kernel.exception.SystemException {
108         return _orgLaborLocalService.addOrgLabor(organizationId, typeId,
109             sunOpen, sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen,
110             wedClose, thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
111     }
112 
113     public java.util.List<com.liferay.portal.model.OrgLabor> getOrgLabors(
114         long organizationId)
115         throws com.liferay.portal.kernel.exception.SystemException {
116         return _orgLaborLocalService.getOrgLabors(organizationId);
117     }
118 
119     public com.liferay.portal.model.OrgLabor updateOrgLabor(long orgLaborId,
120         int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
121         int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
122         int thuClose, int friOpen, int friClose, int satOpen, int satClose)
123         throws com.liferay.portal.kernel.exception.PortalException,
124             com.liferay.portal.kernel.exception.SystemException {
125         return _orgLaborLocalService.updateOrgLabor(orgLaborId, typeId,
126             sunOpen, sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen,
127             wedClose, thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
128     }
129 
130     public OrgLaborLocalService getWrappedOrgLaborLocalService() {
131         return _orgLaborLocalService;
132     }
133 
134     private OrgLaborLocalService _orgLaborLocalService;
135 }