Class CreateCapaChangeRequestFormProcessor
java.lang.Object
com.ptc.core.components.forms.DefaultObjectFormProcessor
com.ptc.core.components.forms.CreateObjectFormProcessor
com.ptc.windchill.enterprise.change2.forms.processors.CreateChangeItemFormProcessor
com.ptc.qualitymanagement.capa.request.processors.CreateCapaChangeRequestFormProcessor
- All Implemented Interfaces:
ObjectFormProcessor,com.ptc.windchill.enterprise.change2.forms.processors.ChangeFormProcessor
Processor class that performs database operations on Change Request objects. This class is used for
saving the data in the edit Change Request wizards. This class is designed to handle existing
Supported API: true
Extendable: true
wt.change2.WTChangeRequest or any sub-types.
Supported API: true
Extendable: true
-
Field Summary
Fields inherited from class com.ptc.core.components.forms.DefaultObjectFormProcessor
delegates, DO_OPERATION, overallResult, POST_PROCESS, POST_TRANSACTION_PROCESS, PRE_PROCESS -
Method Summary
Modifier and TypeMethodDescriptionprotected LocalizableMessageThe purpose of this method is to handle error messaging that is unique to the CAPA Review.protected WTListsaveChangeItem(WTList changeItems) Saves the CAPA change requests and return the persistable list using the change service.Methods inherited from class com.ptc.windchill.enterprise.change2.forms.processors.CreateChangeItemFormProcessor
getChangeItemomplexityDelegate, getChangeNoticeComplexityDelegate, getLocale, saveChangeItemMethods inherited from class com.ptc.core.components.forms.CreateObjectFormProcessor
createAndValidateTypeInstance, createItemInstance, createPersistable, getSuccessMessageBody, getSuccessMessageBodyForMulti, getSuccessMessageTitle, preProcess, translateTIToPersistableMethods inherited from class com.ptc.core.components.forms.DefaultObjectFormProcessor
continueProcessing, execute, getDelegates, getSuccessFeedbackMessage, getSuccessFeedbackMessage, isUseObjectReference, mergeIntermediateResult, postTransactionProcess, processDelegates, removeTempFiles, setDelegates, setUseObjectReference
-
Method Details
-
getProcessorErrorMessage
The purpose of this method is to handle error messaging that is unique to the CAPA Review.
Supported API: true- Specified by:
getProcessorErrorMessagein classCreateChangeItemFormProcessor- Returns:
- Generic message for form processing error
-
saveChangeItem
Saves the CAPA change requests 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 classCreateChangeItemFormProcessor- Parameters:
changeItems- The persisted list of CAPA change request objects.- Returns:
- list of CAPA change requests that are saved.
- Throws:
WTException
-