com.ptc.windchill.enterprise.change2.forms.processors
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
public class CreateChangeTaskFormProcessor
- extends CreateChangeItemFormProcessor
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
| 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 |
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:
preProcess in interface ObjectFormProcessor- Overrides:
preProcess in class CreateObjectFormProcessor
- Parameters:
clientData - The bean that represents client stateobjectList - List of changeable object beans to perform processing on
- Returns:
- Form result that represents whether the processing of the form was successful
- Throws:
Catches - Exception if there is a form processing error to display generic form processing error to client
WTException