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.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.PortalException,
52              com.liferay.portal.SystemException {
53          _orgLaborLocalService.deleteOrgLabor(orgLaborId);
54      }
55  
56      public void deleteOrgLabor(com.liferay.portal.model.OrgLabor orgLabor)
57          throws com.liferay.portal.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.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.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.PortalException,
75              com.liferay.portal.SystemException {
76          return _orgLaborLocalService.getOrgLabor(orgLaborId);
77      }
78  
79      public java.util.List<com.liferay.portal.model.OrgLabor> getOrgLabors(
80          int start, int end) throws com.liferay.portal.SystemException {
81          return _orgLaborLocalService.getOrgLabors(start, end);
82      }
83  
84      public int getOrgLaborsCount() throws com.liferay.portal.SystemException {
85          return _orgLaborLocalService.getOrgLaborsCount();
86      }
87  
88      public com.liferay.portal.model.OrgLabor updateOrgLabor(
89          com.liferay.portal.model.OrgLabor orgLabor)
90          throws com.liferay.portal.SystemException {
91          return _orgLaborLocalService.updateOrgLabor(orgLabor);
92      }
93  
94      public com.liferay.portal.model.OrgLabor updateOrgLabor(
95          com.liferay.portal.model.OrgLabor orgLabor, boolean merge)
96          throws com.liferay.portal.SystemException {
97          return _orgLaborLocalService.updateOrgLabor(orgLabor, merge);
98      }
99  
100     public com.liferay.portal.model.OrgLabor addOrgLabor(long organizationId,
101         int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
102         int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
103         int thuClose, int friOpen, int friClose, int satOpen, int satClose)
104         throws com.liferay.portal.PortalException,
105             com.liferay.portal.SystemException {
106         return _orgLaborLocalService.addOrgLabor(organizationId, typeId,
107             sunOpen, sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen,
108             wedClose, thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
109     }
110 
111     public java.util.List<com.liferay.portal.model.OrgLabor> getOrgLabors(
112         long organizationId) throws com.liferay.portal.SystemException {
113         return _orgLaborLocalService.getOrgLabors(organizationId);
114     }
115 
116     public com.liferay.portal.model.OrgLabor updateOrgLabor(long orgLaborId,
117         int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
118         int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
119         int thuClose, int friOpen, int friClose, int satOpen, int satClose)
120         throws com.liferay.portal.PortalException,
121             com.liferay.portal.SystemException {
122         return _orgLaborLocalService.updateOrgLabor(orgLaborId, typeId,
123             sunOpen, sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen,
124             wedClose, thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
125     }
126 
127     public OrgLaborLocalService getWrappedOrgLaborLocalService() {
128         return _orgLaborLocalService;
129     }
130 
131     private OrgLaborLocalService _orgLaborLocalService;
132 }