Class AssociateHelper
java.lang.Object
com.ptc.windchill.uwgm.proesrv.util.AssociateHelper
AssociateHelper is a helper class which provides APIs dealing with association
between document and part.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidmoveAssociations(Collection<Association> instructions) 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.
-
Method Details
-
moveAssociations
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
-