Class EditNCFormProcessor
java.lang.Object
com.ptc.core.components.forms.DefaultObjectFormProcessor
com.ptc.core.components.forms.DefaultEditFormProcessor
com.ptc.windchill.enterprise.change2.forms.processors.EditChangeItemFormProcessor
com.ptc.qualitymanagement.nc.processors.EditNCFormProcessor
- All Implemented Interfaces:
ObjectFormProcessor,com.ptc.windchill.enterprise.change2.forms.processors.ChangeFormProcessor
This is the processor class called when editing a Nonconformance object.
Typically used for the processing of a wizard.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionprotected LocalizableMessageReturns localized message for create ECR processing error.protected WTListsaveChangeItem(WTList changeItems) Saves the NC objects and return the persistable list using the change service.Methods inherited from class com.ptc.windchill.enterprise.change2.forms.processors.EditChangeItemFormProcessor
preProcessMethods inherited from class com.ptc.core.components.forms.DefaultObjectFormProcessor
continueProcessing, getDelegates, getSuccessFeedbackMessage, getSuccessFeedbackMessage, getSuccessMessageBody, getSuccessMessageBodyForMulti, getSuccessMessageTitle, mergeIntermediateResult, postTransactionProcess, processDelegates
-
Method Details
-
getProcessorErrorMessage
Returns localized message for create ECR processing error.
Supported API: true- Specified by:
getProcessorErrorMessagein classEditChangeItemFormProcessor- Returns:
- error message
-
saveChangeItem
Saves the NC objects and return the persistable list using the change service. This method is called within a transaction and will roll back in case of exception occurs.
Supported API: true- Specified by:
saveChangeItemin classEditChangeItemFormProcessor- Parameters:
changeItems- The persisted list of CAPA change request objects.- Returns:
- list of NC objects that are saved.
- Throws:
WTException- is thrown if saving the change object fails.
-