com.ptc.windchill.enterprise.change2.forms.delegates
Class RelatedProductDataFormDelegate

java.lang.Object
  extended by com.ptc.core.components.forms.DefaultObjectFormProcessorDelegate
      extended by com.ptc.windchill.enterprise.change2.forms.delegates.ChangeItemFormDelegate
          extended by com.ptc.windchill.enterprise.change2.forms.delegates.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 Summary
protected  Vector getItemsToStoreForAssociation(List items)
          Retrieval method for RelatedProductData links to get the list of items to store.
protected  WTCollection processLinkAttributes(ChangeItemIfc item, WTCollection binaryLinks)
          Method to process the additional link attributes.
 
Methods inherited from class com.ptc.windchill.enterprise.change2.forms.delegates.ChangeItemFormDelegate
getAssociationClass, getComponentMode, getDefaultTableId, getDelegateName, getReferenceValueFromMap, getReferenceValueFromMap, getTableId, postProcess
 
Methods inherited from class com.ptc.core.components.forms.DefaultObjectFormProcessorDelegate
doOperation, postTransactionProcess, preProcess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 item to process
binaryLinks - The current binary link objects
Returns:
The collection of modified binarylinks.
Throws:
WTException