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.kernel.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.kernel.model.OrgLabor addOrgLabor(
035                    long organizationId, long typeId, int sunOpen, int sunClose,
036                    int monOpen, int monClose, int tueOpen, int tueClose, int wedOpen,
037                    int wedClose, int thuOpen, int thuClose, int friOpen, int friClose,
038                    int satOpen, int satClose)
039                    throws com.liferay.portal.kernel.exception.PortalException {
040                    return _orgLaborService.addOrgLabor(organizationId, typeId, sunOpen,
041                            sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen, wedClose,
042                            thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
043            }
044    
045            @Override
046            public com.liferay.portal.kernel.model.OrgLabor getOrgLabor(long orgLaborId)
047                    throws com.liferay.portal.kernel.exception.PortalException {
048                    return _orgLaborService.getOrgLabor(orgLaborId);
049            }
050    
051            @Override
052            public com.liferay.portal.kernel.model.OrgLabor updateOrgLabor(
053                    long orgLaborId, long typeId, int sunOpen, int sunClose, int monOpen,
054                    int monClose, int tueOpen, int tueClose, int wedOpen, int wedClose,
055                    int thuOpen, int thuClose, int friOpen, int friClose, int satOpen,
056                    int satClose)
057                    throws com.liferay.portal.kernel.exception.PortalException {
058                    return _orgLaborService.updateOrgLabor(orgLaborId, typeId, sunOpen,
059                            sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen, wedClose,
060                            thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
061            }
062    
063            /**
064            * Returns the OSGi service identifier.
065            *
066            * @return the OSGi service identifier
067            */
068            @Override
069            public java.lang.String getOSGiServiceIdentifier() {
070                    return _orgLaborService.getOSGiServiceIdentifier();
071            }
072    
073            @Override
074            public java.util.List<com.liferay.portal.kernel.model.OrgLabor> getOrgLabors(
075                    long organizationId)
076                    throws com.liferay.portal.kernel.exception.PortalException {
077                    return _orgLaborService.getOrgLabors(organizationId);
078            }
079    
080            @Override
081            public void deleteOrgLabor(long orgLaborId)
082                    throws com.liferay.portal.kernel.exception.PortalException {
083                    _orgLaborService.deleteOrgLabor(orgLaborId);
084            }
085    
086            @Override
087            public OrgLaborService getWrappedService() {
088                    return _orgLaborService;
089            }
090    
091            @Override
092            public void setWrappedService(OrgLaborService orgLaborService) {
093                    _orgLaborService = orgLaborService;
094            }
095    
096            private OrgLaborService _orgLaborService;
097    }