Class PortletIxHelper.ImportBinder

java.lang.Object
com.appiancorp.suiteapi.ix.data.portlet.PortletIxHelper.ImportBinder
Enclosing class:
PortletIxHelper

public static class PortletIxHelper.ImportBinder extends Object
Allows mapping UUIDs to local ids.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ImportBinder(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 Type
    Method
    Description
    <I, U> I
    getIdFromUuid(Long datatypeId, U uuid)
    Returns the local id corresponding to the given UUID.
    com.appiancorp.ix.binding.ImportBindingMap
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ImportBinder

      @Deprecated public ImportBinder(com.appiancorp.ix.binding.ImportBindingMap ibm)
      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

      public <I, U> I getIdFromUuid(Long datatypeId, U uuid) throws AppianException
      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 from TypedValue.getInstanceType() or DatatypeProperties.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.