Class PortletIxHelper.ExportBinder

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

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

    Constructors
    Constructor
    Description
    ExportBinder(com.appiancorp.ix.binding.ExportBindingMap ebm)
    Deprecated.
    This API is being phased out and will be removed in a future release.
    ExportBinder(com.appiancorp.ix.binding.ExportBindingMap ebm, 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
    com.appiancorp.ix.binding.ExportBindingMap
     
    <I, U> U
    getUuidFromId(Long datatypeId, I id)
    Returns the UUID corresponding to the given local id.

    Methods inherited from class java.lang.Object

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

    • ExportBinder

      @Deprecated public ExportBinder(com.appiancorp.ix.binding.ExportBindingMap ebm)
      Deprecated.
      This API is being phased out and will be removed in a future release.
    • ExportBinder

      @Deprecated public ExportBinder(com.appiancorp.ix.binding.ExportBindingMap ebm, Long portletId, String portletUuid)
      Deprecated.
      This API is being phased out and will be removed in a future release.
  • Method Details

    • getUuidFromId

      public <I, U> U getUuidFromId(Long datatypeId, I id) throws AppianException
      Returns the UUID corresponding to the given local id. Note: If the id references a collab object, the id must be a content id, not an old collab id.
      Parameters:
      datatypeId - The type of the local id. This is the id of the type (can be obtained from TypedValue.getInstanceType() or DatatypeProperties.getId()).
      id - The local id for which the UUID should be returned.
      Returns:
      The UUID corresponding to the given local id.
      Throws:
      AppianException
    • getExportBindingMap

      public com.appiancorp.ix.binding.ExportBindingMap getExportBindingMap()
      Returns:
      a map of local id to UUID bindings.