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 ExportImportService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see ExportImportService
026     * @generated
027     */
028    @ProviderType
029    public class ExportImportServiceWrapper implements ExportImportService,
030            ServiceWrapper<ExportImportService> {
031            public ExportImportServiceWrapper(ExportImportService exportImportService) {
032                    _exportImportService = exportImportService;
033            }
034    
035            @Override
036            public java.io.File exportLayoutsAsFile(
037                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration)
038                    throws com.liferay.portal.kernel.exception.PortalException {
039                    return _exportImportService.exportLayoutsAsFile(exportImportConfiguration);
040            }
041    
042            @Override
043            public long exportLayoutsAsFileInBackground(
044                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration)
045                    throws com.liferay.portal.kernel.exception.PortalException {
046                    return _exportImportService.exportLayoutsAsFileInBackground(exportImportConfiguration);
047            }
048    
049            @Override
050            public long exportLayoutsAsFileInBackground(
051                    long exportImportConfigurationId)
052                    throws com.liferay.portal.kernel.exception.PortalException {
053                    return _exportImportService.exportLayoutsAsFileInBackground(exportImportConfigurationId);
054            }
055    
056            @Override
057            public java.io.File exportPortletInfoAsFile(
058                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration)
059                    throws com.liferay.portal.kernel.exception.PortalException {
060                    return _exportImportService.exportPortletInfoAsFile(exportImportConfiguration);
061            }
062    
063            @Override
064            public long exportPortletInfoAsFileInBackground(
065                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration)
066                    throws com.liferay.portal.kernel.exception.PortalException {
067                    return _exportImportService.exportPortletInfoAsFileInBackground(exportImportConfiguration);
068            }
069    
070            /**
071            * Returns the Spring bean ID for this bean.
072            *
073            * @return the Spring bean ID for this bean
074            */
075            @Override
076            public java.lang.String getBeanIdentifier() {
077                    return _exportImportService.getBeanIdentifier();
078            }
079    
080            @Override
081            public void importLayouts(
082                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
083                    java.io.File file)
084                    throws com.liferay.portal.kernel.exception.PortalException {
085                    _exportImportService.importLayouts(exportImportConfiguration, file);
086            }
087    
088            @Override
089            public void importLayouts(
090                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
091                    java.io.InputStream inputStream)
092                    throws com.liferay.portal.kernel.exception.PortalException {
093                    _exportImportService.importLayouts(exportImportConfiguration,
094                            inputStream);
095            }
096    
097            @Override
098            public long importLayoutsInBackground(
099                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
100                    java.io.File file)
101                    throws com.liferay.portal.kernel.exception.PortalException {
102                    return _exportImportService.importLayoutsInBackground(exportImportConfiguration,
103                            file);
104            }
105    
106            @Override
107            public long importLayoutsInBackground(
108                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
109                    java.io.InputStream inputStream)
110                    throws com.liferay.portal.kernel.exception.PortalException {
111                    return _exportImportService.importLayoutsInBackground(exportImportConfiguration,
112                            inputStream);
113            }
114    
115            @Override
116            public void importPortletInfo(
117                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
118                    java.io.File file)
119                    throws com.liferay.portal.kernel.exception.PortalException {
120                    _exportImportService.importPortletInfo(exportImportConfiguration, file);
121            }
122    
123            @Override
124            public void importPortletInfo(
125                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
126                    java.io.InputStream inputStream)
127                    throws com.liferay.portal.kernel.exception.PortalException {
128                    _exportImportService.importPortletInfo(exportImportConfiguration,
129                            inputStream);
130            }
131    
132            @Override
133            public long importPortletInfoInBackground(
134                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
135                    java.io.File file)
136                    throws com.liferay.portal.kernel.exception.PortalException {
137                    return _exportImportService.importPortletInfoInBackground(exportImportConfiguration,
138                            file);
139            }
140    
141            @Override
142            public long importPortletInfoInBackground(
143                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
144                    java.io.InputStream inputStream)
145                    throws com.liferay.portal.kernel.exception.PortalException {
146                    return _exportImportService.importPortletInfoInBackground(exportImportConfiguration,
147                            inputStream);
148            }
149    
150            /**
151            * Sets the Spring bean ID for this bean.
152            *
153            * @param beanIdentifier the Spring bean ID for this bean
154            */
155            @Override
156            public void setBeanIdentifier(java.lang.String beanIdentifier) {
157                    _exportImportService.setBeanIdentifier(beanIdentifier);
158            }
159    
160            @Override
161            public com.liferay.portlet.exportimport.lar.MissingReferences validateImportLayoutsFile(
162                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
163                    java.io.File file)
164                    throws com.liferay.portal.kernel.exception.PortalException {
165                    return _exportImportService.validateImportLayoutsFile(exportImportConfiguration,
166                            file);
167            }
168    
169            @Override
170            public com.liferay.portlet.exportimport.lar.MissingReferences validateImportLayoutsFile(
171                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
172                    java.io.InputStream inputStream)
173                    throws com.liferay.portal.kernel.exception.PortalException {
174                    return _exportImportService.validateImportLayoutsFile(exportImportConfiguration,
175                            inputStream);
176            }
177    
178            @Override
179            public com.liferay.portlet.exportimport.lar.MissingReferences validateImportPortletInfo(
180                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
181                    java.io.File file)
182                    throws com.liferay.portal.kernel.exception.PortalException {
183                    return _exportImportService.validateImportPortletInfo(exportImportConfiguration,
184                            file);
185            }
186    
187            @Override
188            public com.liferay.portlet.exportimport.lar.MissingReferences validateImportPortletInfo(
189                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
190                    java.io.InputStream inputStream)
191                    throws com.liferay.portal.kernel.exception.PortalException {
192                    return _exportImportService.validateImportPortletInfo(exportImportConfiguration,
193                            inputStream);
194            }
195    
196            /**
197             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
198             */
199            @Deprecated
200            public ExportImportService getWrappedExportImportService() {
201                    return _exportImportService;
202            }
203    
204            /**
205             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
206             */
207            @Deprecated
208            public void setWrappedExportImportService(
209                    ExportImportService exportImportService) {
210                    _exportImportService = exportImportService;
211            }
212    
213            @Override
214            public ExportImportService getWrappedService() {
215                    return _exportImportService;
216            }
217    
218            @Override
219            public void setWrappedService(ExportImportService exportImportService) {
220                    _exportImportService = exportImportService;
221            }
222    
223            private ExportImportService _exportImportService;
224    }