Package wt.associativity
Class StandardBomService
java.lang.Object
wt.services.StandardManager
wt.associativity.StandardBomService
- All Implemented Interfaces:
Serializable,BomService,wt.fc._NetFactor,NetFactor,wt.services.Manager
@Deprecated
public class StandardBomService
extends StandardManager
implements BomService, Serializable
Deprecated.
Use the newStandardBomService static factory method(s), not
the StandardBomService constructor, to construct instances of
this class. Instances must be constructed using the static factory(s), in
order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateEquivalenceLinks(WTPart[] downstreamParts, WTPart[] upstreamParts) Deprecated.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.findDownstreamEquivalent(Iterated iterated) Deprecated.find the downstream iterated that is equivalent to the given upstream iterated
Supported API: truefindOutOfDateEquivalence(ObjectReference source, NCServerHolder otherSideCriteria, ViewReference[] sourceViewReferences, ViewReference[] otherSideViewReferences, boolean getDownstream, TypeFilter allowedTypesOnOtherSide) Deprecated.As of 13.0.1.0, useBomService.getFilteredEquivalenceLinks(Set, EquivalenceParams)findUpstreamEquivalent(Iterated iterated) Deprecated.find the upstream iterated that is equivalent to the given downstream iterated
Supported API: truefindUpstreamFromDownstream(PathOccurrence consumes) Deprecated.retreive the upstream paths consumed by this downstream path.getFilteredEquivalenceLinks(Set<Associative> items, EquivalenceParams params) Deprecated.This gets all the filtered upstream/downstream equivalent links for given input in given upstream and downstream contexts.getFilteredEquivalenceLinks(Set<Associative> items, NavigationCriteria upnc, NavigationCriteria downnc, boolean getDownstream, TypeFilter allowedTypes) Deprecated.This gets all the filtered upstream/downstream equivalent links for given input in given upstream and downstream contexts.getFilteredEquivalentParts(Set<Associative> items, NavigationCriteria upnc, NavigationCriteria downnc, boolean getDownstream) Deprecated.Get other side equivalent part matching the given upstream downstream context and other side config spec.getPartsFromPart(WTPart part, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.returns the QueryResult of WTPart used by a given WTPart and filtered on specified NCServerHolder.getPartsMapFromPart(WTPart part, NCServerHolder nc_server_holder, FilteredStatus filter_status, boolean bReturn_filtered) Deprecated.returns the Map of WTPart used by a given WTPart and filtered on specified NCServerHolder and collector filter status.voidDeprecated.Register events with the passed ManagerService.Methods inherited from class wt.services.StandardManager
getManagerService, getManagerStatus, getName, getStartupType, initialize, performShutdownProcess
-
Method Details
-
getPartsFromPart
public QueryResult getPartsFromPart(WTPart part, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException Deprecated.returns the QueryResult of WTPart used by a given WTPart and filtered on specified NCServerHolder.
Supported API: true- Specified by:
getPartsFromPartin interfaceBomService- Parameters:
part-nc_server_holder-only_return_other_side-- Returns:
- Throws:
WTException
-
getPartsMapFromPart
public Map<CSCollectedFromObj,Persistable> getPartsMapFromPart(WTPart part, NCServerHolder nc_server_holder, FilteredStatus filter_status, boolean bReturn_filtered) throws WTException Deprecated.returns the Map of WTPart used by a given WTPart and filtered on specified NCServerHolder and collector filter status.
Supported API: true- Specified by:
getPartsMapFromPartin interfaceBomService- Parameters:
part-nc_server_holder-filter_status-bReturn_filtered-- Returns:
- Throws:
WTException
-
findOutOfDateEquivalence
@Deprecated public WTCollection findOutOfDateEquivalence(ObjectReference source, NCServerHolder otherSideCriteria, ViewReference[] sourceViewReferences, ViewReference[] otherSideViewReferences, boolean getDownstream, TypeFilter allowedTypesOnOtherSide) throws WTException Deprecated.As of 13.0.1.0, useBomService.getFilteredEquivalenceLinks(Set, EquivalenceParams)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- Specified by:
findOutOfDateEquivalencein interfaceBomService- Parameters:
source-otherSideCriteria-sourceViewReferences-otherSideViewReferences-getDownstream-- Returns:
- Throws:
WTException
-
findDownstreamEquivalent
Deprecated.find the downstream iterated that is equivalent to the given upstream iterated
Supported API: true- Specified by:
findDownstreamEquivalentin interfaceBomService- Parameters:
iterated-- Returns:
- QueryResult
- Throws:
WTException
-
findUpstreamEquivalent
Deprecated.find the upstream iterated that is equivalent to the given downstream iterated
Supported API: true- Specified by:
findUpstreamEquivalentin interfaceBomService- Parameters:
iterated-- Returns:
- QueryResult
- Throws:
WTException
-
findUpstreamFromDownstream
Deprecated.retreive the upstream paths consumed by this downstream path. The result is a collection of PathOccurrence
Supported API: true- Specified by:
findUpstreamFromDownstreamin interfaceBomService- Parameters:
consumes- the downstream path- Returns:
- WTCollection
- Throws:
WTException
-
getFilteredEquivalenceLinks
public Map<Associative,Collection<EquivalenceLink>> getFilteredEquivalenceLinks(Set<Associative> items, EquivalenceParams params) throws WTException Deprecated.This gets all the filtered upstream/downstream equivalent links for given input in given upstream and downstream contexts. This considers Out of date criteria and hence the resulting map will be against the input items, but EquivalenceLink in the result may not be pointing to the input items, typically for upstream use cases where they are out of date.
Supported API: true- Specified by:
getFilteredEquivalenceLinksin interfaceBomService- Parameters:
items- - the downstream iterations for which to find the linksparams- - EquivalenceParams- Returns:
- - Collection of Equivalence Links, never null.
- Throws:
WTException
-
registerEvents
Deprecated.Register events with the passed ManagerService.
Supported API: true- Specified by:
registerEventsin interfacewt.services.Manager- Overrides:
registerEventsin classStandardManager- Parameters:
managerService- the ManagerService with which to register events.
-
createEquivalenceLinks
public void createEquivalenceLinks(WTPart[] downstreamParts, WTPart[] upstreamParts) throws WTException, WTPropertyVetoException Deprecated.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- Specified by:
createEquivalenceLinksin interfaceBomService- Parameters:
downstreamParts- : Array of Downstream PartsupstreamParts- : Array of Upstream Parts- Throws:
WTExceptionWTPropertyVetoException
-
BomServiceusing {@link AssociativityServiceLocator#getInstance()#getBomService()}