com.ptc.windchill.enterprise.change2.forms.processors
Class CreateChangeTaskFormProcessor

java.lang.Object
  extended by com.ptc.core.components.forms.DefaultObjectFormProcessor
      extended by com.ptc.core.components.forms.CreateObjectFormProcessor
          extended by com.ptc.windchill.enterprise.change2.forms.processors.CreateChangeItemFormProcessor
              extended by 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


Method Summary
 FormResult preProcess(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
doOperation, postProcess
 
Methods inherited from class com.ptc.core.components.forms.CreateObjectFormProcessor
createItemInstance, setResultNextAction
 
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
 

Method Detail

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 state
objectList - 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