Class DynamicNmContextRefreshInfo

java.lang.Object
com.ptc.core.components.forms.DynamicRefreshInfo
com.ptc.core.components.forms.DynamicNmContextRefreshInfo
All Implemented Interfaces:
Serializable

public class DynamicNmContextRefreshInfo extends DynamicRefreshInfo
Allow NmContexts to be specified for tree updates for cases where a single oid may be repeated in the page.

Supported API: true

Extendable: false
See Also:
  • Constructor Details

    • DynamicNmContextRefreshInfo

      public DynamicNmContextRefreshInfo(NmOid oid, NmOid locationOid, String actionName)
      Used to specify which rows in the table/tree need to be created/updated/deleted. If the oid and parent oid are not enough to uniquely identify the row to create/update/delete (this may happen for trees that have multiple rows with the same oid) then a DynamicNmContextRefreshInfo must be used instead of this class to supply the full context.


      For detailed description check: DynamicRefreshInfo(NmOid oid, NmOid locationOid, Action action)

      Supported API: true

      Parameters:
      oid - - the oid that was just created/updated/deleted. (the new oid in the case of update)
      locationOid - - the oid of the parent location where the object was just created/deleted in a tree, or the oid of the original in the case of update, or just null otherwise
      actionName - - an action name DynamicRefreshInfo.Action
  • Method Details

    • setLocationPath

      public void setLocationPath(String locationPath)
      Sets node path in tree

      Supported API: true
      Parameters:
      locationPath - the node path