Class ExportImportLocalServiceUtil
Object
com.liferay.exportimport.kernel.service.ExportImportLocalServiceUtil
Provides the local service utility for ExportImport. This utility wraps
com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl
and
is an access point for service operations in application layer code running
on the local server. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be
accessed from within the same VM.- 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 userId, long exportImportConfigurationId) static long
exportLayoutsAsFileInBackground
(long userId, ExportImportConfiguration exportImportConfiguration) static File
exportPortletInfoAsFile
(ExportImportConfiguration exportImportConfiguration) static long
exportPortletInfoAsFileInBackground
(long userId, long exportImportConfigurationId) static long
exportPortletInfoAsFileInBackground
(long userId, ExportImportConfiguration exportImportConfiguration) static String
Returns the OSGi service identifier.static ExportImportLocalService
static void
importLayouts
(ExportImportConfiguration exportImportConfiguration, File file) static void
importLayouts
(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) static void
importLayoutsDataDeletions
(ExportImportConfiguration exportImportConfiguration, File file) static long
importLayoutSetPrototypeInBackground
(long userId, ExportImportConfiguration exportImportConfiguration, File file) static long
importLayoutsInBackground
(long userId, long exportImportConfigurationId, File file) static long
importLayoutsInBackground
(long userId, long exportImportConfigurationId, InputStream inputStream) static long
importLayoutsInBackground
(long userId, ExportImportConfiguration exportImportConfiguration, File file) static long
importLayoutsInBackground
(long userId, ExportImportConfiguration exportImportConfiguration, InputStream inputStream) static void
importPortletDataDeletions
(ExportImportConfiguration exportImportConfiguration, File file) static void
importPortletInfo
(ExportImportConfiguration exportImportConfiguration, File file) static void
importPortletInfo
(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) static long
importPortletInfoInBackground
(long userId, long exportImportConfigurationId, File file) static long
importPortletInfoInBackground
(long userId, long exportImportConfigurationId, InputStream inputStream) static long
importPortletInfoInBackground
(long userId, ExportImportConfiguration exportImportConfiguration, File file) static long
importPortletInfoInBackground
(long userId, ExportImportConfiguration exportImportConfiguration, InputStream inputStream) static long
mergeLayoutSetPrototypeInBackground
(long userId, long groupId, ExportImportConfiguration exportImportConfiguration) static void
setService
(ExportImportLocalService 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
-
ExportImportLocalServiceUtil
public ExportImportLocalServiceUtil()
-
-
Method Details
-
exportLayoutsAsFile
public static File exportLayoutsAsFile(ExportImportConfiguration exportImportConfiguration) throws PortalException - Throws:
PortalException
-
exportLayoutsAsFileInBackground
public static long exportLayoutsAsFileInBackground(long userId, ExportImportConfiguration exportImportConfiguration) throws PortalException - Throws:
PortalException
-
exportLayoutsAsFileInBackground
public static long exportLayoutsAsFileInBackground(long userId, long exportImportConfigurationId) throws PortalException - Throws:
PortalException
-
exportPortletInfoAsFile
public static File exportPortletInfoAsFile(ExportImportConfiguration exportImportConfiguration) throws PortalException - Throws:
PortalException
-
exportPortletInfoAsFileInBackground
public static long exportPortletInfoAsFileInBackground(long userId, ExportImportConfiguration exportImportConfiguration) throws PortalException - Throws:
PortalException
-
exportPortletInfoAsFileInBackground
public static long exportPortletInfoAsFileInBackground(long userId, long exportImportConfigurationId) 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
-
importLayoutsDataDeletions
public static void importLayoutsDataDeletions(ExportImportConfiguration exportImportConfiguration, File file) throws PortalException - Throws:
PortalException
-
importLayoutSetPrototypeInBackground
public static long importLayoutSetPrototypeInBackground(long userId, ExportImportConfiguration exportImportConfiguration, File file) throws PortalException - Throws:
PortalException
-
importLayoutsInBackground
public static long importLayoutsInBackground(long userId, ExportImportConfiguration exportImportConfiguration, File file) throws PortalException - Throws:
PortalException
-
importLayoutsInBackground
public static long importLayoutsInBackground(long userId, ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws PortalException - Throws:
PortalException
-
importLayoutsInBackground
public static long importLayoutsInBackground(long userId, long exportImportConfigurationId, File file) throws PortalException - Throws:
PortalException
-
importLayoutsInBackground
public static long importLayoutsInBackground(long userId, long exportImportConfigurationId, InputStream inputStream) throws PortalException - Throws:
PortalException
-
importPortletDataDeletions
public static void importPortletDataDeletions(ExportImportConfiguration exportImportConfiguration, File file) 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(long userId, ExportImportConfiguration exportImportConfiguration, File file) throws PortalException - Throws:
PortalException
-
importPortletInfoInBackground
public static long importPortletInfoInBackground(long userId, ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws PortalException - Throws:
PortalException
-
importPortletInfoInBackground
public static long importPortletInfoInBackground(long userId, long exportImportConfigurationId, File file) throws PortalException - Throws:
PortalException
-
importPortletInfoInBackground
public static long importPortletInfoInBackground(long userId, long exportImportConfigurationId, InputStream inputStream) throws PortalException - Throws:
PortalException
-
mergeLayoutSetPrototypeInBackground
public static long mergeLayoutSetPrototypeInBackground(long userId, long groupId, ExportImportConfiguration exportImportConfiguration) 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
-