Class AffectedDataFormDelegate

All Implemented Interfaces:
ObjectFormProcessorDelegate

public class AffectedDataFormDelegate extends RelatedProductDataFormDelegate
Form process delegate for processing the added, updated and removed affected objects in the problem report, variance and change request wizards.

Supported API: true

Extendable: true
  • Constructor Details

    • AffectedDataFormDelegate

      public AffectedDataFormDelegate()
      Initializes this delegate and any additional form delegates.

      Supported API: true
  • Method Details

    • getAdditionalFormDelegates

      public List<ObjectFormProcessorDelegate> getAdditionalFormDelegates()
      Returns the form processor delegates for processing after the delegates for the affected table objects have been processed in a problem report, change request or variance wizard. The default delegate returned is for processing associated annotations.

      Supported API: true
      Returns:
      a form processor delegate
      See Also:
    • postProcess

      public FormResult postProcess(NmCommandBean clientData, List<ObjectBean> objectBeans) throws WTException
      The post process method persists any Affected items of a Change Request, Problem Reports or Variances.

      Supported API: true
      Specified by:
      postProcess in interface ObjectFormProcessorDelegate
      Overrides:
      postProcess in class ChangeItemFormDelegate
      Parameters:
      clientData -
      objectBeans -
      Returns:
      FormResult with status set to FormProcessingStatus.SUCCESS
      Throws:
      WTException
    • getDelegateName

      protected String getDelegateName()
      Will retrieve the default delegate name for the Affected Data table.

      Supported API: true
      Specified by:
      getDelegateName in class ChangeItemFormDelegate
      Returns:
      the delegate name.
    • getDefaultTableId

      protected String getDefaultTableId()
      Will retrieve the default table ID for the Affected Data table.

      Supported API: true
      Specified by:
      getDefaultTableId in class ChangeItemFormDelegate
      Returns:
      the table id for the default processing.