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