com.ptc.windchill.enterprise.change2.forms.processors
Class CreateChangeRequestFormProcessor
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.CreateChangeRequestFormProcessor
- All Implemented Interfaces:
- ObjectFormProcessor
public class CreateChangeRequestFormProcessor
- extends CreateChangeItemFormProcessor
This is the processor class called when creating a change request, will perform database operation
on one or more change request objects. Typically used for the processing of a wizard.
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()
- Returns localized message for create ECR processing error.
Supported API: true
- Returns:
- error message
saveChangeItem
protected WTList saveChangeItem(WTList changeItems)
throws WTException
- Saves the 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
- Parameters:
changeItems - The persisted list of change request objects.
- Returns:
- list of change requests that are saved.
- Throws:
WTException