Class ReconciliationFactory
java.lang.Object
com.ptc.windchill.associativity.reconciliation.ReconciliationFactory
The factory to fetch the delegates for reconciliation, discrepancies and criteria etc. This caches the information to
not query the xconf files each time, which mean restart is needed if configurations are changed
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptiongetAddResolver(Class requestor, String selector) Get the configured resolver for theDiscrepancyType.ADDUSAGE, if none configured, we return defaultAddedUsageDiscrepancyResolverSupported API: true
Get all theDiscrepancyTypewhich have a configured delegate against them in the xconf.getCriteria(String type, String criteriaTypeInput) Get the default criteria.getDelegate(DiscrepancyType type) getReconciliationDelegate(Class requestor) Get the delegate for overall reconciliation flow.
-
Method Details
-
getReconciliationDelegate
Get the delegate for overall reconciliation flow. If no configured delegate found or there is error retriving it, we return defaultDefaultReconciliationDelegateSupported API: true
- Parameters:
requestor- - the class name, typically WTPart- Returns:
- - the configured or default delegate
-
getAddResolver
Get the configured resolver for theDiscrepancyType.ADDUSAGE, if none configured, we return defaultAddedUsageDiscrepancyResolverSupported API: true
- Parameters:
requestor- - the class name, typically WTPart- Returns:
- - the configured or default resolver
- Throws:
WTException
-
getDelegate
- Parameters:
type- - the discrepancy type for which we need the delegate- Returns:
- - the configured or default resolver
-
getCriteria
- Parameters:
type- - the criteria type for which we need the implementationcriteriaTypeInput- - this is optional and needed for some criteria types likeBaselineCriteriato tell the baseline number to be used- Returns:
- - the configured or default criteria
-
getDefaultCriteria
Get the default criteria. If no default defined, it returnsOutOfDateCriteriaSupported API: true
- Returns:
- - the default criteria
-
getAllConfiguredTypes
Get all theDiscrepancyTypewhich have a configured delegate against them in the xconf. Supported API: true
- Returns:
- - all the discrepancy types which have a delegate configured.
-