1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.service;
16  
17  /**
18   * <a href="OrgLaborLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link OrgLaborLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       OrgLaborLocalService
31   * @generated
32   */
33  public class OrgLaborLocalServiceWrapper implements OrgLaborLocalService {
34      public OrgLaborLocalServiceWrapper(
35          OrgLaborLocalService orgLaborLocalService) {
36          _orgLaborLocalService = orgLaborLocalService;
37      }
38  
39      public com.liferay.portal.model.OrgLabor addOrgLabor(
40          com.liferay.portal.model.OrgLabor orgLabor)
41          throws com.liferay.portal.SystemException {
42          return _orgLaborLocalService.addOrgLabor(orgLabor);
43      }
44  
45      public com.liferay.portal.model.OrgLabor createOrgLabor(long orgLaborId) {
46          return _orgLaborLocalService.createOrgLabor(orgLaborId);
47      }
48  
49      public void deleteOrgLabor(long orgLaborId)
50          throws com.liferay.portal.PortalException,
51              com.liferay.portal.SystemException {
52          _orgLaborLocalService.deleteOrgLabor(orgLaborId);
53      }
54  
55      public void deleteOrgLabor(com.liferay.portal.model.OrgLabor orgLabor)
56          throws com.liferay.portal.SystemException {
57          _orgLaborLocalService.deleteOrgLabor(orgLabor);
58      }
59  
60      @SuppressWarnings("rawtypes")
61      public java.util.List dynamicQuery(
62          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
63          throws com.liferay.portal.SystemException {
64          return _orgLaborLocalService.dynamicQuery(dynamicQuery);
65      }
66  
67      @SuppressWarnings("rawtypes")
68      public java.util.List dynamicQuery(
69          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
70          int end) throws com.liferay.portal.SystemException {
71          return _orgLaborLocalService.dynamicQuery(dynamicQuery, start, end);
72      }
73  
74      @SuppressWarnings("rawtypes")
75      public java.util.List dynamicQuery(
76          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77          int end,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.SystemException {
80          return _orgLaborLocalService.dynamicQuery(dynamicQuery, start, end,
81              orderByComparator);
82      }
83  
84      public int dynamicQueryCount(
85          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86          throws com.liferay.portal.SystemException {
87          return _orgLaborLocalService.dynamicQueryCount(dynamicQuery);
88      }
89  
90      public com.liferay.portal.model.OrgLabor getOrgLabor(long orgLaborId)
91          throws com.liferay.portal.PortalException,
92              com.liferay.portal.SystemException {
93          return _orgLaborLocalService.getOrgLabor(orgLaborId);
94      }
95  
96      public java.util.List<com.liferay.portal.model.OrgLabor> getOrgLabors(
97          int start, int end) throws com.liferay.portal.SystemException {
98          return _orgLaborLocalService.getOrgLabors(start, end);
99      }
100 
101     public int getOrgLaborsCount() throws com.liferay.portal.SystemException {
102         return _orgLaborLocalService.getOrgLaborsCount();
103     }
104 
105     public com.liferay.portal.model.OrgLabor updateOrgLabor(
106         com.liferay.portal.model.OrgLabor orgLabor)
107         throws com.liferay.portal.SystemException {
108         return _orgLaborLocalService.updateOrgLabor(orgLabor);
109     }
110 
111     public com.liferay.portal.model.OrgLabor updateOrgLabor(
112         com.liferay.portal.model.OrgLabor orgLabor, boolean merge)
113         throws com.liferay.portal.SystemException {
114         return _orgLaborLocalService.updateOrgLabor(orgLabor, merge);
115     }
116 
117     public com.liferay.portal.model.OrgLabor addOrgLabor(long organizationId,
118         int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
119         int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
120         int thuClose, int friOpen, int friClose, int satOpen, int satClose)
121         throws com.liferay.portal.PortalException,
122             com.liferay.portal.SystemException {
123         return _orgLaborLocalService.addOrgLabor(organizationId, typeId,
124             sunOpen, sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen,
125             wedClose, thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
126     }
127 
128     public java.util.List<com.liferay.portal.model.OrgLabor> getOrgLabors(
129         long organizationId) throws com.liferay.portal.SystemException {
130         return _orgLaborLocalService.getOrgLabors(organizationId);
131     }
132 
133     public com.liferay.portal.model.OrgLabor updateOrgLabor(long orgLaborId,
134         int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
135         int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
136         int thuClose, int friOpen, int friClose, int satOpen, int satClose)
137         throws com.liferay.portal.PortalException,
138             com.liferay.portal.SystemException {
139         return _orgLaborLocalService.updateOrgLabor(orgLaborId, typeId,
140             sunOpen, sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen,
141             wedClose, thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
142     }
143 
144     public OrgLaborLocalService getWrappedOrgLaborLocalService() {
145         return _orgLaborLocalService;
146     }
147 
148     private OrgLaborLocalService _orgLaborLocalService;
149 }