001
014
015 package com.liferay.portlet.exportimport.service.http;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.log.Log;
020 import com.liferay.portal.kernel.log.LogFactoryUtil;
021
022 import com.liferay.portlet.exportimport.service.ExportImportServiceUtil;
023
024 import java.rmi.RemoteException;
025
026
055 @ProviderType
056 public class ExportImportServiceSoap {
057 public static long exportLayoutsAsFileInBackground(
058 com.liferay.portlet.exportimport.model.ExportImportConfigurationSoap exportImportConfiguration)
059 throws RemoteException {
060 try {
061 long returnValue = ExportImportServiceUtil.exportLayoutsAsFileInBackground(com.liferay.portlet.exportimport.model.impl.ExportImportConfigurationModelImpl.toModel(
062 exportImportConfiguration));
063
064 return returnValue;
065 }
066 catch (Exception e) {
067 _log.error(e, e);
068
069 throw new RemoteException(e.getMessage());
070 }
071 }
072
073 public static long exportLayoutsAsFileInBackground(
074 long exportImportConfigurationId) throws RemoteException {
075 try {
076 long returnValue = ExportImportServiceUtil.exportLayoutsAsFileInBackground(exportImportConfigurationId);
077
078 return returnValue;
079 }
080 catch (Exception e) {
081 _log.error(e, e);
082
083 throw new RemoteException(e.getMessage());
084 }
085 }
086
087 public static long exportPortletInfoAsFileInBackground(
088 com.liferay.portlet.exportimport.model.ExportImportConfigurationSoap exportImportConfiguration)
089 throws RemoteException {
090 try {
091 long returnValue = ExportImportServiceUtil.exportPortletInfoAsFileInBackground(com.liferay.portlet.exportimport.model.impl.ExportImportConfigurationModelImpl.toModel(
092 exportImportConfiguration));
093
094 return returnValue;
095 }
096 catch (Exception e) {
097 _log.error(e, e);
098
099 throw new RemoteException(e.getMessage());
100 }
101 }
102
103 private static Log _log = LogFactoryUtil.getLog(ExportImportServiceSoap.class);
104 }