@ProviderType
public class ExportImportServiceUtil
extends Object
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.ExportImportService,
ExportImportServiceBaseImpl,
ExportImportServiceImpl| Constructor and Description |
|---|
ExportImportServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static File |
exportLayoutsAsFile(ExportImportConfiguration exportImportConfiguration) |
static File |
exportLayoutsAsFile(long userId,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap)
Deprecated.
As of Judson (7.1.x)
|
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 void |
importLayouts(long userId,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
File file)
Deprecated.
As of Judson (7.1.x)
|
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) |
public static File exportLayoutsAsFile(ExportImportConfiguration exportImportConfiguration) throws PortalException
PortalException@Deprecated
public static File exportLayoutsAsFile(long userId,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap)
throws PortalException
PortalExceptionpublic static long exportLayoutsAsFileInBackground(ExportImportConfiguration exportImportConfiguration) throws PortalException
PortalExceptionpublic static long exportLayoutsAsFileInBackground(long exportImportConfigurationId)
throws PortalException
PortalExceptionpublic static File exportPortletInfoAsFile(ExportImportConfiguration exportImportConfiguration) throws PortalException
PortalExceptionpublic static long exportPortletInfoAsFileInBackground(ExportImportConfiguration exportImportConfiguration) throws PortalException
PortalExceptionpublic static String getOSGiServiceIdentifier()
public static void importLayouts(ExportImportConfiguration exportImportConfiguration, File file) throws PortalException
PortalExceptionpublic static void importLayouts(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws PortalException
PortalException@Deprecated
public static void importLayouts(long userId,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
File file)
throws PortalException
PortalExceptionpublic static long importLayoutsInBackground(ExportImportConfiguration exportImportConfiguration, File file) throws PortalException
PortalExceptionpublic static long importLayoutsInBackground(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws PortalException
PortalExceptionpublic static void importPortletInfo(ExportImportConfiguration exportImportConfiguration, File file) throws PortalException
PortalExceptionpublic static void importPortletInfo(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws PortalException
PortalExceptionpublic static long importPortletInfoInBackground(ExportImportConfiguration exportImportConfiguration, File file) throws PortalException
PortalExceptionpublic static long importPortletInfoInBackground(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws PortalException
PortalExceptionpublic static MissingReferences validateImportLayoutsFile(ExportImportConfiguration exportImportConfiguration, File file) throws PortalException
PortalExceptionpublic static MissingReferences validateImportLayoutsFile(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws PortalException
PortalExceptionpublic static MissingReferences validateImportPortletInfo(ExportImportConfiguration exportImportConfiguration, File file) throws PortalException
PortalExceptionpublic static MissingReferences validateImportPortletInfo(ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws PortalException
PortalExceptionpublic static ExportImportService getService()