Class AbstractReconciliationContext
java.lang.Object
com.ptc.windchill.associativity.reconciliation.AbstractReconciliationContext
- Direct Known Subclasses:
ReconciliationContext
The base report class to gather all the information.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdditionalParam(String key, Object value) Provides ability to add additional/custom information as part of the reconciliation flow.getAdditionalParam(String key)
Supported API: truebooleanTells if OOTB service should do auto-checkin of all the parts checked out as part of resolution of discrepancies.booleanTells if OOTB service should do update equivalent for the givenafter all discrepancies are resolved.invalid reference
#getEquivalentContexts()voidsetAllAdditionalParams(Map<String, Object> additionalParams)
Supported API: truevoidsetAutoCheckInEnabled(boolean doAutoCheckin) voidsetUpdateEquivalentEnabled(boolean doUpdateEquivalent)
-
Method Details
-
getAllAdditionalParams
Supported API: true- Returns:
-
setAllAdditionalParams
Supported API: true- Parameters:
additionalParams-
-
addAdditionalParam
Provides ability to add additional/custom information as part of the reconciliation flow. This object is available in almost all the custom methods. Other use case is to put data for an expensive query/computation so that it can be reused across the whole flow.
Supported API: true- Parameters:
key-value-
-
getAdditionalParam
- Returns:
- - can return null if no value was put for the given key before this call.
-
isAutoCheckInEnabled
public boolean isAutoCheckInEnabled()Tells if OOTB service should do auto-checkin of all the parts checked out as part of resolution of discrepancies. Default is false. Usually makes sense for the automatic services to set this to true like Workflow etc which may do the checkout via a more-privileged user.
Supported API: true- Returns:
-
setAutoCheckInEnabled
public void setAutoCheckInEnabled(boolean doAutoCheckin) - Parameters:
doAutoCheckin-
-
isUpdateEquivalentEnabled
public boolean isUpdateEquivalentEnabled()Tells if OOTB service should do update equivalent for the givenafter all discrepancies are resolved. OOTB logic will update the equivalent only if all found discrepancies are resolved.invalid reference
#getEquivalentContexts()
Supported API: true- Returns:
-
setUpdateEquivalentEnabled
public void setUpdateEquivalentEnabled(boolean doUpdateEquivalent) - Parameters:
doUpdateEquivalent-
-