Class EditDistributionTargetFormProcessor

All Implemented Interfaces:
ObjectFormProcessor

public class EditDistributionTargetFormProcessor extends DefaultEditFormProcessor
Edit Distribution Target Wizard Form Processor. Processes Wizard data and updates the ESITarget object appropriately

Supported API: true


Extendable: false


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 updates the target in the database (if an update operation is permitted for the target). Performs the relevant pre and post-processing activities before and after updating 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 DefaultEditFormProcessor
      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 updated in the database. This method expects the list to contain a single element.
      Returns:
      - A FormResult object, with the appropriate status of the operation performed; for e.g., the status would indicate a failure if an update operation on the input target is not permitted.
      Throws:
      WTException - , if any of the invoked methods throws this exception.