Class CreateCapaChangeRequestFormProcessor

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

public class CreateCapaChangeRequestFormProcessor extends CreateChangeItemFormProcessor
Processor class that performs database operations on Change Request objects. This class is used for saving the data in the edit Change Request wizards. This class is designed to handle existing wt.change2.WTChangeRequest or any sub-types.

Supported API: true

Extendable: true
  • Method Details

    • getProcessorErrorMessage

      protected LocalizableMessage getProcessorErrorMessage()
      The purpose of this method is to handle error messaging that is unique to the CAPA Review.

      Supported API: true
      Specified by:
      getProcessorErrorMessage in class CreateChangeItemFormProcessor
      Returns:
      Generic message for form processing error
    • saveChangeItem

      protected WTList saveChangeItem(WTList changeItems) throws WTException
      Saves the CAPA 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
      Specified by:
      saveChangeItem in class CreateChangeItemFormProcessor
      Parameters:
      changeItems - The persisted list of CAPA change request objects.
      Returns:
      list of CAPA change requests that are saved.
      Throws:
      WTException