Class PromotionObjectsFormDelegate
java.lang.Object
com.ptc.core.components.forms.DefaultObjectFormProcessorDelegate
com.ptc.windchill.enterprise.maturity.forms.delegates.PromotionObjectsFormDelegate
- All Implemented Interfaces:
ObjectFormProcessorDelegate
This delegate creates and stores the associations for the promotion objects in the promotion object list of the
promotion request wizard. This delegate performs the following operations:
Supported API: true
Extendable: true
- Creates the baseline and adds the reference to the baseline on the promotion request.
- Creates and stores the promotion seed objects.
- Creates and stores the promotion targets.
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptiondoOperation(NmCommandBean clientData, List<ObjectBean> objectBeans) Creates the baseline and adds the reference to the baseline on the promotion request.postProcess(NmCommandBean clientData, List<ObjectBean> objectBeans) Creates and stores the promotion seed objects and the promotion targets.Methods inherited from class com.ptc.core.components.forms.DefaultObjectFormProcessorDelegate
postTransactionProcess, preProcess, setValue, setValueInTypeInstance, setValueInTypeInstance
-
Method Details
-
doOperation
public FormResult doOperation(NmCommandBean clientData, List<ObjectBean> objectBeans) throws WTException Creates the baseline and adds the reference to the baseline on the promotion request.
Supported API: true- Specified by:
doOperationin interfaceObjectFormProcessorDelegate- Overrides:
doOperationin classDefaultObjectFormProcessorDelegate- Parameters:
clientData-objectBeans-- Returns:
- FormResult with status set to FormProcessingStatus.SUCCESS
- Throws:
WTException
-
postProcess
public FormResult postProcess(NmCommandBean clientData, List<ObjectBean> objectBeans) throws WTException Creates and stores the promotion seed objects and the promotion targets.
Supported API: true- Specified by:
postProcessin interfaceObjectFormProcessorDelegate- Overrides:
postProcessin classDefaultObjectFormProcessorDelegate- Parameters:
clientData-objectBeans-- Returns:
- FormResult with status set to FormProcessingStatus.SUCCESS
- Throws:
WTException
-