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

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.CreateProblemReportFormProcessor
All Implemented Interfaces:
ObjectFormProcessor

public class CreateProblemReportFormProcessor
extends CreateChangeItemFormProcessor

This is the processor class called when creating a problem report, will perform database operation on one or more problem report objects. Typically used for the processing of a wizard.

Supported API: true

Extendable: true


Method Summary
protected  LocalizableMessage getProcessorErrorMessage()
          Returns localized message for create Problem report processing error.
protected  WTList saveChangeItem(WTList changeItems)
          Saves the problem report 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 Problem report processing error.

Supported API: true

Returns:
error message

saveChangeItem

protected WTList saveChangeItem(WTList changeItems)
                         throws WTException
Saves the problem report 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 problem report objects.
Returns:
list of problem reports that are saved.
Throws:
WTException