Class ExportImportServiceUtil
Object
com.liferay.exportimport.kernel.service.ExportImportServiceUtil
Provides the remote service utility for ExportImport. This utility wraps
com.liferay.portlet.exportimport.service.impl.ExportImportServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. 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}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic File
exportLayoutsAsFile
(ExportImportConfiguration exportImportConfiguration) static long
exportLayoutsAsFileInBackground
(long exportImportConfigurationId) static long
exportLayoutsAsFileInBackground
(ExportImportConfiguration exportImportConfiguration) static File
exportPortletInfoAsFile
(ExportImportConfiguration exportImportConfiguration) static long
exportPortletInfoAsFileInBackground
(ExportImportConfiguration exportImportConfiguration) static String
Returns the OSGi service identifier.static ExportImportService
static void
importLayouts
(ExportImportConfiguration exportImportConfiguration, File file) static void
importLayouts
(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) static long
importLayoutsInBackground
(ExportImportConfiguration exportImportConfiguration, File file) static long
importLayoutsInBackground
(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) static void
importPortletInfo
(ExportImportConfiguration exportImportConfiguration, File file) static void
importPortletInfo
(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) static long
importPortletInfoInBackground
(ExportImportConfiguration exportImportConfiguration, File file) static long
importPortletInfoInBackground
(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) static void
setService
(ExportImportService service) static MissingReferences
validateImportLayoutsFile
(ExportImportConfiguration exportImportConfiguration, File file) static MissingReferences
validateImportLayoutsFile
(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) static MissingReferences
validateImportPortletInfo
(ExportImportConfiguration exportImportConfiguration, File file) static MissingReferences
validateImportPortletInfo
(ExportImportConfiguration exportImportConfiguration, InputStream inputStream)
-
Constructor Details
-
ExportImportServiceUtil
public ExportImportServiceUtil()
-
-
Method Details
-
exportLayoutsAsFile
public static File exportLayoutsAsFile(ExportImportConfiguration exportImportConfiguration) throws PortalException - Throws:
PortalException
-
exportLayoutsAsFileInBackground
public static long exportLayoutsAsFileInBackground(ExportImportConfiguration exportImportConfiguration) throws PortalException - Throws:
PortalException
-
exportLayoutsAsFileInBackground
public static long exportLayoutsAsFileInBackground(long exportImportConfigurationId) throws PortalException - Throws:
PortalException
-
exportPortletInfoAsFile
public static File exportPortletInfoAsFile(ExportImportConfiguration exportImportConfiguration) throws PortalException - Throws:
PortalException
-
exportPortletInfoAsFileInBackground
public static long exportPortletInfoAsFileInBackground(ExportImportConfiguration exportImportConfiguration) throws PortalException - Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
importLayouts
public static void importLayouts(ExportImportConfiguration exportImportConfiguration, File file) throws PortalException - Throws:
PortalException
-
importLayouts
public static void importLayouts(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws PortalException - Throws:
PortalException
-
importLayoutsInBackground
public static long importLayoutsInBackground(ExportImportConfiguration exportImportConfiguration, File file) throws PortalException - Throws:
PortalException
-
importLayoutsInBackground
public static long importLayoutsInBackground(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws PortalException - Throws:
PortalException
-
importPortletInfo
public static void importPortletInfo(ExportImportConfiguration exportImportConfiguration, File file) throws PortalException - Throws:
PortalException
-
importPortletInfo
public static void importPortletInfo(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws PortalException - Throws:
PortalException
-
importPortletInfoInBackground
public static long importPortletInfoInBackground(ExportImportConfiguration exportImportConfiguration, File file) throws PortalException - Throws:
PortalException
-
importPortletInfoInBackground
public static long importPortletInfoInBackground(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws PortalException - Throws:
PortalException
-
validateImportLayoutsFile
public static MissingReferences validateImportLayoutsFile(ExportImportConfiguration exportImportConfiguration, File file) throws PortalException - Throws:
PortalException
-
validateImportLayoutsFile
public static MissingReferences validateImportLayoutsFile(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws PortalException - Throws:
PortalException
-
validateImportPortletInfo
public static MissingReferences validateImportPortletInfo(ExportImportConfiguration exportImportConfiguration, File file) throws PortalException - Throws:
PortalException
-
validateImportPortletInfo
public static MissingReferences validateImportPortletInfo(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws PortalException - Throws:
PortalException
-
getService
-
setService
-