Class AbstractAssembleUnderDiscrepancyResolver
java.lang.Object
com.ptc.windchill.associativity.reconciliation.AbstractDiscrepancyProcessor
com.ptc.windchill.associativity.reconciliation.resolver.AbstractDiscrepancyResolver
com.ptc.windchill.associativity.reconciliation.resolver.AbstractAddUsageResolver
com.ptc.windchill.associativity.reconciliation.resolver.AbstractAssembleUnderDiscrepancyResolver
The base class to define the template for Adding a new usage during first time creation or sync incremental changes.
This is not singleton, but you call
Supported API: true
Extendable: true
resolve(ReconciliationContext, Collection), it creates a new instance
and then uses that. This is done since its a delegate pattern and maybe cached via factory, hence this always creates
a new instance Supported API: true
Extendable: true
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ptc.windchill.associativity.reconciliation.resolver.AbstractAddUsageResolver
AbstractAddUsageResolver.TransformationReportNested classes/interfaces inherited from class com.ptc.windchill.associativity.reconciliation.AbstractDiscrepancyProcessor
AbstractDiscrepancyProcessor.ConsumptionData -
Field Summary
Fields inherited from class com.ptc.windchill.associativity.reconciliation.resolver.AbstractAddUsageResolver
ADDUSAGE_DONT_TRAVERSE_STRUCTURE, VIEW_OP_IDFields inherited from class com.ptc.windchill.associativity.reconciliation.resolver.AbstractDiscrepancyResolver
ASSOC_DELEGATE_FACTORY, ASSOCIATIVITY_SERVICE_LOCATOR, PERSISTABLE_PROVIDERFields 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 TypeMethodDescriptionprotected abstract AbstractAssembleUnderDiscrepancygetDiscrepancyInstance(AbstractAssembleUnderDiscrepancy discrepancy) Supported API: trueprotected abstract AbstractAssembleUnderDiscrepancyResolvernewInstance(ReconciliationContext context) This is needed since this resolver is not a singleton and it creates a new instance of self and executes everything on this instance for performance to be able to cache data.Methods inherited from class com.ptc.windchill.associativity.reconciliation.resolver.AbstractAddUsageResolver
areValuesEqual, buildAssembleDiscrepancies, doPopulateDefaultParams, doTransform, doTransformation, filterChildPaths, filterPathsByView, filterTargetParentPaths, filterValidForFurtherProcessing, filterValidForTransformation, forceCreateDownstream, getAssembleChildPaths, getAssembleDelegate, getChildrenPaths, getConfig, getConfigCache, getConsumptionStatusMap, getCopyOverContext, getDiscrepancyInstance, getDownstreamTransformedPaths, getDownstreamViewForTransformation, getTargetEquivalentPaths, getTransformationParam, handleAssemble, handleExisting, handleExtendEquivalence, handleHandoverPlant, handleNewBranch, handleNewPart, handleSame, handleTransformationOption, initialize, initializeTransformationParam, isValidForFurtherProcessing, isValidInstanceForTransformation, isValidInstanceForTransformation, isValidTypeForTransformation, populateAssemblePartDescriptor, populateDefaultTransformationParam, updateParamForStructureOptionMethods inherited from class com.ptc.windchill.associativity.reconciliation.resolver.AbstractDiscrepancyResolver
copyOverAttributes, createAndInsertPart, createEqLinks, createEquivalenceLinks, createNewInstance, getAttributesCopyOverDelegate, getCopyOverContext, getView, getViewReferenceMethods 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, 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, updateAssociativePath
-
Method Details
-
newInstance
protected abstract AbstractAssembleUnderDiscrepancyResolver newInstance(ReconciliationContext context) This is needed since this resolver is not a singleton and it creates a new instance of self and executes everything on this instance for performance to be able to cache data. If your extending class has member variables, you need to override this and provide us with correct instance, so that you can use your inner variables in the flow. Supported API: true- Overrides:
newInstancein classAbstractAddUsageResolver- Parameters:
context-- Returns:
-
getDiscrepancyInstance
protected abstract AbstractAssembleUnderDiscrepancy getDiscrepancyInstance(AbstractAssembleUnderDiscrepancy discrepancy) Supported API: true- Parameters:
discrepancy-- Returns:
-