001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link OrgLaborService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       OrgLaborService
024     * @generated
025     */
026    public class OrgLaborServiceWrapper implements OrgLaborService,
027            ServiceWrapper<OrgLaborService> {
028            public OrgLaborServiceWrapper(OrgLaborService orgLaborService) {
029                    _orgLaborService = orgLaborService;
030            }
031    
032            public com.liferay.portal.model.OrgLabor addOrgLabor(long organizationId,
033                    int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
034                    int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
035                    int thuClose, int friOpen, int friClose, int satOpen, int satClose)
036                    throws com.liferay.portal.kernel.exception.PortalException,
037                            com.liferay.portal.kernel.exception.SystemException {
038                    return _orgLaborService.addOrgLabor(organizationId, typeId, sunOpen,
039                            sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen, wedClose,
040                            thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
041            }
042    
043            public void deleteOrgLabor(long orgLaborId)
044                    throws com.liferay.portal.kernel.exception.PortalException,
045                            com.liferay.portal.kernel.exception.SystemException {
046                    _orgLaborService.deleteOrgLabor(orgLaborId);
047            }
048    
049            public com.liferay.portal.model.OrgLabor getOrgLabor(long orgLaborId)
050                    throws com.liferay.portal.kernel.exception.PortalException,
051                            com.liferay.portal.kernel.exception.SystemException {
052                    return _orgLaborService.getOrgLabor(orgLaborId);
053            }
054    
055            public java.util.List<com.liferay.portal.model.OrgLabor> getOrgLabors(
056                    long organizationId)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    return _orgLaborService.getOrgLabors(organizationId);
060            }
061    
062            public com.liferay.portal.model.OrgLabor updateOrgLabor(long orgLaborId,
063                    int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
064                    int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
065                    int thuClose, int friOpen, int friClose, int satOpen, int satClose)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    return _orgLaborService.updateOrgLabor(orgLaborId, typeId, sunOpen,
069                            sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen, wedClose,
070                            thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
071            }
072    
073            /**
074             * @deprecated Renamed to {@link #getWrappedService}
075             */
076            public OrgLaborService getWrappedOrgLaborService() {
077                    return _orgLaborService;
078            }
079    
080            /**
081             * @deprecated Renamed to {@link #setWrappedService}
082             */
083            public void setWrappedOrgLaborService(OrgLaborService orgLaborService) {
084                    _orgLaborService = orgLaborService;
085            }
086    
087            public OrgLaborService getWrappedService() {
088                    return _orgLaborService;
089            }
090    
091            public void setWrappedService(OrgLaborService orgLaborService) {
092                    _orgLaborService = orgLaborService;
093            }
094    
095            private OrgLaborService _orgLaborService;
096    }