Class AbstractAssembleUnderDelegate
java.lang.Object
com.ptc.windchill.associativity.reconciliation.AbstractDiscrepancyProcessor
com.ptc.windchill.associativity.reconciliation.AbstractDiscrepancyDelegate
com.ptc.windchill.associativity.reconciliation.part.AbstractAssembleUnderDelegate
- All Implemented Interfaces:
DiscrepancyDelegate
Abstract delegate to define basic flow for Resolver And Detection Phase of Discrepancy
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ptc.windchill.associativity.reconciliation.AbstractDiscrepancyProcessor
AbstractDiscrepancyProcessor.ConsumptionDataNested classes/interfaces inherited from interface com.ptc.windchill.associativity.reconciliation.DiscrepancyDelegate
DiscrepancyDelegate.CompareMode -
Field Summary
Fields inherited from class com.ptc.windchill.associativity.reconciliation.AbstractDiscrepancyDelegate
ITERATED_CHILD, RESOLVED_PATH_ROOTFields inherited from class com.ptc.windchill.associativity.reconciliation.AbstractDiscrepancyProcessor
BASE_SERVICE_LOCATOR, containerRef, DISCREPANCY_RESOURCE, EMPTY_STRING, EQUIVALENCE_CACHE, EQUIVALENTPART_CACHE, FIRST_LEVEL_EQUIVALENCE_PATHS, MAPSB_PARAM_COPY_OVER_CONTEXT, OCCURRENCE_PATH_CACHE, OTHERSIDE_OCC_PATH_CACHE, OTHERSIDE_USAGE_PATH_CACHE, RESOURCE, UPSTREAM_OCCURRENCE_CACHE -
Method Summary
Modifier and TypeMethodDescriptionfromJSON(ReconciliationContext context, String discrepancyData)
Supported API: trueabstract AbstractDiscrepancy2Supported API: truetoJSON(ReconciliationContext context, Discrepancy2 discrepancy) Builds the default json for the discrepancy.Methods inherited from class com.ptc.windchill.associativity.reconciliation.AbstractDiscrepancyDelegate
detect, getCurrentStringValue, getCurrentValueFromJSON, getDiscrepancyTarget, getDiscrepancyTypeDisplayName, getDiscrepantPath, getDiscrepantPathRoot, getFilteredIteration, getPathFromJSON, getPathFromJSON, getPreviousStringValue, getPreviousValueFromJSON, getResolvedPathRoot, getTargetPathRoot, getUpstreamImpactedObject, isOccurrenceBasedMethods inherited from class com.ptc.windchill.associativity.reconciliation.AbstractDiscrepancyProcessor
areEqual, checkoutAndHandleReplacements, createUsageLinkAndGetAssociativePath, doConsumptionAnalysis, fetchAndCacheDownstreamEquivalenceLinks, fetchEquivalenceLinks, fetchEquivalentParts, filterConsumedPaths, filterDownEquivalents, getAllOccurrences, getAllSplitDownEquivalentContextMasters, getAssembleToOrderDAO, getAssociativeDAO, getBomService, getChildrenInfo, getClassificationAttributeDAO, getCopyOverContext, getCopyOverDelegateFactory, getCurrentToOldChangeItems, getDescriptorFactory, getDiscrepancyDelegate, getDiscrepantConsumedOccPaths, getDiscrepantConsumedUsagePaths, getDiscrepantConsumedUsagePaths, getDownConsumedPath, getDownstreamEquivalentContextMasters, getEffectivityDAO, getEquivalenceDAO, getEquivalenceManager, getExpressionService, getFactory, getFilteredDownstreamEquivalent, getFilteredDownstreamEquivalents, getFirstLevelEquivalentPaths, getIteratedDAO, getLocalizedMessage, getLocalizer, getNavCriteriaDAO, getOccurrenceManager, getParentAssociative, getPartDAO, getPartPathManager, getPathManager, getPersistableDAO, getPropertiesParser, getResolutionOption, getUpdateQuantityService, getUsagePathLinkManager, hasEquivalenceAnnotation, isAlternateDiscpreancy, isCheckedOutToAnotherUser, isProcessed, isSamePath, populateEquivalenceConsumptionData, populateImpactedUsageConsumptionData, populateOccurrenceConsumptionData, populateTypeInstances, populateUsageConsumptionData, setDownstreamEquivalentAssociativesToContext, updateAssociativePathMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.ptc.windchill.associativity.reconciliation.DiscrepancyDelegate
detect, getCompareMode, resolve, verify
-
Method Details
-
getDiscrepancyInstance
public abstract AbstractDiscrepancy2 getDiscrepancyInstance(ReconciliationContext context) throws WTException Supported API: true- Specified by:
getDiscrepancyInstancein classAbstractDiscrepancyDelegate- Returns:
- - bare minimum instance of the discrepancy
- Throws:
WTException
-
toJSON
Builds the default json for the discrepancy.
Supported API: true- Specified by:
toJSONin interfaceDiscrepancyDelegate- Overrides:
toJSONin classAbstractDiscrepancyDelegate- Parameters:
context- - common datadiscrepancy- - theDiscrepancy2to convert to a JSON string- Returns:
- -
Discrepancy2consistent with JSON. - Throws:
WTException
-
fromJSON
public Discrepancy2 fromJSON(ReconciliationContext context, String discrepancyData) throws WTException
Supported API: true- Specified by:
fromJSONin interfaceDiscrepancyDelegate- Overrides:
fromJSONin classAbstractDiscrepancyDelegate- Parameters:
context- - common datadiscrepancyData- - the JSON string to convert back toDiscrepancy2instance- Returns:
- -
Discrepancy2consistent with JSON. - Throws:
WTException
-