Package com.ptc.windchill.esi.forms
Class EditDistributionTargetFormProcessor
java.lang.Object
com.ptc.core.components.forms.DefaultObjectFormProcessor
com.ptc.core.components.forms.DefaultEditFormProcessor
com.ptc.windchill.esi.forms.EditDistributionTargetFormProcessor
- All Implemented Interfaces:
ObjectFormProcessor
Edit Distribution Target Wizard Form Processor. Processes Wizard data and updates the ESITarget object appropriately
Supported API: true
Extendable: false
Since:
Windchill 10.0
Supported API: true
Extendable: false
Since:
Windchill 10.0
- See Also:
-
Field Summary
Fields inherited from class com.ptc.core.components.forms.DefaultEditFormProcessor
isAliasAttrOnMasterFields inherited from class com.ptc.core.components.forms.DefaultObjectFormProcessor
delegates, DO_OPERATION, overallResult, POST_PROCESS, POST_TRANSACTION_PROCESS, PRE_PROCESS -
Method Summary
Modifier and TypeMethodDescriptiondoOperation(NmCommandBean clientData, List<ObjectBean> objectBeans) Fetches the object from the only ObjectBean element in the input list and checks its type.Methods inherited from class com.ptc.core.components.forms.DefaultEditFormProcessor
checkForMasterAttributes, getEditItemInstance, getObjectBeingEdited, getObjFromDatabase, preProcess, setRefreshInfoMethods inherited from class com.ptc.core.components.forms.DefaultObjectFormProcessor
continueProcessing, execute, getDelegates, getSuccessFeedbackMessage, getSuccessFeedbackMessage, getSuccessMessageBody, getSuccessMessageBodyForMulti, getSuccessMessageTitle, isUseObjectReference, mergeIntermediateResult, postProcess, postTransactionProcess, processDelegates, removeTempFiles, setDelegates, setResultNextAction, setUseObjectReference
-
Method Details
-
doOperation
public FormResult doOperation(NmCommandBean clientData, List<ObjectBean> objectBeans) throws WTException Fetches the object from the only ObjectBean element in the input list and checks its type. If the object is of type ESITarget, the method validates the associated ESI response meta information file (provided the target is active), fetches the processor for the target and updates the target in the database (if an update operation is permitted for the target). Performs the relevant pre and post-processing activities before and after updating the target respectively, by invoking certain APIs on the processor. The method does nothing if the input list is empty, or the object in the ObjectBean is of type other than ESITarget.
Supported API: true- Specified by:
doOperationin interfaceObjectFormProcessor- Overrides:
doOperationin classDefaultEditFormProcessor- Parameters:
clientData- - Contains all of the request form data and other wizard context information.objectBeans- - List of ObjectBean elements, each of which holds the object instance to be updated in the database. This method expects the list to contain a single element.- Returns:
- - A FormResult object, with the appropriate status of the operation performed; for e.g., the status would indicate a failure if an update operation on the input target is not permitted.
- Throws:
WTException- , if any of the invoked methods throws this exception.
-