Class CreateChangeReviewFormProcessor
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.windchill.enterprise.change2.forms.processors.CreateChangeReviewFormProcessor
- All Implemented Interfaces:
ObjectFormProcessor,com.ptc.windchill.enterprise.change2.forms.processors.ChangeFormProcessor
This is the processor class called when creating a change request, will perform database operation
on one or more change review objects. Typically used for the processing of a wizard.
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 LocalizableMessageReturns localized message for create ECR processing error.protected WTListsaveChangeItem(WTList changeItems) Saves the change reviews and return the persistable list using the change service.Methods inherited from class com.ptc.windchill.enterprise.change2.forms.processors.CreateChangeItemFormProcessor
doOperation, getChangeItemomplexityDelegate, getChangeNoticeComplexityDelegate, getLocale, postProcess, saveChangeItem, setRefreshInfoMethods 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, setResultNextAction, setUseObjectReference
-
Method Details
-
getProcessorErrorMessage
Returns localized message for create ECR processing error.
Supported API: true- Specified by:
getProcessorErrorMessagein classCreateChangeItemFormProcessor- Returns:
- error message
-
saveChangeItem
Saves the change reviews 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 change review objects.- Returns:
- list of change requests that are saved.
- Throws:
WTException
-