com.ptc.windchill.enterprise.change2.forms.processors
Class EditVarianceFormProcessor
java.lang.Object
com.ptc.core.components.forms.DefaultObjectFormProcessor
com.ptc.core.components.forms.EditObjectFormProcessor
com.ptc.windchill.enterprise.change2.forms.processors.EditChangeItemFormProcessor
com.ptc.windchill.enterprise.change2.forms.processors.EditVarianceFormProcessor
- All Implemented Interfaces:
- ObjectFormProcessor
public class EditVarianceFormProcessor
- extends EditChangeItemFormProcessor
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
wt.change2.WTVariance or any sub-types.
Supported API: true
Extendable: true
| Methods inherited from class com.ptc.core.components.forms.DefaultObjectFormProcessor |
continueProcessing, getDelegates, mergeIntermediateResult, postTransactionProcess |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getProcessorErrorMessage
protected LocalizableMessage getProcessorErrorMessage()
- The purpose of this method is to handle error messaging that is unique to the variances.
Supported API: true
- Specified by:
getProcessorErrorMessage in class EditChangeItemFormProcessor
- Returns:
- Generic message for form processing error
saveChangeItem
protected WTList saveChangeItem(WTList changeItems)
throws WTException
- The purpose of this method is to handle persistance for variances. Each Variance is saved
one at a time calling the change service
saveChangeIssue method. The order of the list
of variances needs to be maintained and return in the same order.
Supported API: true
- Specified by:
saveChangeItem in class EditChangeItemFormProcessor
- 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:
wt.change2.ChangeService2#saveChangeIssue(wt.change2.ChangeIssueIfc)}