Class AssociateHelper

java.lang.Object
com.ptc.windchill.uwgm.proesrv.util.AssociateHelper

public class AssociateHelper extends Object
AssociateHelper is a helper class which provides APIs dealing with association between document and part.

Supported API: true

Extendable: false
  • Method Details

    • moveAssociations

      public static void moveAssociations(Collection<Association> instructions) throws WTException
      This API can be used for moving the association of a particular WTPart from one version of the related EPMDocument to a different version of the same EPMDocument. The input Association instructions should be prepared such that the moveSource and doc (move target) are two different versions of the same EPMDocumentMaster otherwise an exception would be thrown. An input instruction would be skipped if either part, target document or source document is missing. This API will also throw an exception if the existing association cannot be traced.

      Supported API: true
      Parameters:
      instructions - a collection of Association instructions required for move operation.
      Throws:
      WTException