001
014
015 package com.liferay.portlet.exportimport.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.exception.PortalException;
020 import com.liferay.portal.kernel.exception.SystemException;
021 import com.liferay.portal.kernel.transaction.Isolation;
022 import com.liferay.portal.kernel.transaction.Transactional;
023 import com.liferay.portal.service.BaseLocalService;
024
025
037 @ProviderType
038 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
039 PortalException.class, SystemException.class})
040 public interface ExportImportLocalService extends BaseLocalService {
041
046 public java.io.File exportLayoutsAsFile(
047 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration)
048 throws PortalException;
049
050 public long exportLayoutsAsFileInBackground(long userId,
051 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration)
052 throws PortalException;
053
054 public long exportLayoutsAsFileInBackground(long userId,
055 long exportImportConfigurationId) throws PortalException;
056
057 public java.io.File exportPortletInfoAsFile(
058 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration)
059 throws PortalException;
060
061 public long exportPortletInfoAsFileInBackground(long userId,
062 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration)
063 throws PortalException;
064
065 public long exportPortletInfoAsFileInBackground(long userId,
066 long exportImportConfigurationId) throws PortalException;
067
068
073 public java.lang.String getOSGiServiceIdentifier();
074
075 public void importLayouts(
076 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
077 java.io.File file) throws PortalException;
078
079 public void importLayouts(
080 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
081 java.io.InputStream inputStream) throws PortalException;
082
083 public void importLayoutsDataDeletions(
084 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
085 java.io.File file) throws PortalException;
086
087 public long importLayoutsInBackground(long userId,
088 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
089 java.io.File file) throws PortalException;
090
091 public long importLayoutsInBackground(long userId,
092 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
093 java.io.InputStream inputStream) throws PortalException;
094
095 public long importLayoutsInBackground(long userId,
096 long exportImportConfigurationId, java.io.File file)
097 throws PortalException;
098
099 public long importLayoutsInBackground(long userId,
100 long exportImportConfigurationId, java.io.InputStream inputStream)
101 throws PortalException;
102
103 public void importPortletDataDeletions(
104 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
105 java.io.File file) throws PortalException;
106
107 public void importPortletInfo(
108 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
109 java.io.File file) throws PortalException;
110
111 public void importPortletInfo(
112 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
113 java.io.InputStream inputStream) throws PortalException;
114
115 public long importPortletInfoInBackground(long userId,
116 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
117 java.io.File file) throws PortalException;
118
119 public long importPortletInfoInBackground(long userId,
120 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
121 java.io.InputStream inputStream) throws PortalException;
122
123 public long importPortletInfoInBackground(long userId,
124 long exportImportConfigurationId, java.io.File file)
125 throws PortalException;
126
127 public long importPortletInfoInBackground(long userId,
128 long exportImportConfigurationId, java.io.InputStream inputStream)
129 throws PortalException;
130
131 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportLayoutsFile(
132 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
133 java.io.File file) throws PortalException;
134
135 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportLayoutsFile(
136 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
137 java.io.InputStream inputStream) throws PortalException;
138
139 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportPortletInfo(
140 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
141 java.io.File file) throws PortalException;
142
143 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportPortletInfo(
144 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
145 java.io.InputStream inputStream) throws PortalException;
146 }