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 FileexportLayoutsAsFile(ExportImportConfiguration exportImportConfiguration) static longexportLayoutsAsFileInBackground(long userId, long exportImportConfigurationId) static longexportLayoutsAsFileInBackground(long userId, ExportImportConfiguration exportImportConfiguration) static FileexportPortletInfoAsFile(ExportImportConfiguration exportImportConfiguration) static longexportPortletInfoAsFileInBackground(long userId, long exportImportConfigurationId) static longexportPortletInfoAsFileInBackground(long userId, ExportImportConfiguration exportImportConfiguration) static StringReturns the OSGi service identifier.static ExportImportLocalServicestatic voidimportLayouts(ExportImportConfiguration exportImportConfiguration, File file) static voidimportLayouts(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) static voidimportLayoutsDataDeletions(ExportImportConfiguration exportImportConfiguration, File file) static longimportLayoutSetPrototypeInBackground(long userId, ExportImportConfiguration exportImportConfiguration, File file) static longimportLayoutsInBackground(long userId, long exportImportConfigurationId, File file) static longimportLayoutsInBackground(long userId, long exportImportConfigurationId, InputStream inputStream) static longimportLayoutsInBackground(long userId, ExportImportConfiguration exportImportConfiguration, File file) static longimportLayoutsInBackground(long userId, ExportImportConfiguration exportImportConfiguration, InputStream inputStream) static voidimportPortletDataDeletions(ExportImportConfiguration exportImportConfiguration, File file) static voidimportPortletInfo(ExportImportConfiguration exportImportConfiguration, File file) static voidimportPortletInfo(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) static longimportPortletInfoInBackground(long userId, long exportImportConfigurationId, File file) static longimportPortletInfoInBackground(long userId, long exportImportConfigurationId, InputStream inputStream) static longimportPortletInfoInBackground(long userId, ExportImportConfiguration exportImportConfiguration, File file) static longimportPortletInfoInBackground(long userId, ExportImportConfiguration exportImportConfiguration, InputStream inputStream) static longmergeLayoutSetPrototypeInBackground(long userId, long groupId, ExportImportConfiguration exportImportConfiguration) static voidsetService(ExportImportLocalService 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
-
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
-