Class CreateDistributionTargetFormProcessor

All Implemented Interfaces:
ObjectFormProcessor

public class CreateDistributionTargetFormProcessor extends CreateObjectFormProcessor
Create Distribution Target Wizard Form Processor. Processes Wizard data and creates the ESITarget object.

Supported API: true


Extendable: true


Since:
Windchill 10.0
See Also:
  • Method Details

    • doOperation

      public FormResult doOperation(NmCommandBean clientData, List<ObjectBean> objectBeans) throws WTException
      Fetches the object from the only ObjectBean element in the input list and checks its type. If the object is of type ESITarget, the method validates the associated ESI response meta information file (provided the target is active), fetches the processor for the target and saves the target to the database. Performs the relevant pre and post-processing activities before and after saving the target respectively, by invoking certain APIs on the processor. The method does nothing if the input list is empty, or the object in the ObjectBean is of type other than ESITarget.

      Supported API: true
      Specified by:
      doOperation in interface ObjectFormProcessor
      Overrides:
      doOperation in class CreateObjectFormProcessor
      Parameters:
      clientData - - Contains all of the request form data and other wizard context information.
      objectBeans - - List of ObjectBean elements, each of which holds the object instance to be stored. This method expects the list to contain a single element.
      Returns:
      - A FormResult object, with the appropriate status of the operation performed.
      Throws:
      WTException - , if any of the invoked methods throws this exception.