Package com.ptc.windchill.esi.esipart
Class ESIPartUtility
java.lang.Object
com.ptc.windchill.esi.esipart.ESIPartUtility
This class is the public interface to the esipart package. It provides generally useful methods for clients external
to the package.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionstatic final Collection<ESIPartMasterIteration>getPartIteration(Collection<? extends WTPartMaster> partMasters, NavigationCriteria navigationCriteria) Returns a collection of ESIPartMasterIteration objects given a collection of part masters.static final ESIPartMasterIterationgetPartIteration(WTPartMaster partMaster, NavigationCriteria navigationCriteria) Returns an ESIPartMasterIteration objects given a part masters.static booleanisIterationInSameViewVariations(ViewManageable newPartIteration, ViewManageable oldPartIteration) Check if the input part iterations are from the same view and have the same values for variation1 (i.e.
-
Method Details
-
isIterationInSameViewVariations
public static boolean isIterationInSameViewVariations(ViewManageable newPartIteration, ViewManageable oldPartIteration) Check if the input part iterations are from the same view and have the same values for variation1 (i.e. BOM Usage) and variation2 (i.e BOM Alternate).
Supported API: true- Parameters:
newPartIteration- - The new iteration of part to be compared.oldPartIteration- - The old iteration of part with which new iteration needs to be compared.- Returns:
- - true, if the input part iterations are from the same view and have the same variation1 and variation2 values; otherwise false.