Package com.ptc.core.components.forms
Class DefaultObjectFormProcessorDelegate
java.lang.Object
com.ptc.core.components.forms.DefaultObjectFormProcessorDelegate
- All Implemented Interfaces:
ObjectFormProcessorDelegate
- Direct Known Subclasses:
com.ptc.windchill.enterprise.attachments.forms.AbstractAttachmentsSubFormProcessor,AffectedAndResultingItemsFormDelegate,AnnotationsForAffectedDataFormDelegate,ChangeItemFormDelegate,ImpactedItemsFormDelegate,ImplementationPlanFormDelegate,LocationPropertyProcessor,ParticipantsFormDelegate,PasteVariantSpecDelegate,PromotionObjectsFormDelegate,RelatedChangeItemFormDelegate
public class DefaultObjectFormProcessorDelegate
extends Object
implements ObjectFormProcessorDelegate
A default ObjectFormProcessorDelegate whose preProcess(), doOperation(), postProcess(),
and postTransactionProcess() 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
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptiondoOperation(NmCommandBean clientData, List<ObjectBean> objectBeans)
Supported API: truepostProcess(NmCommandBean clientData, List<ObjectBean> objectBeans)
Supported API: truepostTransactionProcess(NmCommandBean clientData, List<ObjectBean> objectBeans)
Supported API: truepreProcess(NmCommandBean clientData, List<ObjectBean> objectBeans)
Supported API: true
-
Method Details
-
doOperation
public FormResult doOperation(NmCommandBean clientData, List<ObjectBean> objectBeans) throws WTException
Supported API: true- Specified by:
doOperationin interfaceObjectFormProcessorDelegate- 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:
postProcessin interfaceObjectFormProcessorDelegate- 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:
postTransactionProcessin interfaceObjectFormProcessorDelegate- 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:
preProcessin interfaceObjectFormProcessorDelegate- Parameters:
clientData-objectBeans-- Returns:
- FormResult with status set to FormProcessingStatus.SUCCESS
- Throws:
WTException
-