Class AffectedDataFormDelegate
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.AffectedDataFormDelegate
- All Implemented Interfaces:
ObjectFormProcessorDelegate
Form process delegate for processing the added, updated and removed affected
objects in the problem report, variance and change request wizards.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes this delegate and any additional form delegates. -
Method Summary
Modifier and TypeMethodDescriptionReturns the form processor delegates for processing after the delegates for the affected table objects have been processed in a problem report, change request or variance wizard.protected StringWill retrieve the default table ID for the Affected Data table.protected StringWill retrieve the default delegate name for the Affected Data table.postProcess(NmCommandBean clientData, List<ObjectBean> objectBeans) The post process method persists any Affected items of a Change Request, Problem Reports or Variances.Methods inherited from class com.ptc.windchill.enterprise.change2.forms.delegates.RelatedProductDataFormDelegate
getItemsToStoreForAssociationMethods inherited from class com.ptc.windchill.enterprise.change2.forms.delegates.ChangeItemFormDelegate
getAddedItems, getComponentMode, getObjectBean, getReferenceValueFromMap, getReferenceValueFromMap, getRemovedItems, getTableId, handleFormResultException, initialize, processAssociations, removeAssociations, setAddedItems, setRemovedItems, storeAssociationsMethods inherited from class com.ptc.core.components.forms.DefaultObjectFormProcessorDelegate
setValue, setValueInTypeInstance, setValueInTypeInstance
-
Constructor Details
-
AffectedDataFormDelegate
public AffectedDataFormDelegate()Initializes this delegate and any additional form delegates.
Supported API: true
-
-
Method Details
-
getAdditionalFormDelegates
Returns the form processor delegates for processing after the delegates for the affected table objects have been processed in a problem report, change request or variance wizard. The default delegate returned is for processing associated annotations.
Supported API: true- Returns:
- a form processor delegate
- See Also:
-
postProcess
public FormResult postProcess(NmCommandBean clientData, List<ObjectBean> objectBeans) throws WTException The post process method persists any Affected items of a Change Request, Problem Reports or Variances.
Supported API: true- Specified by:
postProcessin interfaceObjectFormProcessorDelegate- Overrides:
postProcessin classChangeItemFormDelegate- Parameters:
clientData-objectBeans-- Returns:
- FormResult with status set to FormProcessingStatus.SUCCESS
- Throws:
WTException
-
getDelegateName
Will retrieve the default delegate name for the Affected Data table.
Supported API: true- Specified by:
getDelegateNamein classChangeItemFormDelegate- Returns:
- the delegate name.
-
getDefaultTableId
Will retrieve the default table ID for the Affected Data table.
Supported API: true- Specified by:
getDefaultTableIdin classChangeItemFormDelegate- Returns:
- the table id for the default processing.
-