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="OrgLaborServiceUtil.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 OrgLaborService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       OrgLaborService
32   * @generated
33   */
34  public class OrgLaborServiceWrapper implements OrgLaborService {
35      public OrgLaborServiceWrapper(OrgLaborService orgLaborService) {
36          _orgLaborService = orgLaborService;
37      }
38  
39      public com.liferay.portal.model.OrgLabor addOrgLabor(long organizationId,
40          int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
41          int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
42          int thuClose, int friOpen, int friClose, int satOpen, int satClose)
43          throws com.liferay.portal.kernel.exception.PortalException,
44              com.liferay.portal.kernel.exception.SystemException {
45          return _orgLaborService.addOrgLabor(organizationId, typeId, sunOpen,
46              sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen, wedClose,
47              thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
48      }
49  
50      public void deleteOrgLabor(long orgLaborId)
51          throws com.liferay.portal.kernel.exception.PortalException,
52              com.liferay.portal.kernel.exception.SystemException {
53          _orgLaborService.deleteOrgLabor(orgLaborId);
54      }
55  
56      public com.liferay.portal.model.OrgLabor getOrgLabor(long orgLaborId)
57          throws com.liferay.portal.kernel.exception.PortalException,
58              com.liferay.portal.kernel.exception.SystemException {
59          return _orgLaborService.getOrgLabor(orgLaborId);
60      }
61  
62      public java.util.List<com.liferay.portal.model.OrgLabor> getOrgLabors(
63          long organizationId)
64          throws com.liferay.portal.kernel.exception.PortalException,
65              com.liferay.portal.kernel.exception.SystemException {
66          return _orgLaborService.getOrgLabors(organizationId);
67      }
68  
69      public com.liferay.portal.model.OrgLabor updateOrgLabor(long orgLaborId,
70          int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
71          int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
72          int thuClose, int friOpen, int friClose, int satOpen, int satClose)
73          throws com.liferay.portal.kernel.exception.PortalException,
74              com.liferay.portal.kernel.exception.SystemException {
75          return _orgLaborService.updateOrgLabor(orgLaborId, typeId, sunOpen,
76              sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen, wedClose,
77              thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
78      }
79  
80      public OrgLaborService getWrappedOrgLaborService() {
81          return _orgLaborService;
82      }
83  
84      private OrgLaborService _orgLaborService;
85  }