public class ProcessPromotionCreateActionCmdImpl extends AbstractProcessCreateActionUsingBusinessObjectMediatorCmdImpl implements ProcessPromotionActionCmd
| Constructor and Description |
|---|
ProcessPromotionCreateActionCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
performExecute()
This method calls the method of its super class to create a promotion
using mediator.
|
void |
validate()
This method calls the mehtod of its super class and then checks whether a
calculation code record with the same promotion name already exists or
not.
|
getChangeBusinessObjectMediator, getChangeControlBusinessObjectMediatorgetActionExpression, getNoun, isGeneric, isReadyToCallExecute, reset, setActionExpression, setNoun, setPersistentObjectsexecute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisGeneric, setActionExpression, setNoun, setPersistentObjectspublic void validate()
throws AbstractApplicationException
validate in interface AbstractProcessNounActionCmdvalidate in class AbstractProcessCreateActionUsingBusinessObjectMediatorCmdImplAbstractApplicationException - The application exceptionAbstractProcessNounActionCmd.validate()public void performExecute()
throws java.lang.Exception
Note: The rule XML is generated using XSLT transformaiton with the promotion base attributes, however specific configuraiton data for the TargetingCondition, PurchaseCondition and CustomConditions will not be available in this generated rule XML. The complete rule XML will only be built during the promotion activation process according to the final authoring data.
When override this method, it is recommended to call the method of the super class in order to maintain the default behaviour.
performExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractProcessCreateActionUsingBusinessObjectMediatorCmdImpljava.lang.Exception - A problem happened during processing the create action.TargetableCommand.performExecute()