java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.tools.epromotion.commands.CreateRLPromotionCmdImpl
This command creates a promotion
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT the copyright information |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.tools.epromotion.commands. CreateRLPromotionCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
CreateRLPromotionCmdImpl() CreateDiscountCmdImpl constructor comment. |
Method Summary | |
---|---|
void |
createCalCodeBean() Create and populate the calCodeBean |
void |
createCalCodeMgpBean() Create and populate calcodeMgp Bean |
void |
createCalDescBean() Creates Calcode Description |
void |
createCatEntCalCodeBean() create catEntCalcode |
void |
createRlDiscountBean() create RLDiscount |
void |
createShippingCalCodeBean() create Shipping entry for the calcode if shipping discount |
boolean |
isReadyToCallExecute() isReadyToCallExecute |
void |
performExecute() Command execution body |
void |
setRLPromotion(
RLPromotion newRLPromotion) Stores RLPromotion |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public CreateRLPromotionCmdImpl()
Method Detail |
---|
public void createCalCodeBean() throws ECSystemException
ECApplicationException
ECSystemException
public void createCalCodeMgpBean() throws ECSystemException
ECApplicationException
ECSystemException
public void createCalDescBean() throws ECSystemException
ECSystemException
public void createShippingCalCodeBean() throws ECSystemException
ECSystemException
public void createCatEntCalCodeBean() throws ECSystemException
ECSystemException
public void createRlDiscountBean() throws ECSystemException
ECSystemException
public boolean isReadyToCallExecute()
isReadyToCallExecute
in class
AbstractECTargetableCommand
public void performExecute() throws ECSystemException, ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECSystemException
ECException
public void setRLPromotion(RLPromotion newRLPromotion)
setRLPromotion
in interface
CreateRLPromotionCmd