com.ptc.core.components.forms
Class DefaultObjectFormProcessorDelegate

java.lang.Object
  extended by com.ptc.core.components.forms.DefaultObjectFormProcessorDelegate
All Implemented Interfaces:
ObjectFormProcessorDelegate
Direct Known Subclasses:
com.ptc.windchill.enterprise.attachments.forms.AbstractAttachmentsSubFormProcessor, ChangeItemFormDelegate, LocationPropertyProcessor, RelatedChangeItemFormDelegate

public class DefaultObjectFormProcessorDelegate
extends Object
implements ObjectFormProcessorDelegate

A default ObjectFormProcessorDelegate whose methods do nothing but return a FormResult with a status of FormProcessingStatus.SUCCESS. Form processor delegates that extend this class need only implement those methods of ObjectFormProcessorDelegate in which they have processing tasks.

Supported API: true

Extendable: true


Method Summary
 FormResult doOperation(NmCommandBean clientData, List<ObjectBean> objectBeans)
          

Supported API: true
 FormResult postProcess(NmCommandBean clientData, List<ObjectBean> objectBeans)
          

Supported API: true
 FormResult postTransactionProcess(NmCommandBean clientData, List<ObjectBean> objectBeans)
          

Supported API: true
 FormResult preProcess(NmCommandBean clientData, List<ObjectBean> objectBeans)
          

Supported API: true
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

doOperation

public FormResult doOperation(NmCommandBean clientData,
                              List<ObjectBean> objectBeans)
                       throws WTException


Supported API: true

Specified by:
doOperation in interface ObjectFormProcessorDelegate
Parameters:
clientData -
objectBeans -
Returns:
FormResult with status set to FormProcessingStatus.SUCCESS
Throws:
WTException

postProcess

public FormResult postProcess(NmCommandBean clientData,
                              List<ObjectBean> objectBeans)
                       throws WTException


Supported API: true

Specified by:
postProcess in interface ObjectFormProcessorDelegate
Parameters:
clientData -
objectBeans -
Returns:
FormResult with status set to FormProcessingStatus.SUCCESS
Throws:
WTException

postTransactionProcess

public FormResult postTransactionProcess(NmCommandBean clientData,
                                         List<ObjectBean> objectBeans)
                                  throws WTException


Supported API: true

Specified by:
postTransactionProcess in interface ObjectFormProcessorDelegate
Parameters:
clientData -
objectBeans -
Returns:
FormResult with status set to FormProcessingStatus.SUCCESS
Throws:
WTException

preProcess

public FormResult preProcess(NmCommandBean clientData,
                             List<ObjectBean> objectBeans)
                      throws WTException


Supported API: true

Specified by:
preProcess in interface ObjectFormProcessorDelegate
Parameters:
clientData -
objectBeans -
Returns:
FormResult with status set to FormProcessingStatus.SUCCESS
Throws:
WTException