Class StandardNodeResolutionService

java.lang.Object
wt.services.StandardManager
com.ptc.arbortext.windchill.siscore.services.StandardNodeResolutionService
All Implemented Interfaces:
NodeResolutionService, Serializable, wt.fc._NetFactor, NetFactor, wt.services.Manager

public class StandardNodeResolutionService extends StandardManager implements NodeResolutionService
The OOTB node resolution service which resolves which structure nodes should be copied, reused or removed during a structure generation/regeneration.

Supported API: true

Extendable: true
See Also:
  • Method Details

    • getGeneratedPartList

      protected Persistable getGeneratedPartList(Persistable pListHolder) throws WTException
      Attempts to determine if a PartList has been resolved by the parts list service, returns either the new partlist holder if one was created i.e. a generic list was resolved to true parts, or the same partlist holder where the partlist hasn't changed so is reused
      Parameters:
      pListHolder - the Part list (holder) to find the resolved part list for
      Returns:
      A part list holder if resolved else null.
      Throws:
      WTException -

      Supported API: true
    • findPreviousGeneratedTargetNode

      protected NavigationUnit findPreviousGeneratedTargetNode(NavigationUnit sourceUnit)
      Attempts to retrieve a previously generated element and it's parent for the given source node, N.B for IEs this will be a navigation unit containing itself since it would have been reused on any previous generation. Null indicates that the node wasn't previously generated.
      Parameters:
      sourceUnit - The source element to find the target node for.
      Returns:
      The target navigation unit containing the previously gnerated element (or itself if an IE) as the end node

      Supported API: true
    • getChildren

      protected NavigationUnit[] getChildren(Persistable parent, boolean sourceNodes) throws WTException
      Retrieves an Array of Navigation units representing the relationship between the parent and child nodes
      Parameters:
      parent - the node to find the children for.
      sourceNodesflag - indicating if the children are being retrieved from the source structure (true) or the target structure (false).
      Returns:
      the NavigationUnits containing the children.

      Supported API: true
      Throws:
      WTException
    • getParents

      protected NavigationUnit[] getParents(Persistable child, boolean sourceNodes) throws WTException
      Retrieves an Array of Navigation units for the nodes parent/s
      Parameters:
      child - the child node to find the parents of.
      sourceNodesflag - indicating if the children are being retrieved from the source structure (true) or the target structure (false).
      Returns:
      the NavigationUnits containing the parents.

      Supported API: true
      Throws:
      WTException