Class CreateChangeReviewFormProcessor

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

public class CreateChangeReviewFormProcessor extends CreateChangeItemFormProcessor
This is the processor class called when creating a change request, will perform database operation on one or more change review objects. 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 CreateChangeItemFormProcessor
      Returns:
      error message
    • saveChangeItem

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