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 java.util.List<Object> dynamicQuery(
74          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
75          int end,
76          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
77          throws com.liferay.portal.SystemException {
78          return _orgLaborLocalService.dynamicQuery(dynamicQuery, start, end,
79              orderByComparator);
80      }
81  
82      public int dynamicQueryCount(
83          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
84          throws com.liferay.portal.SystemException {
85          return _orgLaborLocalService.dynamicQueryCount(dynamicQuery);
86      }
87  
88      public com.liferay.portal.model.OrgLabor getOrgLabor(long orgLaborId)
89          throws com.liferay.portal.PortalException,
90              com.liferay.portal.SystemException {
91          return _orgLaborLocalService.getOrgLabor(orgLaborId);
92      }
93  
94      public java.util.List<com.liferay.portal.model.OrgLabor> getOrgLabors(
95          int start, int end) throws com.liferay.portal.SystemException {
96          return _orgLaborLocalService.getOrgLabors(start, end);
97      }
98  
99      public int getOrgLaborsCount() throws com.liferay.portal.SystemException {
100         return _orgLaborLocalService.getOrgLaborsCount();
101     }
102 
103     public com.liferay.portal.model.OrgLabor updateOrgLabor(
104         com.liferay.portal.model.OrgLabor orgLabor)
105         throws com.liferay.portal.SystemException {
106         return _orgLaborLocalService.updateOrgLabor(orgLabor);
107     }
108 
109     public com.liferay.portal.model.OrgLabor updateOrgLabor(
110         com.liferay.portal.model.OrgLabor orgLabor, boolean merge)
111         throws com.liferay.portal.SystemException {
112         return _orgLaborLocalService.updateOrgLabor(orgLabor, merge);
113     }
114 
115     public com.liferay.portal.model.OrgLabor addOrgLabor(long organizationId,
116         int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
117         int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
118         int thuClose, int friOpen, int friClose, int satOpen, int satClose)
119         throws com.liferay.portal.PortalException,
120             com.liferay.portal.SystemException {
121         return _orgLaborLocalService.addOrgLabor(organizationId, typeId,
122             sunOpen, sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen,
123             wedClose, thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
124     }
125 
126     public java.util.List<com.liferay.portal.model.OrgLabor> getOrgLabors(
127         long organizationId) throws com.liferay.portal.SystemException {
128         return _orgLaborLocalService.getOrgLabors(organizationId);
129     }
130 
131     public com.liferay.portal.model.OrgLabor updateOrgLabor(long orgLaborId,
132         int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
133         int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
134         int thuClose, int friOpen, int friClose, int satOpen, int satClose)
135         throws com.liferay.portal.PortalException,
136             com.liferay.portal.SystemException {
137         return _orgLaborLocalService.updateOrgLabor(orgLaborId, typeId,
138             sunOpen, sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen,
139             wedClose, thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
140     }
141 
142     public OrgLaborLocalService getWrappedOrgLaborLocalService() {
143         return _orgLaborLocalService;
144     }
145 
146     private OrgLaborLocalService _orgLaborLocalService;
147 }