Class CreateChangeTaskFormProcessor

All Implemented Interfaces:
ObjectFormProcessor, com.ptc.windchill.enterprise.change2.forms.processors.ChangeFormProcessor
Direct Known Subclasses:
ChangeTaskTemplatedFormProcessor, CreateChangeTaskTemplateFormProcessor

public class CreateChangeTaskFormProcessor extends CreateChangeItemFormProcessor
Processor class that performs database operations on Change Notice and Change Task objects. Typically used for the processing of Create sessions where objects in the session have not yet been persisted. Class includes special methods to handle cases where objects are not yet persisted in the database.

Supported API: true

Extendable: true
  • Method Details

    • preProcess

      public FormResult preProcess(NmCommandBean clientData, List<ObjectBean> objectBeans) throws WTException
      This method will create the object that processor delegates will use. Any pre-processing that needs to be done for change notice or change task objects will be done here. When extending this class, call the super implementation to perform required processing.

      Supported API: true
      Specified by:
      preProcess in interface ObjectFormProcessor
      Overrides:
      preProcess in class CreateObjectFormProcessor
      Parameters:
      clientData - The bean that represents client state
      objectBeans - List of changeable object beans to perform processing on
      Returns:
      Form result that represents whether the processing of the form was successful
      Throws:
      WTException - if there is a form processing error to display generic form processing error to client