Class RelatedProductDataFormDelegate

All Implemented Interfaces:
ObjectFormProcessorDelegate
Direct Known Subclasses:
AffectedDataFormDelegate, AffectedEndItemsFormDelegate, ChangeTaskAffectedItemsFormDelegate, ChangeTaskResultingItemsFormDelegate

public abstract class RelatedProductDataFormDelegate extends ChangeItemFormDelegate
This class is used as the root processing class to process the binary link relationships between wt.change2.ChangeItemIfc and wt.change2.Changeable2 classes. All of the form delegates used to process the various change tables extend this class directly.

Supported API: true

Extendable: true
  • Method Details

    • getItemsToStoreForAssociation

      protected Vector getItemsToStoreForAssociation(List items) throws WTException
      Retrieval method for RelatedProductData links to get the list of items to store.

      Supported API: true
      Specified by:
      getItemsToStoreForAssociation in class ChangeItemFormDelegate
      Parameters:
      items - The current list of items that are displayed or hidden in the change table.
      Returns:
      The list of items to be associated.
      Throws:
      WTException
    • processLinkAttributes

      protected WTCollection processLinkAttributes(ChangeItemIfc item, WTCollection binaryLinks) throws WTException
      Method to process the additional link attributes. This method currently handles the "DESCRIPTION" attributes on the binary links.

      Supported API: true
      Specified by:
      processLinkAttributes in class ChangeItemFormDelegate
      Parameters:
      item - The change item
      binaryLinks - The collection of current binary links.
      Returns:
      A collection of just the "changed" binary links that are processed.
      Throws:
      WTException