Interface ExportImportConfigurationSettingsMapFactory
@ProviderType
public interface ExportImportConfigurationSettingsMapFactory
Provides a way to build a settings map for an
ExportImportConfiguration
, which can
be used to start and control an export, import, or staging process.- Since:
- 7.0
- Author:
- Daniel Kocsis, Akos Thurzo
-
Method Summary
Modifier and TypeMethodDescriptionbuildExportLayoutSettingsMap
(long userId, long groupId, boolean privateLayout, long[] layoutIds, Map<String, String[]> parameterMap, Locale locale, TimeZone timeZone) buildExportLayoutSettingsMap
(User user, long groupId, boolean privateLayout, long[] layoutIds, Map<String, String[]> parameterMap) buildExportPortletSettingsMap
(long userId, long sourcePlid, long sourceGroupId, String portletId, Map<String, String[]> parameterMap, Locale locale, TimeZone timeZone, String fileName) buildExportPortletSettingsMap
(User user, long sourcePlid, long sourceGroupId, String portletId, Map<String, String[]> parameterMap, String fileName) buildImportLayoutSettingsMap
(long userId, long targetGroupId, boolean privateLayout, long[] layoutIds, Map<String, String[]> parameterMap, Locale locale, TimeZone timeZone) buildImportLayoutSettingsMap
(User user, long targetGroupId, boolean privateLayout, long[] layoutIds, Map<String, String[]> parameterMap) buildImportPortletSettingsMap
(long userId, long targetPlid, long targetGroupId, String portletId, Map<String, String[]> parameterMap, Locale locale, TimeZone timeZone) buildImportPortletSettingsMap
(User user, long targetPlid, long targetGroupId, String portletId, Map<String, String[]> parameterMap) buildPublishLayoutLocalSettingsMap
(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, long[] layoutIds, Map<String, String[]> parameterMap, Locale locale, TimeZone timeZone) buildPublishLayoutLocalSettingsMap
(User user, long sourceGroupId, long targetGroupId, boolean privateLayout, long[] layoutIds, Map<String, String[]> parameterMap) buildPublishLayoutRemoteSettingsMap
(long userId, long sourceGroupId, boolean privateLayout, Map<Long, Boolean> layoutIdMap, Map<String, String[]> parameterMap, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, boolean remotePrivateLayout, Locale locale, TimeZone timeZone) buildPublishLayoutRemoteSettingsMap
(User user, long sourceGroupId, boolean privateLayout, Map<Long, Boolean> layoutIdMap, Map<String, String[]> parameterMap, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, boolean remotePrivateLayout) buildPublishPortletSettingsMap
(long userId, long sourceGroupId, long sourcePlid, long targetGroupId, long targetPlid, String portletId, Map<String, String[]> parameterMap, Locale locale, TimeZone timeZone) buildPublishPortletSettingsMap
(User user, long sourceGroupId, long sourcePlid, long targetGroupId, long targetPlid, String portletId, Map<String, String[]> parameterMap) buildSettingsMap
(PortletRequest portletRequest, long groupId, int type) Returns an export layout settings map if the type isExportImportConfigurationConstants.TYPE_EXPORT_LAYOUT
; otherwise, returns either a local or remote publish layout settings map, depending on the staging type.
-
Method Details
-
buildExportLayoutSettingsMap
-
buildExportLayoutSettingsMap
-
buildExportPortletSettingsMap
-
buildExportPortletSettingsMap
-
buildImportLayoutSettingsMap
-
buildImportLayoutSettingsMap
-
buildImportPortletSettingsMap
-
buildImportPortletSettingsMap
-
buildPublishLayoutLocalSettingsMap
-
buildPublishLayoutLocalSettingsMap
-
buildPublishLayoutRemoteSettingsMap
Map<String,Serializable> buildPublishLayoutRemoteSettingsMap(long userId, long sourceGroupId, boolean privateLayout, Map<Long, Boolean> layoutIdMap, Map<String, String[]> parameterMap, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, boolean remotePrivateLayout, Locale locale, TimeZone timeZone) -
buildPublishLayoutRemoteSettingsMap
Map<String,Serializable> buildPublishLayoutRemoteSettingsMap(User user, long sourceGroupId, boolean privateLayout, Map<Long, Boolean> layoutIdMap, Map<String, String[]> parameterMap, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, boolean remotePrivateLayout) -
buildPublishPortletSettingsMap
-
buildPublishPortletSettingsMap
-
buildSettingsMap
Map<String,Serializable> buildSettingsMap(PortletRequest portletRequest, long groupId, int type) throws PortalException Returns an export layout settings map if the type isExportImportConfigurationConstants.TYPE_EXPORT_LAYOUT
; otherwise, returns either a local or remote publish layout settings map, depending on the staging type.- Parameters:
portletRequest
- the portlet requestgroupId
- the primary key of the grouptype
- the export/import option type- Returns:
- an export layout settings map if the type is an export layout; otherwise, returns either a local or remote publish layout settings map, depending on the staging type
- Throws:
PortalException
-