Class EditCapaChangeRequestFormProcessor
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.capa.request.processors.EditCapaChangeRequestFormProcessor
- All Implemented Interfaces:
ObjectFormProcessor,com.ptc.windchill.enterprise.change2.forms.processors.ChangeFormProcessor
- Direct Known Subclasses:
EditCapaChangeRequestFormProcessorQMS
This is the processor class called when editing a CAPA change request, will perform database operation
on one or more CAPA change request objects. Typically used for the processing of a wizard.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Field Summary
Fields inherited from class com.ptc.windchill.enterprise.change2.forms.processors.EditChangeItemFormProcessor
NAVIGATION_ACTION, NAVIGATION_HOMETABFields inherited from class com.ptc.core.components.forms.DefaultEditFormProcessor
isAliasAttrOnMasterFields 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 LocalizableMessageReturns localized message for create ECR processing error.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.EditChangeItemFormProcessor
getCurrentUser, getEditItemInstance, getLocale, getNmOid, handleSubmitNow, preProcess, saveRenameChangeItems, setDelegates, setRefreshInfoMethods inherited from class com.ptc.core.components.forms.DefaultEditFormProcessor
checkForMasterAttributes, getObjectBeingEdited, getObjFromDatabaseMethods inherited from class com.ptc.core.components.forms.DefaultObjectFormProcessor
continueProcessing, execute, getDelegates, getSuccessFeedbackMessage, getSuccessFeedbackMessage, getSuccessMessageBody, getSuccessMessageBodyForMulti, getSuccessMessageTitle, isUseObjectReference, mergeIntermediateResult, postTransactionProcess, processDelegates, removeTempFiles, setUseObjectReference
-
Method Details
-
getProcessorErrorMessage
Returns localized message for create ECR processing error.
Supported API: true- Specified by:
getProcessorErrorMessagein classEditChangeItemFormProcessor- Returns:
- error message
-
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 classEditChangeItemFormProcessor- Parameters:
changeItems- The persisted list of CAPA change request objects.- Returns:
- list of CAPA change requests that are saved.
- Throws:
WTException- is thrown if saving the change object fails.
-