Package wt.part

Interface PartDocService

All Known Implementing Classes:
StandardPartDocService

@RemoteInterface public interface PartDocService
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
  • Method Summary

    Modifier and Type
    Method
    Description
    Takes 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

      WTKeyedMap getAssociatedReferenceDocuments(WTCollection parts) throws WTException
      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