com.ptc.windchill.enterprise.change2.forms.processors
Class CreateChangeItemFormProcessor
java.lang.Object
com.ptc.core.components.forms.DefaultObjectFormProcessor
com.ptc.core.components.forms.CreateObjectFormProcessor
com.ptc.windchill.enterprise.change2.forms.processors.CreateChangeItemFormProcessor
- All Implemented Interfaces:
- ObjectFormProcessor
- Direct Known Subclasses:
- CreateChangeRequestFormProcessor, CreateChangeTaskFormProcessor, CreateProblemReportFormProcessor
public abstract class CreateChangeItemFormProcessor
- extends CreateObjectFormProcessor
A class for top-level processor that performs database operations for the creation of change objects.
Typically used for the processing of a wizard. This class should not be extended.
Instead the subclasses should be extended for any customization.
Supported API: true
Extendable: false
| Methods inherited from class com.ptc.core.components.forms.DefaultObjectFormProcessor |
continueProcessing, getDelegates, mergeIntermediateResult, postTransactionProcess |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
doOperation
public FormResult doOperation(NmCommandBean clientData,
List<ObjectBean> objectBeanList)
throws WTException
- This method will save the object that was created by calling the registered delegates.
Supported API: true
- Specified by:
doOperation in interface ObjectFormProcessor- Overrides:
doOperation in class CreateObjectFormProcessor
- Parameters:
clientData - The NmCommandBean that contains information of the context objectobjectBeanList - The List of change objects that are currently being processed by the FormProcessor
- Returns:
- FormResult object that is the feedback from one form processor to another or from a
form processor back to a servlet after processing completes.
If any error occurs, the FormResult will contain information about the error.
- Throws:
WTException
postProcess
public FormResult postProcess(NmCommandBean clientData,
List<ObjectBean> objectBeanList)
throws WTException
- Post Process the change object list. If the user chooses to submit the change object
this method will process the submission of change objects. The registered delegates will
be called after the submission is processed..
Supported API: true
- Specified by:
postProcess in interface ObjectFormProcessor- Overrides:
postProcess in class com.ptc.core.components.forms.DefaultObjectFormProcessor
- Parameters:
clientData - Passes in the NmCommandBean that contains information of the context objectobjectBeans - Passes in the List of change objects that are currently being processed by the FormProcessor
- Returns:
- FormResult object that is feedback from one form processor to another or from a
form processor back to a servlet after processing completes.
If any error occurs, the FormResult will contain information about the error.
- Throws:
WTException