Package wt.part
Interface PartDocService
- All Known Implementing Classes:
StandardPartDocService
This interface provides APIs that allow creating, deleting or fetching part to document associations. See the API
documentation for more information.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionTakes in a collection of WTParts and returns a Map, where the keyset is a collection of the parts passed into the method.
-
Method Details
-
getAssociatedReferenceDocuments
Takes in a collection of WTParts and returns a Map, where the keyset is a collection of the parts passed into the method. The values in the Map are WTCollections that contain the associated DocumentVersion (reference document) objects. If a part that is passed in does not have any associated reference documents, it will not be in the returned Map.
Supported API: true- Parameters:
parts- - A WTCollection of input parts for which to fetch the associated reference documents.- Returns:
- WTKeyedMap - Each key in this Map will be a part that figures in the input collection; each value will be a WTCollection of reference documents associated to the given part.
- Throws:
WTException
-