Class CreateChangeTaskFormProcessor
java.lang.Object
com.ptc.core.components.forms.DefaultObjectFormProcessor
com.ptc.core.components.forms.CreateObjectFormProcessor
com.ptc.windchill.enterprise.change2.forms.processors.CreateChangeItemFormProcessor
com.ptc.windchill.enterprise.change2.forms.processors.CreateChangeTaskFormProcessor
- All Implemented Interfaces:
ObjectFormProcessor,com.ptc.windchill.enterprise.change2.forms.processors.ChangeFormProcessor
- Direct Known Subclasses:
ChangeTaskTemplatedFormProcessor,CreateChangeTaskTemplateFormProcessor
Processor class that performs database operations on Change Notice and Change
Task objects. Typically used for the processing of Create sessions where
objects in the session have not yet been persisted. Class includes special
methods to handle cases where objects are not yet persisted in the database.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionpreProcess(NmCommandBean clientData, List<ObjectBean> objectBeans) This method will create the object that processor delegates will use.Methods inherited from class com.ptc.windchill.enterprise.change2.forms.processors.CreateChangeItemFormProcessor
postProcessMethods inherited from class com.ptc.core.components.forms.CreateObjectFormProcessor
createItemInstance, getSuccessMessageBody, getSuccessMessageBodyForMulti, getSuccessMessageTitleMethods inherited from class com.ptc.core.components.forms.DefaultObjectFormProcessor
continueProcessing, getDelegates, getSuccessFeedbackMessage, getSuccessFeedbackMessage, mergeIntermediateResult, postTransactionProcess, processDelegates, setResultNextAction
-
Method Details
-
preProcess
public FormResult preProcess(NmCommandBean clientData, List<ObjectBean> objectBeans) throws WTException This method will create the object that processor delegates will use. Any pre-processing that needs to be done for change notice or change task objects will be done here. When extending this class, call the super implementation to perform required processing.
Supported API: true- Specified by:
preProcessin interfaceObjectFormProcessor- Overrides:
preProcessin classCreateObjectFormProcessor- Parameters:
clientData- The bean that represents client stateobjectBeans- List of changeable object beans to perform processing on- Returns:
- Form result that represents whether the processing of the form was successful
- Throws:
WTException- if there is a form processing error to display generic form processing error to client
-