com.ptc.core.components.forms
Interface ObjectFormProcessorDelegate

All Known Implementing Classes:
com.ptc.windchill.enterprise.attachments.forms.AbstractAttachmentsSubFormProcessor, AffectedDataFormDelegate, AffectedEndItemsFormDelegate, ChangeItemFormDelegate, ChangeTaskAffectedItemsFormDelegate, ChangeTaskResultingItemsFormDelegate, DefaultObjectFormProcessorDelegate, LocationPropertyProcessor, RelatedChangeItemFormDelegate, RelatedProductDataFormDelegate, SecondaryAttachmentsSubFormProcessor

public interface ObjectFormProcessorDelegate

An interface for a class that performs one or more tasks during the processing of a HTML wizard after submittal. ObjectFormProcessorDelegates are called by ObjectFormProcessors during various phases of the processing. They can be called by multiple form processor classes and typically perform tasks that are common to multiple wizards. Examples of tasks performed by delegates are:


See the Windchill Customizers' Guide for more information on wizard processing.

Supported API: true

Extendable: false


Method Summary
 FormResult doOperation(NmCommandBean clientData, List<ObjectBean> objectBeans)
          A method called by an ObjectFormProcessor during the doOperation phase of processing.
 FormResult postProcess(NmCommandBean clientData, List<ObjectBean> objectBeans)
          A method called by an ObjectFormProcessor during the postProcess phase of processing.
 FormResult postTransactionProcess(NmCommandBean clientData, List<ObjectBean> objectBeans)
          A method called by an ObjectFormProcessor during the postTransactionProcess phase of processing.
 FormResult preProcess(NmCommandBean clientData, List<ObjectBean> objectList)
          A method called by an ObjectFormProcessor during the preProcess phase of processing.
 

Method Detail

doOperation

FormResult doOperation(NmCommandBean clientData,
                       List<ObjectBean> objectBeans)
                       throws WTException
A method called by an ObjectFormProcessor during the doOperation phase of processing.

Supported API: true

Parameters:
clientData - - Contains all the form data and other context information from the wizard client. Input.
objectBeans - - Each bean contains the form data for one object being operated upon. Input.
Returns:
FormResult - The result of this method.
Throws:
WTException

postProcess

FormResult postProcess(NmCommandBean clientData,
                       List<ObjectBean> objectBeans)
                       throws WTException
A method called by an ObjectFormProcessor during the postProcess phase of processing.

Supported API: true

Parameters:
clientData - - Contains all the form data and other context information from the wizard client. Input.
objectBeans - - Each bean contains the form data for one object being operated upon. Input
Returns:
FormResult - The result of this method.
Throws:
WTException

postTransactionProcess

FormResult postTransactionProcess(NmCommandBean clientData,
                                  List<ObjectBean> objectBeans)
                                  throws WTException
A method called by an ObjectFormProcessor during the postTransactionProcess phase of processing.

Supported API: true

Parameters:
clientData - - Contains all the form data and other context information from the wizard client. Input.
objectBeans - - Each bean contains the form data for one object being operated upon. Input.
Returns:
FormResult - The result of this method.
Throws:
WTException

preProcess

FormResult preProcess(NmCommandBean clientData,
                      List<ObjectBean> objectList)
                      throws WTException
A method called by an ObjectFormProcessor during the preProcess phase of processing.

Supported API: true

Parameters:
clientData - - Contains all the form data and other context information from the wizard client. Input.
objectBeans - - Each bean contains the form data for one object being operated upon. Input.
Returns:
FormResult - The result of this method.
Throws:
WTException