com.liferay.portlet.exportimport.service
Class ExportImportServiceUtil
java.lang.Object
com.liferay.portlet.exportimport.service.ExportImportServiceUtil
@ProviderType
public class ExportImportServiceUtil
- extends Object
Provides the remote service utility for ExportImport. This utility wraps
com.liferay.portlet.exportimport.service.impl.ExportImportServiceImpl and is the
primary 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.
- See Also:
ExportImportService,
com.liferay.portlet.exportimport.service.base.ExportImportServiceBaseImpl,
com.liferay.portlet.exportimport.service.impl.ExportImportServiceImpl
|
Method Summary |
static File |
exportLayoutsAsFile(ExportImportConfiguration exportImportConfiguration)
|
static long |
exportLayoutsAsFileInBackground(ExportImportConfiguration exportImportConfiguration)
|
static long |
exportLayoutsAsFileInBackground(long exportImportConfigurationId)
|
static File |
exportPortletInfoAsFile(ExportImportConfiguration exportImportConfiguration)
|
static long |
exportPortletInfoAsFileInBackground(ExportImportConfiguration exportImportConfiguration)
|
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
static ExportImportService |
getService()
|
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 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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExportImportServiceUtil
public ExportImportServiceUtil()
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
public static String 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
public static ExportImportService getService()