001    /**
002     * Copyright (c) 2000-present 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    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * Provides a wrapper for {@link OrgLaborService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see OrgLaborService
024     * @generated
025     */
026    @ProviderType
027    public class OrgLaborServiceWrapper implements OrgLaborService,
028            ServiceWrapper<OrgLaborService> {
029            public OrgLaborServiceWrapper(OrgLaborService orgLaborService) {
030                    _orgLaborService = orgLaborService;
031            }
032    
033            @Override
034            public com.liferay.portal.model.OrgLabor addOrgLabor(long organizationId,
035                    long typeId, int sunOpen, int sunClose, int monOpen, int monClose,
036                    int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
037                    int thuClose, int friOpen, int friClose, int satOpen, int satClose)
038                    throws com.liferay.portal.kernel.exception.PortalException {
039                    return _orgLaborService.addOrgLabor(organizationId, typeId, sunOpen,
040                            sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen, wedClose,
041                            thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
042            }
043    
044            @Override
045            public void deleteOrgLabor(long orgLaborId)
046                    throws com.liferay.portal.kernel.exception.PortalException {
047                    _orgLaborService.deleteOrgLabor(orgLaborId);
048            }
049    
050            /**
051            * Returns the Spring bean ID for this bean.
052            *
053            * @return the Spring bean ID for this bean
054            */
055            @Override
056            public java.lang.String getBeanIdentifier() {
057                    return _orgLaborService.getBeanIdentifier();
058            }
059    
060            @Override
061            public com.liferay.portal.model.OrgLabor getOrgLabor(long orgLaborId)
062                    throws com.liferay.portal.kernel.exception.PortalException {
063                    return _orgLaborService.getOrgLabor(orgLaborId);
064            }
065    
066            @Override
067            public java.util.List<com.liferay.portal.model.OrgLabor> getOrgLabors(
068                    long organizationId)
069                    throws com.liferay.portal.kernel.exception.PortalException {
070                    return _orgLaborService.getOrgLabors(organizationId);
071            }
072    
073            /**
074            * Sets the Spring bean ID for this bean.
075            *
076            * @param beanIdentifier the Spring bean ID for this bean
077            */
078            @Override
079            public void setBeanIdentifier(java.lang.String beanIdentifier) {
080                    _orgLaborService.setBeanIdentifier(beanIdentifier);
081            }
082    
083            @Override
084            public com.liferay.portal.model.OrgLabor updateOrgLabor(long orgLaborId,
085                    long typeId, int sunOpen, int sunClose, int monOpen, int monClose,
086                    int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
087                    int thuClose, int friOpen, int friClose, int satOpen, int satClose)
088                    throws com.liferay.portal.kernel.exception.PortalException {
089                    return _orgLaborService.updateOrgLabor(orgLaborId, typeId, sunOpen,
090                            sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen, wedClose,
091                            thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
092            }
093    
094            /**
095             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
096             */
097            @Deprecated
098            public OrgLaborService getWrappedOrgLaborService() {
099                    return _orgLaborService;
100            }
101    
102            /**
103             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
104             */
105            @Deprecated
106            public void setWrappedOrgLaborService(OrgLaborService orgLaborService) {
107                    _orgLaborService = orgLaborService;
108            }
109    
110            @Override
111            public OrgLaborService getWrappedService() {
112                    return _orgLaborService;
113            }
114    
115            @Override
116            public void setWrappedService(OrgLaborService orgLaborService) {
117                    _orgLaborService = orgLaborService;
118            }
119    
120            private OrgLaborService _orgLaborService;
121    }