001
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
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
075 @Override
076 public java.lang.String getOSGiServiceIdentifier() {
077 return _exportImportService.getOSGiServiceIdentifier();
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 @Override
151 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportLayoutsFile(
152 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
153 java.io.File file)
154 throws com.liferay.portal.kernel.exception.PortalException {
155 return _exportImportService.validateImportLayoutsFile(exportImportConfiguration,
156 file);
157 }
158
159 @Override
160 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportLayoutsFile(
161 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
162 java.io.InputStream inputStream)
163 throws com.liferay.portal.kernel.exception.PortalException {
164 return _exportImportService.validateImportLayoutsFile(exportImportConfiguration,
165 inputStream);
166 }
167
168 @Override
169 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportPortletInfo(
170 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
171 java.io.File file)
172 throws com.liferay.portal.kernel.exception.PortalException {
173 return _exportImportService.validateImportPortletInfo(exportImportConfiguration,
174 file);
175 }
176
177 @Override
178 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportPortletInfo(
179 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
180 java.io.InputStream inputStream)
181 throws com.liferay.portal.kernel.exception.PortalException {
182 return _exportImportService.validateImportPortletInfo(exportImportConfiguration,
183 inputStream);
184 }
185
186 @Override
187 public ExportImportService getWrappedService() {
188 return _exportImportService;
189 }
190
191 @Override
192 public void setWrappedService(ExportImportService exportImportService) {
193 _exportImportService = exportImportService;
194 }
195
196 private ExportImportService _exportImportService;
197 }