Interface BomService

All Known Implementing Classes:
StandardBomService

@RemoteInterface public interface BomService
Service for upstreamd and downstream Bom related use cases

Supported API: true

Extendable: false
  • Method Details

    • getPartsFromPart

      QueryResult getPartsFromPart(WTPart part, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException


      Supported API: true
      Throws:
      WTException
    • getPartsMapFromPart

      Map<CSCollectedFromObj,Persistable> getPartsMapFromPart(WTPart part, NCServerHolder nc_server_holder, FilteredStatus filter_status, boolean bReturn_filtered) throws WTException


      Supported API: true
      Throws:
      WTException
    • findOutOfDateEquivalence

      @Deprecated WTCollection findOutOfDateEquivalence(ObjectReference source, NCServerHolder otherSideCriteria, ViewReference[] sourceViewReferences, ViewReference[] otherSideViewReferences, boolean getDownstream, TypeFilter allowedTypesOnOtherSide) throws WTException
      Use API to find only out of date downstream equivalent parts. It returns latest of all the out of date parts from current iteration if any else from previous iteration.

      Supported API: true
      Parameters:
      source -
      otherSideCriteria -
      sourceViewReferences -
      otherSideViewReferences -
      getDownstream -
      Returns:
      Throws:
      WTException
    • findDownstreamEquivalent

      QueryResult findDownstreamEquivalent(Iterated iterate) throws WTException
      find the downstream iterated that is equivalent to the given upstream iterated

      Supported API: true
      Parameters:
      iterate -
      Returns:
      QueryResult
      Throws:
      WTException
    • findUpstreamEquivalent

      QueryResult findUpstreamEquivalent(Iterated iterated) throws WTException
      find the upstream iterated that is equivalent to the given downstream iterated

      Supported API: true
      Parameters:
      iterated -
      Returns:
      QueryResult
      Throws:
      WTException
    • findUpstreamFromDownstream

      WTCollection findUpstreamFromDownstream(PathOccurrence consumes) throws WTException
      retreive the upstream paths consumed by this downstream path. The result is a collection of PathOccurrence

      Supported API: true
      Parameters:
      consumes - the downstream path
      Returns:
      WTCollection
      Throws:
      WTException
    • createEquivalenceLinks

      void createEquivalenceLinks(WTPart[] downstreamParts, WTPart[] upstreamParts) throws WTException, WTPropertyVetoException
      Creates Equivalence Link between all elements of Upstream Part array and Downstream Part array If an Equivalence Link already exists between the 2 elements, it ignores the creation and proceeds with the next Equivalence Link creation.

      Supported API: true
      Parameters:
      downstreamParts - : Array of Downstream Parts
      upstreamParts - : Array of Upstream Parts
      Throws:
      WTException
      WTPropertyVetoException
    • getFilteredEquivalenceLinks

      Map<Associative,Collection<EquivalenceLink>> getFilteredEquivalenceLinks(Set<Associative> items, NavigationCriteria upnc, NavigationCriteria downnc, boolean getDownstream, TypeFilter allowedTypes) throws WTException


      Supported API: true
      Parameters:
      items -
      upnc -
      downnc -
      getDownstream -
      allowedTypes -
      Returns:
      Throws:
      WTException
    • getFilteredEquivalenceLinks

      <T extends Iterated> Map<T,Collection<EquivalenceLink>> getFilteredEquivalenceLinks(Set<T> items, EquivalenceParams params) throws WTException


      Supported API: true
      Parameters:
      items -
      params -
      Returns:
      Throws:
      WTException
    • getFilteredEquivalentParts

      Map<Associative,Collection<Associative>> getFilteredEquivalentParts(Set<Associative> items, NavigationCriteria upnc, NavigationCriteria downnc, boolean getDownstream) throws WTException
      Get other side equivalent part matching the given upstream downstream context and other side config spec. Its Important to understand that other side equivalent maybe out of date based on config spec. Also for now this API only supports WTParts and not EnterpriseData. findUpstreamFromDownstream

      Supported API: true
      Parameters:
      items - - the parts for which we wish to find other side equivalent parts
      upnc - - the upstream nc. important that is actually upstream nc and service takes care of treating it as current side nc or other side nc.
      downnc - - the downstream nc. important that is actually downstream nc and service takes care of treating it as current side nc or other side nc.
      getDownstream - - tells if we wish to find downstream or upstream equivalent
      Returns:
      - never return null and for each input there will be at least be a empty collection. never null.
      Throws:
      WTException
    • getFilteredEquivalentParts

      Map<Associative,Collection<Associative>> getFilteredEquivalentParts(Set<Associative> items, NavigationCriteria upnc, NavigationCriteria downnc, Long annotation, boolean getDownstream) throws WTException
      Get other side equivalent part matching annotation and the given upstream downstream context and other side config spec. Its Important to understand that other side equivalent maybe out of date based on config spec. Also for now this API only supports WTParts and not EnterpriseData.

      Supported API: true
      Parameters:
      items - - the parts for which we wish to find other side equivalent parts
      upnc - - the upstream nc. important that is actually upstream nc and service takes care of treating it as current side nc or other side nc.
      downnc - - the downstream nc. important that is actually downstream nc and service takes care of treating it as current side nc or other side nc.
      annotation - - tells what is annotation of links
      getDownstream - - tells if we wish to find downstream or upstream equivalent
      Returns:
      - never return null and for each input there will be at least be a empty collection. never null.
      Throws:
      WTException