Class EditVarianceFormProcessor
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.windchill.enterprise.change2.forms.processors.EditVarianceFormProcessor
- All Implemented Interfaces:
ObjectFormProcessor,com.ptc.windchill.enterprise.change2.forms.processors.ChangeFormProcessor
Processor class that performs database operations on Variance objects. This class is used for
saving the data in the edit Variance wizards. This class is designed to handle existing
Supported API: true
Extendable: true
wt.change2.WTVariance or any sub-types.
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 LocalizableMessageThe purpose of this method is to handle error messaging that is unique to the variances.protected WTListsaveChangeItem(WTList changeItems) The purpose of this method is to handle persistence for variances.Methods inherited from class com.ptc.windchill.enterprise.change2.forms.processors.EditChangeItemFormProcessor
doOperation, getCurrentUser, getEditItemInstance, getLocale, getNmOid, handleSubmitNow, postProcess, preProcess, saveRenameChangeItems, setDelegates, setRefreshInfo, setResultNextActionMethods 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
The purpose of this method is to handle error messaging that is unique to the variances.
Supported API: true- Specified by:
getProcessorErrorMessagein classEditChangeItemFormProcessor- Returns:
- Generic message for form processing error
-
saveChangeItem
The purpose of this method is to handle persistence for variances. Each Variance is saved one at a time calling the change servicesaveChangeIssuemethod. The order of the list of variances needs to be maintained and return in the same order.
Supported API: true- Specified by:
saveChangeItemin classEditChangeItemFormProcessor- Parameters:
changeItems- The list of variances to be persisted.- Returns:
- The list of variances that have been persisted.
- Throws:
WTException- is thrown if saving the variances fail.- See Also:
-