public class CreateRLPromotionCmdImpl extends TaskCommandImpl implements CreateRLPromotionCmd, RLConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The copyright information.
|
Constructor and Description |
---|
CreateRLPromotionCmdImpl()
CreateDiscountCmdImpl constructor.
|
Modifier and Type | Method and Description |
---|---|
void | createCalCodeBean()
Create and populate the CALCODE bean.
|
void | createCalCodeMgpBean()
Create and populate CALCODEMGP Bean.
|
void | createCalDescBean()
Creates CALCODE description.
|
void | createCatEntCalCodeBean()
Create catEntCalcode.
|
void | createPXPromotionBean()
Create data in PX_PROMOTION and CLCDPROMO table.
|
void | createRlDiscountBean()
Create RLDISCOUNT.
|
void | createShippingCalCodeBean()
Create Shipping entry for the CALCODE if shipping discount.
|
java.lang.Integer | getCalCodeId()
Returns the CALCODE ID of the newly created promotion.
|
boolean | isReadyToCallExecute()
Get true if it is ready to call performExecute.
|
void | performExecute()
Command execution body.
|
void | setRLPromotion(RLPromotion newRLPromotion)
Stores RLPromotion.
|
public static final java.lang.String COPYRIGHT
public CreateRLPromotionCmdImpl()
public void createCalCodeBean() throws ECSystemException
public void createCalCodeMgpBean() throws ECSystemException
public void createCalDescBean() throws ECSystemException
public void createShippingCalCodeBean() throws ECSystemException
public void createCatEntCalCodeBean() throws ECSystemException
public void createRlDiscountBean() throws ECSystemException
public void createPXPromotionBean() throws ECSystemException
public java.lang.Integer getCalCodeId()
public boolean isReadyToCallExecute()
public void performExecute() throws ECSystemException, ECException
public void setRLPromotion(RLPromotion newRLPromotion)