public final class DefaultPortletIxHelper extends PortletIxHelper
PortletIxHelper.ExportBinder, PortletIxHelper.ImportBinder, PortletIxHelper.ResourceExporter, PortletIxHelper.ResourceImporter
Constructor and Description |
---|
DefaultPortletIxHelper() |
Modifier and Type | Method and Description |
---|---|
void |
replaceIdsWithUuids(java.util.Map<java.lang.String,java.lang.Object> portletParamsMap,
PortletIxHelper.ExportBinder b)
Replaces all local ids within the portlet parameters with UUIDs.
|
void |
replaceUuidsWithIds(java.util.Map<java.lang.String,java.lang.Object> portletParamsMap,
PortletIxHelper.ImportBinder b)
Replaces all UUIDs within the portlet parameters with local ids.
|
addDiagnosticMessage, exportExtraData, exportResources, getInstance, getInstance, getServiceContext, getTypedId, importExtraDataAndResources
public void replaceIdsWithUuids(java.util.Map<java.lang.String,java.lang.Object> portletParamsMap, PortletIxHelper.ExportBinder b) throws AppianException
PortletIxHelper
PortletIxHelper.ExportBinder
.replaceIdsWithUuids
in class PortletIxHelper
portletParamsMap
- The map of portlet parameters (see Portlet.getParameters()
).b
- API for mapping local ids to uuids.AppianException
- If the export of this portlet should be failed (the export driver
will automatically handle the exception: it will add the portlet to the failed list and
proceed with the export of other objects).public void replaceUuidsWithIds(java.util.Map<java.lang.String,java.lang.Object> portletParamsMap, PortletIxHelper.ImportBinder b) throws AppianException
PortletIxHelper
PortletIxHelper.replaceIdsWithUuids(Map, ExportBinder)
. The local id
corresponding to each UUID should be retrieved using the provided PortletIxHelper.ImportBinder
.replaceUuidsWithIds
in class PortletIxHelper
portletParamsMap
- The map of portlet parameters (see Portlet.getParameters()
).b
- API for mapping uuids to local ids.AppianException
- If the import of this portlet should be failed (the import driver
will automatically handle the exception: it will add the portlet to the failed list and
proceed with the import of other objects).Copyright © 2003-2024 Appian Corporation. All Rights Reserved.