001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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    }