What’s New > Windchill > 11.0 F000 > Deployment and Configuration > Change Associations: Deprecated APIs
  
Change Associations: Deprecated APIs
Product: Windchill, Windchill PDMLink, Windchill Integrations for Embedded Software
Release: 11.0 F000
Benefit
To support change associations, several APIs have been deprecated and several supported APIs have been updated. Changes have also been made to workflow events and preferences.
Additional Details
The following APIs have been deprecated. PTC recommends that you replace them with the new APIs when you are starting to convert to use change associations. These APIs are primarily located in WorkflowProcessHelper and StandardChangeService2.
Deprecated API
Replacement API
com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.forcePRsToResolved(ChangeRequest2)
com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.closeChangeChildren(Object, Map<Class, State>)
com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.closeChangeParents(Object, Map<Class, State>)
com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setCRResolutionDate(ChangeRequest2)
com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setECNResolutionDate(ChangeRequest2)
com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setECNResolutionDate(ChangeRequest2, String)
com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setPRResolutionDate(ChangeIssue)
com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setResolutionDate(VersionableChangeItem)
Changes were also made to service APIs to support change associations. These APIs are located in StandardChangeService2. PTC recommends that you review any extensions or usages of these APIs before you start to use change associations:
getAssociatedChanges(ChangeItemIfc, Class)
getChangeOrders(ChangeRequestIfc, boolean)
getChangeRequest(ChangeOrderIfc, boolean)
deleteAddressedBy(ChangeRequestIfc, ChangeOrderIfc)
saveAddressedBy(ChangeRequestIfc, ChangeOrderIfc)
getLatestChangeOrder(ChangeRequestIfc)
getLatestChangeRequest(ChangeOrderIfc)
deleteAddressedBy(WTCollection, role)
deleteFormalizedBy(ChangeRequestIfc, ChangeIssueIfc)
getChangeIssues(ChangeRequestIfc, boolean)
getFormalizingChangeRequest(ChangeIssue ci)
saveFormalizedBy(ChangeRequestIfc, ChangeIssueIfc)
getChangeRequest(ChangeIssueIfc, boolean)
deleteFormalizedBy(Class, ChangeRequestIfc, ChangeIssueIfc)
getLatestChangeIssue(ChangeRequestIfc cr)
getLatestChangeRequest(ChangeAnalysisIfc)
The Change Notice State Change workflow event has been replaced by the following workflow events:
Parent Change Object State Change
Child Change Object State Change
The following change management preferences perform no action for flexible change items; however, they remain functional for non-flexible change items to support backwards compatibility:
Change Request to Problem Report Cardinality
Change Request to Change Notice Cardinality
Change Notice without Change Request
Automatic Change Notice Creation
The following links have been replaced by ChangeProcessLink. When creating or deleting these links for change associations, use the FlexibleChangeHelper.getService().
AddressedBy2
AddressedByIfc
FormalizedBy
FormalizedByIfc