001
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
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 com.liferay.exportimport.kernel.lar.MissingReferences validateImportLayoutsFile(
037 com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
038 java.io.File file)
039 throws com.liferay.portal.kernel.exception.PortalException {
040 return _exportImportService.validateImportLayoutsFile(exportImportConfiguration,
041 file);
042 }
043
044 @Override
045 public com.liferay.exportimport.kernel.lar.MissingReferences validateImportLayoutsFile(
046 com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
047 java.io.InputStream inputStream)
048 throws com.liferay.portal.kernel.exception.PortalException {
049 return _exportImportService.validateImportLayoutsFile(exportImportConfiguration,
050 inputStream);
051 }
052
053 @Override
054 public com.liferay.exportimport.kernel.lar.MissingReferences validateImportPortletInfo(
055 com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
056 java.io.File file)
057 throws com.liferay.portal.kernel.exception.PortalException {
058 return _exportImportService.validateImportPortletInfo(exportImportConfiguration,
059 file);
060 }
061
062 @Override
063 public com.liferay.exportimport.kernel.lar.MissingReferences validateImportPortletInfo(
064 com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
065 java.io.InputStream inputStream)
066 throws com.liferay.portal.kernel.exception.PortalException {
067 return _exportImportService.validateImportPortletInfo(exportImportConfiguration,
068 inputStream);
069 }
070
071 @Override
072 public java.io.File exportLayoutsAsFile(
073 com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration)
074 throws com.liferay.portal.kernel.exception.PortalException {
075 return _exportImportService.exportLayoutsAsFile(exportImportConfiguration);
076 }
077
078 @Override
079 public java.io.File exportPortletInfoAsFile(
080 com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration)
081 throws com.liferay.portal.kernel.exception.PortalException {
082 return _exportImportService.exportPortletInfoAsFile(exportImportConfiguration);
083 }
084
085
090 @Override
091 public java.lang.String getOSGiServiceIdentifier() {
092 return _exportImportService.getOSGiServiceIdentifier();
093 }
094
095 @Override
096 public long exportLayoutsAsFileInBackground(
097 com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration)
098 throws com.liferay.portal.kernel.exception.PortalException {
099 return _exportImportService.exportLayoutsAsFileInBackground(exportImportConfiguration);
100 }
101
102 @Override
103 public long exportLayoutsAsFileInBackground(
104 long exportImportConfigurationId)
105 throws com.liferay.portal.kernel.exception.PortalException {
106 return _exportImportService.exportLayoutsAsFileInBackground(exportImportConfigurationId);
107 }
108
109 @Override
110 public long exportPortletInfoAsFileInBackground(
111 com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration)
112 throws com.liferay.portal.kernel.exception.PortalException {
113 return _exportImportService.exportPortletInfoAsFileInBackground(exportImportConfiguration);
114 }
115
116 @Override
117 public long importLayoutsInBackground(
118 com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
119 java.io.File file)
120 throws com.liferay.portal.kernel.exception.PortalException {
121 return _exportImportService.importLayoutsInBackground(exportImportConfiguration,
122 file);
123 }
124
125 @Override
126 public long importLayoutsInBackground(
127 com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
128 java.io.InputStream inputStream)
129 throws com.liferay.portal.kernel.exception.PortalException {
130 return _exportImportService.importLayoutsInBackground(exportImportConfiguration,
131 inputStream);
132 }
133
134 @Override
135 public long importPortletInfoInBackground(
136 com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
137 java.io.File file)
138 throws com.liferay.portal.kernel.exception.PortalException {
139 return _exportImportService.importPortletInfoInBackground(exportImportConfiguration,
140 file);
141 }
142
143 @Override
144 public long importPortletInfoInBackground(
145 com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
146 java.io.InputStream inputStream)
147 throws com.liferay.portal.kernel.exception.PortalException {
148 return _exportImportService.importPortletInfoInBackground(exportImportConfiguration,
149 inputStream);
150 }
151
152 @Override
153 public void importLayouts(
154 com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
155 java.io.File file)
156 throws com.liferay.portal.kernel.exception.PortalException {
157 _exportImportService.importLayouts(exportImportConfiguration, file);
158 }
159
160 @Override
161 public void importLayouts(
162 com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
163 java.io.InputStream inputStream)
164 throws com.liferay.portal.kernel.exception.PortalException {
165 _exportImportService.importLayouts(exportImportConfiguration,
166 inputStream);
167 }
168
169 @Override
170 public void importPortletInfo(
171 com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
172 java.io.File file)
173 throws com.liferay.portal.kernel.exception.PortalException {
174 _exportImportService.importPortletInfo(exportImportConfiguration, file);
175 }
176
177 @Override
178 public void importPortletInfo(
179 com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
180 java.io.InputStream inputStream)
181 throws com.liferay.portal.kernel.exception.PortalException {
182 _exportImportService.importPortletInfo(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 }