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 void deleteOrgLabor(long orgLaborId)
047                    throws com.liferay.portal.kernel.exception.PortalException {
048                    _orgLaborService.deleteOrgLabor(orgLaborId);
049            }
050    
051            /**
052            * Returns the OSGi service identifier.
053            *
054            * @return the OSGi service identifier
055            */
056            @Override
057            public java.lang.String getOSGiServiceIdentifier() {
058                    return _orgLaborService.getOSGiServiceIdentifier();
059            }
060    
061            @Override
062            public com.liferay.portal.kernel.model.OrgLabor getOrgLabor(long orgLaborId)
063                    throws com.liferay.portal.kernel.exception.PortalException {
064                    return _orgLaborService.getOrgLabor(orgLaborId);
065            }
066    
067            @Override
068            public java.util.List<com.liferay.portal.kernel.model.OrgLabor> getOrgLabors(
069                    long organizationId)
070                    throws com.liferay.portal.kernel.exception.PortalException {
071                    return _orgLaborService.getOrgLabors(organizationId);
072            }
073    
074            @Override
075            public com.liferay.portal.kernel.model.OrgLabor updateOrgLabor(
076                    long orgLaborId, long typeId, int sunOpen, int sunClose, int monOpen,
077                    int monClose, int tueOpen, int tueClose, int wedOpen, int wedClose,
078                    int thuOpen, int thuClose, int friOpen, int friClose, int satOpen,
079                    int satClose)
080                    throws com.liferay.portal.kernel.exception.PortalException {
081                    return _orgLaborService.updateOrgLabor(orgLaborId, typeId, sunOpen,
082                            sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen, wedClose,
083                            thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
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    }