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.
|
public void validate() throws AbstractApplicationException
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 behavior.