Class PortletIxHelper.ImportBinder
java.lang.Object
com.appiancorp.suiteapi.ix.data.portlet.PortletIxHelper.ImportBinder
- Enclosing class:
- PortletIxHelper
Allows mapping UUIDs to local ids.
-
Constructor Summary
ConstructorDescriptionImportBinder
(com.appiancorp.ix.binding.ImportBindingMap ibm) Deprecated.This API is being phased out and will be removed in a future release.ImportBinder
(com.appiancorp.ix.binding.ImportBindingMap ibm, Long portletId, String portletUuid) Deprecated.This API is being phased out and will be removed in a future release. -
Method Summary
Modifier and TypeMethodDescription<I,
U> I getIdFromUuid
(Long datatypeId, U uuid) Returns the local id corresponding to the given UUID.com.appiancorp.ix.binding.ImportBindingMap
-
Constructor Details
-
ImportBinder
Deprecated.This API is being phased out and will be removed in a future release. -
ImportBinder
@Deprecated public ImportBinder(com.appiancorp.ix.binding.ImportBindingMap ibm, Long portletId, String portletUuid) Deprecated.This API is being phased out and will be removed in a future release.
-
-
Method Details
-
getIdFromUuid
Returns the local id corresponding to the given UUID. Note: If the UUID references a collab object, the local id returned is a content id, not an old collab id.- Parameters:
datatypeId
- The type of the UUID. This is the id of the type (can be obtained fromTypedValue.getInstanceType()
orDatatypeProperties.getId()
).uuid
- The UUID for which the local id should be returned.- Returns:
- The local id corresponding to the given UUID.
- Throws:
AppianException
-
getImportBindingMap
public com.appiancorp.ix.binding.ImportBindingMap getImportBindingMap()- Returns:
- a map of UUID to local id bindings.
-