Class ChangeTaskResultingItemsFormDelegate
java.lang.Object
com.ptc.core.components.forms.DefaultObjectFormProcessorDelegate
com.ptc.windchill.enterprise.change2.forms.delegates.ChangeItemFormDelegate
com.ptc.windchill.enterprise.change2.forms.delegates.RelatedProductDataFormDelegate
com.ptc.windchill.enterprise.change2.forms.delegates.ChangeTaskResultingItemsFormDelegate
- All Implemented Interfaces:
ObjectFormProcessorDelegate
A class used for processing resulting objects table from a change task wizard.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionprotected WTCollectiongetRefreshedAssociationLinks(ChangeItemIfc changeItem) Returns the refreshed association links for a given change item
Supported API: truepostProcess(NmCommandBean clientData, List<ObjectBean> objectBeans) The post process method persists any Resulting items of a Change Task.protected WTCollectionprocessLinkAttributes(ChangeItemIfc item, WTCollection binaryLinks) Processes the ChangeRecord2 link for the resulting objects table.Methods inherited from class com.ptc.windchill.enterprise.change2.forms.delegates.RelatedProductDataFormDelegate
getItemsToStoreForAssociationMethods inherited from class com.ptc.windchill.enterprise.change2.forms.delegates.ChangeItemFormDelegate
getComponentMode, getObjectBean, getReferenceValueFromMap, getReferenceValueFromMap, getTableId, handleFormResultException, initialize, processAssociations, removeAssociations, storeAssociationsMethods inherited from class com.ptc.core.components.forms.DefaultObjectFormProcessorDelegate
doOperation, postTransactionProcess, preProcess, setValue, setValueInTypeInstance, setValueInTypeInstance
-
Method Details
-
postProcess
public FormResult postProcess(NmCommandBean clientData, List<ObjectBean> objectBeans) throws WTException The post process method persists any Resulting items of a Change Task.
Supported API: true- Specified by:
postProcessin interfaceObjectFormProcessorDelegate- Overrides:
postProcessin classChangeItemFormDelegate- Parameters:
clientData-objectBeans-- Returns:
- FormResult with status set to FormProcessingStatus.SUCCESS
- Throws:
WTException
-
getRefreshedAssociationLinks
Returns the refreshed association links for a given change item
Supported API: true- Specified by:
getRefreshedAssociationLinksin classChangeItemFormDelegate- Parameters:
changeItem- The change item for which we want to get the refreshed links- Returns:
- a collection of refreshed Associations
- Throws:
WTException
-
processLinkAttributes
protected WTCollection processLinkAttributes(ChangeItemIfc item, WTCollection binaryLinks) throws WTException Processes the ChangeRecord2 link for the resulting objects table. This implementation relies on the super class to process the common table attributes such as the comment and release target fields. Overriding this method should call this method instance to ensure proper handling of the binary link attributes.
Supported API: true- Overrides:
processLinkAttributesin classRelatedProductDataFormDelegate- Parameters:
item- The change itembinaryLinks- The collection of current binary links.- Returns:
- A collection of just the "changed" binary links that are processed.
- Throws:
WTException
-