Class CreateChangeTaskTemplateFormProcessor
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
com.ptc.windchill.enterprise.change2.forms.processors.template.CreateChangeTaskTemplateFormProcessor
- All Implemented Interfaces:
ObjectFormProcessor,com.ptc.windchill.enterprise.change2.forms.processors.ChangeFormProcessor
A class for top-level processor that perform a database operation on one or
more change notice template objects.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Field Summary
Fields inherited from class com.ptc.core.components.forms.DefaultObjectFormProcessor
delegates, DO_OPERATION, overallResult, POST_PROCESS, POST_TRANSACTION_PROCESS, PRE_PROCESS -
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.CreateChangeTaskFormProcessor
getChangeNotice, getIframeIdValue, saveChangeActivity, saveChangeItem, saveChangeItem, setChangeOrderMethods inherited from class com.ptc.windchill.enterprise.change2.forms.processors.CreateChangeItemFormProcessor
doOperation, getChangeItemomplexityDelegate, getChangeNoticeComplexityDelegate, getLocale, postProcess, setRefreshInfoMethods inherited from class com.ptc.core.components.forms.CreateObjectFormProcessor
createAndValidateTypeInstance, createItemInstance, createPersistable, getSuccessMessageBody, getSuccessMessageBodyForMulti, getSuccessMessageTitle, translateTIToPersistableMethods inherited from class com.ptc.core.components.forms.DefaultObjectFormProcessor
continueProcessing, execute, getDelegates, getSuccessFeedbackMessage, getSuccessFeedbackMessage, isUseObjectReference, mergeIntermediateResult, postTransactionProcess, processDelegates, removeTempFiles, setDelegates, setResultNextAction, setUseObjectReference
-
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 classCreateChangeTaskFormProcessor- 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
-