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.portlet.exportimport.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link ExportImportConfigurationService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see ExportImportConfigurationService
026     * @generated
027     */
028    @ProviderType
029    public class ExportImportConfigurationServiceWrapper
030            implements ExportImportConfigurationService,
031                    ServiceWrapper<ExportImportConfigurationService> {
032            public ExportImportConfigurationServiceWrapper(
033                    ExportImportConfigurationService exportImportConfigurationService) {
034                    _exportImportConfigurationService = exportImportConfigurationService;
035            }
036    
037            @Override
038            public void deleteExportImportConfiguration(
039                    long exportImportConfigurationId)
040                    throws com.liferay.portal.kernel.exception.PortalException {
041                    _exportImportConfigurationService.deleteExportImportConfiguration(exportImportConfigurationId);
042            }
043    
044            /**
045            * Returns the OSGi service identifier.
046            *
047            * @return the OSGi service identifier
048            */
049            @Override
050            public java.lang.String getOSGiServiceIdentifier() {
051                    return _exportImportConfigurationService.getOSGiServiceIdentifier();
052            }
053    
054            @Override
055            public com.liferay.portlet.exportimport.model.ExportImportConfiguration moveExportImportConfigurationToTrash(
056                    long exportImportConfigurationId)
057                    throws com.liferay.portal.kernel.exception.PortalException {
058                    return _exportImportConfigurationService.moveExportImportConfigurationToTrash(exportImportConfigurationId);
059            }
060    
061            @Override
062            public com.liferay.portlet.exportimport.model.ExportImportConfiguration restoreExportImportConfigurationFromTrash(
063                    long exportImportConfigurationId)
064                    throws com.liferay.portal.kernel.exception.PortalException {
065                    return _exportImportConfigurationService.restoreExportImportConfigurationFromTrash(exportImportConfigurationId);
066            }
067    
068            /**
069             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
070             */
071            @Deprecated
072            public ExportImportConfigurationService getWrappedExportImportConfigurationService() {
073                    return _exportImportConfigurationService;
074            }
075    
076            /**
077             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
078             */
079            @Deprecated
080            public void setWrappedExportImportConfigurationService(
081                    ExportImportConfigurationService exportImportConfigurationService) {
082                    _exportImportConfigurationService = exportImportConfigurationService;
083            }
084    
085            @Override
086            public ExportImportConfigurationService getWrappedService() {
087                    return _exportImportConfigurationService;
088            }
089    
090            @Override
091            public void setWrappedService(
092                    ExportImportConfigurationService exportImportConfigurationService) {
093                    _exportImportConfigurationService = exportImportConfigurationService;
094            }
095    
096            private ExportImportConfigurationService _exportImportConfigurationService;
097    }