Class EditNCFormProcessor

All Implemented Interfaces:
ObjectFormProcessor, com.ptc.windchill.enterprise.change2.forms.processors.ChangeFormProcessor

public class EditNCFormProcessor extends EditChangeItemFormProcessor
This is the processor class called when editing a Nonconformance object. Typically used for the processing of a wizard.

Supported API: true

Extendable: true
  • Method Details

    • getProcessorErrorMessage

      protected LocalizableMessage getProcessorErrorMessage()
      Returns localized message for create ECR processing error.

      Supported API: true
      Specified by:
      getProcessorErrorMessage in class EditChangeItemFormProcessor
      Returns:
      error message
    • saveChangeItem

      protected WTList saveChangeItem(WTList changeItems) throws WTException
      Saves the NC objects 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
      Specified by:
      saveChangeItem in class EditChangeItemFormProcessor
      Parameters:
      changeItems - The persisted list of CAPA change request objects.
      Returns:
      list of NC objects that are saved.
      Throws:
      WTException - is thrown if saving the change object fails.