Class EditChangeReviewFormProcessor

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

public class EditChangeReviewFormProcessor extends EditChangeItemFormProcessor
Processor class that performs database operations on Change Review objects. This class is used for saving the data in the edit Change Review wizards. This class is designed to handle existing wt.change2.WTChangeReview 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 change reviews.



      Supported API: true

      Specified by:
      getProcessorErrorMessage in class EditChangeItemFormProcessor
      Returns:
      Generic message for form processing error
    • saveChangeItem

      protected WTList saveChangeItem(WTList changeItems) throws WTException
      The purpose of this method is to handle persistence for Change Reviews. Each Change Review is saved one at a time calling the change service saveChangeReview method. The order of the list of change reviews needs to be maintained and return in the same order.



      Supported API: true

      Specified by:
      saveChangeItem in class EditChangeItemFormProcessor
      Parameters:
      changeItems - The list of change reviews to be persisted.
      Returns:
      The list of change reviews that have been persisted.
      Throws:
      WTException - is thrown if saving the change reviews fail.
      See Also: