java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.tools.epromotion.commands.ChangeStatusRLPromotionCmdImpl
This task command changes the status of a rules-based 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. ChangeStatusRLPromotionCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
ChangeStatusRLPromotionCmdImpl() The ChangeStatusRLPromotionCmdImpl constructor. |
Method Summary | |
---|---|
java.lang.String |
getCalcodeId() returns calcode_id |
java.lang.Integer |
getStatus() returns status |
boolean |
isReadyToCallExecute() Return true if it is ready to call performExecute() method. |
void |
performExecute() Command execution body |
void |
setCalcodeId(java.lang.String newCalcodeId) Sets calcode_id |
void |
setStatus(java.lang.Integer newStatus) sets status |
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 ChangeStatusRLPromotionCmdImpl()
Method Detail |
---|
public java.lang.String getCalcodeId()
public java.lang.Integer getStatus()
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 setCalcodeId(java.lang.String newCalcodeId)
setCalcodeId
in interface
ChangeStatusRLPromotionCmd
newCalcodeId
- java.lang.Stringpublic void setStatus(java.lang.Integer newStatus)
setStatus
in interface
ChangeStatusRLPromotionCmd
newStatus
- java.lang.Integer