Class ChangeTaskTemplatedFormProcessor
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.ChangeTaskTemplatedFormProcessor
- All Implemented Interfaces:
ObjectFormProcessor,com.ptc.windchill.enterprise.change2.forms.processors.ChangeFormProcessor
A class for top-level processor that performs database operations for the creation of change task template objects.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
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 TypeMethodDescriptionpostProcess(NmCommandBean cb, List<ObjectBean> objectBeanList) The purpose of this method is to handle the association of the affected data and setting the attributes of security labels for the templated change task.preProcess(NmCommandBean clientData, List<ObjectBean> objectBeans) When the object associated to the given object bean is a change task template, this method will create a new change task.Methods inherited from class com.ptc.windchill.enterprise.change2.forms.processors.CreateChangeTaskFormProcessor
getChangeNotice, getIframeIdValue, getProcessorErrorMessage, saveChangeActivity, saveChangeItem, saveChangeItem, setChangeOrderMethods inherited from class com.ptc.windchill.enterprise.change2.forms.processors.CreateChangeItemFormProcessor
doOperation, getChangeItemomplexityDelegate, getChangeNoticeComplexityDelegate, getLocale, 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 When the object associated to the given object bean is a change task template, this method will create a new change task. values of the template create layout attributes that are not excluded will be copied to the new change task. The new change task will be created on the container and organization of the parent change notice template.
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
-
postProcess
The purpose of this method is to handle the association of the affected data and setting the attributes of security labels for the templated change task.
Supported API: true- Specified by:
postProcessin interfaceObjectFormProcessor- Overrides:
postProcessin classCreateChangeItemFormProcessor- Parameters:
cb- - Contains all the request form data and other wizard context information. Input.objectBeanList- - Contain the form data for each target object of the wizard. One bean per object. Input.- Returns:
- FormResult - the result of this method
- Throws:
WTException
-