Interface ExportImportService
- All Superinterfaces:
BaseService
- All Known Implementing Classes:
ExportImportServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface ExportImportService
extends BaseService
Provides the remote service interface for ExportImport. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionexportLayoutsAsFile
(ExportImportConfiguration exportImportConfiguration) long
exportLayoutsAsFileInBackground
(long exportImportConfigurationId) long
exportLayoutsAsFileInBackground
(ExportImportConfiguration exportImportConfiguration) exportPortletInfoAsFile
(ExportImportConfiguration exportImportConfiguration) long
exportPortletInfoAsFileInBackground
(ExportImportConfiguration exportImportConfiguration) Returns the OSGi service identifier.void
importLayouts
(ExportImportConfiguration exportImportConfiguration, File file) void
importLayouts
(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) long
importLayoutsInBackground
(ExportImportConfiguration exportImportConfiguration, File file) long
importLayoutsInBackground
(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) void
importPortletInfo
(ExportImportConfiguration exportImportConfiguration, File file) void
importPortletInfo
(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) long
importPortletInfoInBackground
(ExportImportConfiguration exportImportConfiguration, File file) long
importPortletInfoInBackground
(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) validateImportLayoutsFile
(ExportImportConfiguration exportImportConfiguration, File file) validateImportLayoutsFile
(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) validateImportPortletInfo
(ExportImportConfiguration exportImportConfiguration, File file) validateImportPortletInfo
(ExportImportConfiguration exportImportConfiguration, InputStream inputStream)
-
Method Details
-
exportLayoutsAsFile
File exportLayoutsAsFile(ExportImportConfiguration exportImportConfiguration) throws PortalException - Throws:
PortalException
-
exportLayoutsAsFileInBackground
long exportLayoutsAsFileInBackground(ExportImportConfiguration exportImportConfiguration) throws PortalException - Throws:
PortalException
-
exportLayoutsAsFileInBackground
- Throws:
PortalException
-
exportPortletInfoAsFile
File exportPortletInfoAsFile(ExportImportConfiguration exportImportConfiguration) throws PortalException - Throws:
PortalException
-
exportPortletInfoAsFileInBackground
long exportPortletInfoAsFileInBackground(ExportImportConfiguration exportImportConfiguration) throws PortalException - Throws:
PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
importLayouts
void importLayouts(ExportImportConfiguration exportImportConfiguration, File file) throws PortalException - Throws:
PortalException
-
importLayouts
void importLayouts(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws PortalException - Throws:
PortalException
-
importLayoutsInBackground
long importLayoutsInBackground(ExportImportConfiguration exportImportConfiguration, File file) throws PortalException - Throws:
PortalException
-
importLayoutsInBackground
long importLayoutsInBackground(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws PortalException - Throws:
PortalException
-
importPortletInfo
void importPortletInfo(ExportImportConfiguration exportImportConfiguration, File file) throws PortalException - Throws:
PortalException
-
importPortletInfo
void importPortletInfo(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws PortalException - Throws:
PortalException
-
importPortletInfoInBackground
long importPortletInfoInBackground(ExportImportConfiguration exportImportConfiguration, File file) throws PortalException - Throws:
PortalException
-
importPortletInfoInBackground
long importPortletInfoInBackground(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws PortalException - Throws:
PortalException
-
validateImportLayoutsFile
MissingReferences validateImportLayoutsFile(ExportImportConfiguration exportImportConfiguration, File file) throws PortalException - Throws:
PortalException
-
validateImportLayoutsFile
MissingReferences validateImportLayoutsFile(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws PortalException - Throws:
PortalException
-
validateImportPortletInfo
MissingReferences validateImportPortletInfo(ExportImportConfiguration exportImportConfiguration, File file) throws PortalException - Throws:
PortalException
-
validateImportPortletInfo
MissingReferences validateImportPortletInfo(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws PortalException - Throws:
PortalException
-