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 FileexportLayoutsAsFile(ExportImportConfiguration exportImportConfiguration) static longexportLayoutsAsFileInBackground(long exportImportConfigurationId) static longexportLayoutsAsFileInBackground(ExportImportConfiguration exportImportConfiguration) static FileexportPortletInfoAsFile(ExportImportConfiguration exportImportConfiguration) static longexportPortletInfoAsFileInBackground(ExportImportConfiguration exportImportConfiguration) static StringReturns the OSGi service identifier.static ExportImportServicestatic voidimportLayouts(ExportImportConfiguration exportImportConfiguration, File file) static voidimportLayouts(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) static longimportLayoutsInBackground(ExportImportConfiguration exportImportConfiguration, File file) static longimportLayoutsInBackground(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) static voidimportPortletInfo(ExportImportConfiguration exportImportConfiguration, File file) static voidimportPortletInfo(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) static longimportPortletInfoInBackground(ExportImportConfiguration exportImportConfiguration, File file) static longimportPortletInfoInBackground(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) static voidsetService(ExportImportService service) static MissingReferencesvalidateImportLayoutsFile(ExportImportConfiguration exportImportConfiguration, File file) static MissingReferencesvalidateImportLayoutsFile(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) static MissingReferencesvalidateImportPortletInfo(ExportImportConfiguration exportImportConfiguration, File file) static MissingReferencesvalidateImportPortletInfo(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
-