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

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
              extended by com.ptc.windchill.enterprise.change2.forms.delegates.ChangeTaskResultingItemsFormDelegate
All Implemented Interfaces:
ObjectFormProcessorDelegate

public class ChangeTaskResultingItemsFormDelegate
extends RelatedProductDataFormDelegate

A class for subprocessors that perform a database operation on one or more objects. Typically used for the processing of a wizard.

Supported API: true

Extendable: true


Method Summary
protected  Class getAssociationClass(ChangeItemIfc item)
          

Supported API: true
protected  String getDefaultTableId()
          

Supported API: true
protected  String getDelegateName()
          

Supported API: true
protected  WTCollection getRefreshedAssociationLinks(ChangeItemIfc changeItem)
          

Supported API: true
 FormResult postProcess(NmCommandBean clientData, List<ObjectBean> objectBeans)
          The post process method persists any Resulting items of a Change Task.
 
Methods inherited from class com.ptc.windchill.enterprise.change2.forms.delegates.RelatedProductDataFormDelegate
getItemsToStoreForAssociation, processLinkAttributes
 
Methods inherited from class com.ptc.windchill.enterprise.change2.forms.delegates.ChangeItemFormDelegate
getComponentMode, getReferenceValueFromMap, getReferenceValueFromMap, getTableId
 
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

postProcess

public FormResult postProcess(NmCommandBean clientData,
                              List<ObjectBean> objectBeans)
                       throws WTException
The post process method persists any Resulting items of a Change Task.

Supported API: true

Specified by:
postProcess in interface ObjectFormProcessorDelegate
Overrides:
postProcess in class ChangeItemFormDelegate
Parameters:
clientData - Passes in the NmCommandBean to retrieve the added and removed items from the wizard session.
objectList - Passes in the List of change items created or edited
Returns:
FormResult Return a success or failure status
Throws:
WTException

getDelegateName

protected String getDelegateName()


Supported API: true

Specified by:
getDelegateName in class ChangeItemFormDelegate
Returns:
the delegate name.

getDefaultTableId

protected String getDefaultTableId()


Supported API: true

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

getAssociationClass

protected Class getAssociationClass(ChangeItemIfc item)


Supported API: true

Specified by:
getAssociationClass in class ChangeItemFormDelegate
Parameters:
item - The Change object that the changeables getting associated to.
Returns:
The associated class for the given Change Object.

getRefreshedAssociationLinks

protected WTCollection getRefreshedAssociationLinks(ChangeItemIfc changeItem)
                                             throws WTException


Supported API: true

Parameters:
changeItem - The change item to refresh from
Returns:
The collection of refreshed links.
Throws:
WTException