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.exportimport.kernel.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link ExportImportLocalService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see ExportImportLocalService
026     * @generated
027     */
028    @ProviderType
029    public class ExportImportLocalServiceWrapper implements ExportImportLocalService,
030            ServiceWrapper<ExportImportLocalService> {
031            public ExportImportLocalServiceWrapper(
032                    ExportImportLocalService exportImportLocalService) {
033                    _exportImportLocalService = exportImportLocalService;
034            }
035    
036            @Override
037            public com.liferay.exportimport.kernel.lar.MissingReferences validateImportLayoutsFile(
038                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
039                    java.io.File file)
040                    throws com.liferay.portal.kernel.exception.PortalException {
041                    return _exportImportLocalService.validateImportLayoutsFile(exportImportConfiguration,
042                            file);
043            }
044    
045            @Override
046            public com.liferay.exportimport.kernel.lar.MissingReferences validateImportLayoutsFile(
047                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
048                    java.io.InputStream inputStream)
049                    throws com.liferay.portal.kernel.exception.PortalException {
050                    return _exportImportLocalService.validateImportLayoutsFile(exportImportConfiguration,
051                            inputStream);
052            }
053    
054            @Override
055            public com.liferay.exportimport.kernel.lar.MissingReferences validateImportPortletInfo(
056                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
057                    java.io.File file)
058                    throws com.liferay.portal.kernel.exception.PortalException {
059                    return _exportImportLocalService.validateImportPortletInfo(exportImportConfiguration,
060                            file);
061            }
062    
063            @Override
064            public com.liferay.exportimport.kernel.lar.MissingReferences validateImportPortletInfo(
065                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
066                    java.io.InputStream inputStream)
067                    throws com.liferay.portal.kernel.exception.PortalException {
068                    return _exportImportLocalService.validateImportPortletInfo(exportImportConfiguration,
069                            inputStream);
070            }
071    
072            @Override
073            public java.io.File exportLayoutsAsFile(
074                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration)
075                    throws com.liferay.portal.kernel.exception.PortalException {
076                    return _exportImportLocalService.exportLayoutsAsFile(exportImportConfiguration);
077            }
078    
079            @Override
080            public java.io.File exportPortletInfoAsFile(
081                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration)
082                    throws com.liferay.portal.kernel.exception.PortalException {
083                    return _exportImportLocalService.exportPortletInfoAsFile(exportImportConfiguration);
084            }
085    
086            /**
087            * Returns the OSGi service identifier.
088            *
089            * @return the OSGi service identifier
090            */
091            @Override
092            public java.lang.String getOSGiServiceIdentifier() {
093                    return _exportImportLocalService.getOSGiServiceIdentifier();
094            }
095    
096            @Override
097            public long exportLayoutsAsFileInBackground(long userId,
098                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration)
099                    throws com.liferay.portal.kernel.exception.PortalException {
100                    return _exportImportLocalService.exportLayoutsAsFileInBackground(userId,
101                            exportImportConfiguration);
102            }
103    
104            @Override
105            public long exportLayoutsAsFileInBackground(long userId,
106                    long exportImportConfigurationId)
107                    throws com.liferay.portal.kernel.exception.PortalException {
108                    return _exportImportLocalService.exportLayoutsAsFileInBackground(userId,
109                            exportImportConfigurationId);
110            }
111    
112            @Override
113            public long exportPortletInfoAsFileInBackground(long userId,
114                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration)
115                    throws com.liferay.portal.kernel.exception.PortalException {
116                    return _exportImportLocalService.exportPortletInfoAsFileInBackground(userId,
117                            exportImportConfiguration);
118            }
119    
120            @Override
121            public long exportPortletInfoAsFileInBackground(long userId,
122                    long exportImportConfigurationId)
123                    throws com.liferay.portal.kernel.exception.PortalException {
124                    return _exportImportLocalService.exportPortletInfoAsFileInBackground(userId,
125                            exportImportConfigurationId);
126            }
127    
128            @Override
129            public long importLayoutsInBackground(long userId,
130                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
131                    java.io.File file)
132                    throws com.liferay.portal.kernel.exception.PortalException {
133                    return _exportImportLocalService.importLayoutsInBackground(userId,
134                            exportImportConfiguration, file);
135            }
136    
137            @Override
138            public long importLayoutsInBackground(long userId,
139                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
140                    java.io.InputStream inputStream)
141                    throws com.liferay.portal.kernel.exception.PortalException {
142                    return _exportImportLocalService.importLayoutsInBackground(userId,
143                            exportImportConfiguration, inputStream);
144            }
145    
146            @Override
147            public long importLayoutsInBackground(long userId,
148                    long exportImportConfigurationId, java.io.File file)
149                    throws com.liferay.portal.kernel.exception.PortalException {
150                    return _exportImportLocalService.importLayoutsInBackground(userId,
151                            exportImportConfigurationId, file);
152            }
153    
154            @Override
155            public long importLayoutsInBackground(long userId,
156                    long exportImportConfigurationId, java.io.InputStream inputStream)
157                    throws com.liferay.portal.kernel.exception.PortalException {
158                    return _exportImportLocalService.importLayoutsInBackground(userId,
159                            exportImportConfigurationId, inputStream);
160            }
161    
162            @Override
163            public long importPortletInfoInBackground(long userId,
164                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
165                    java.io.File file)
166                    throws com.liferay.portal.kernel.exception.PortalException {
167                    return _exportImportLocalService.importPortletInfoInBackground(userId,
168                            exportImportConfiguration, file);
169            }
170    
171            @Override
172            public long importPortletInfoInBackground(long userId,
173                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
174                    java.io.InputStream inputStream)
175                    throws com.liferay.portal.kernel.exception.PortalException {
176                    return _exportImportLocalService.importPortletInfoInBackground(userId,
177                            exportImportConfiguration, inputStream);
178            }
179    
180            @Override
181            public long importPortletInfoInBackground(long userId,
182                    long exportImportConfigurationId, java.io.File file)
183                    throws com.liferay.portal.kernel.exception.PortalException {
184                    return _exportImportLocalService.importPortletInfoInBackground(userId,
185                            exportImportConfigurationId, file);
186            }
187    
188            @Override
189            public long importPortletInfoInBackground(long userId,
190                    long exportImportConfigurationId, java.io.InputStream inputStream)
191                    throws com.liferay.portal.kernel.exception.PortalException {
192                    return _exportImportLocalService.importPortletInfoInBackground(userId,
193                            exportImportConfigurationId, inputStream);
194            }
195    
196            @Override
197            public void importLayouts(
198                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
199                    java.io.File file)
200                    throws com.liferay.portal.kernel.exception.PortalException {
201                    _exportImportLocalService.importLayouts(exportImportConfiguration, file);
202            }
203    
204            @Override
205            public void importLayouts(
206                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
207                    java.io.InputStream inputStream)
208                    throws com.liferay.portal.kernel.exception.PortalException {
209                    _exportImportLocalService.importLayouts(exportImportConfiguration,
210                            inputStream);
211            }
212    
213            @Override
214            public void importLayoutsDataDeletions(
215                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
216                    java.io.File file)
217                    throws com.liferay.portal.kernel.exception.PortalException {
218                    _exportImportLocalService.importLayoutsDataDeletions(exportImportConfiguration,
219                            file);
220            }
221    
222            @Override
223            public void importPortletDataDeletions(
224                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
225                    java.io.File file)
226                    throws com.liferay.portal.kernel.exception.PortalException {
227                    _exportImportLocalService.importPortletDataDeletions(exportImportConfiguration,
228                            file);
229            }
230    
231            @Override
232            public void importPortletInfo(
233                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
234                    java.io.File file)
235                    throws com.liferay.portal.kernel.exception.PortalException {
236                    _exportImportLocalService.importPortletInfo(exportImportConfiguration,
237                            file);
238            }
239    
240            @Override
241            public void importPortletInfo(
242                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
243                    java.io.InputStream inputStream)
244                    throws com.liferay.portal.kernel.exception.PortalException {
245                    _exportImportLocalService.importPortletInfo(exportImportConfiguration,
246                            inputStream);
247            }
248    
249            @Override
250            public ExportImportLocalService getWrappedService() {
251                    return _exportImportLocalService;
252            }
253    
254            @Override
255            public void setWrappedService(
256                    ExportImportLocalService exportImportLocalService) {
257                    _exportImportLocalService = exportImportLocalService;
258            }
259    
260            private ExportImportLocalService _exportImportLocalService;
261    }