com.ptc.windchill.enterprise.change2.forms.processors
Class CreateChangeRequestFormProcessor

java.lang.Object
  extended by com.ptc.core.components.forms.DefaultObjectFormProcessor
      extended by com.ptc.core.components.forms.CreateObjectFormProcessor
          extended by com.ptc.windchill.enterprise.change2.forms.processors.CreateChangeItemFormProcessor
              extended by 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


Method Summary
protected  LocalizableMessage getProcessorErrorMessage()
          Returns localized message for create ECR processing error.
protected  WTList saveChangeItem(WTList changeItems)
          Saves the change requests and return the persistable list using the change service.
 
Methods inherited from class com.ptc.windchill.enterprise.change2.forms.processors.CreateChangeItemFormProcessor
doOperation, postProcess
 
Methods inherited from class com.ptc.core.components.forms.CreateObjectFormProcessor
createItemInstance, preProcess, setResultNextAction
 
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
 

Method Detail

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