Package com.ptc.core.rule.forms
Class EditRuleFormProcessor
java.lang.Object
com.ptc.core.components.forms.DefaultObjectFormProcessor
com.ptc.core.components.forms.DefaultEditFormProcessor
com.ptc.core.rule.forms.EditRuleFormProcessor
- All Implemented Interfaces:
ObjectFormProcessor
This class processes the data entered in the Edit OIR wizard.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionsetResultNextAction(FormResult result, NmCommandBean clientData, List<ObjectBean> objectBeans) Sets the "nextAction" attribute on the given FormResult based on the processing status.Methods inherited from class com.ptc.core.components.forms.DefaultEditFormProcessor
preProcessMethods inherited from class com.ptc.core.components.forms.DefaultObjectFormProcessor
continueProcessing, getDelegates, getSuccessFeedbackMessage, getSuccessFeedbackMessage, getSuccessMessageBody, getSuccessMessageBodyForMulti, getSuccessMessageTitle, mergeIntermediateResult, postProcess, postTransactionProcess, processDelegates
-
Method Details
-
setResultNextAction
public FormResult setResultNextAction(FormResult result, NmCommandBean clientData, List<ObjectBean> objectBeans) throws WTException Sets the "nextAction" attribute on the given FormResult based on the processing status.
If the status is SUCCESS or NON_FATAL_ERROR, the nextAction is set to REFRESH_OPENER and a success feedback message is added to the FormResult. If the launching window was a folder browser, information needed to dynamically refresh the parent window also will be returned.
If the status is FAILURE, the nextAction is set to NONE.
This method may be overridden by subclasses desiring different behavior.
Supported API: true- Specified by:
setResultNextActionin interfaceObjectFormProcessor- Overrides:
setResultNextActionin classDefaultObjectFormProcessor- Parameters:
result- - The FormResult to which the action info should be added. Input and output. Required.clientData- - Contains all the form data and other wizard context information. Input. Required.objectBeans- - Contain the object(s) that were created (if successful). One bean per object. Input. Required.- Returns:
- FormResult - the nextAction attribute is set; the refreshInfo attribute may also be set and a success feedback message added.
- Throws:
WTException
-