com.ibm.commerce.tools.epromotion.commands
Class ChangeStatusRLPromotionCmdImpl
java.lang.Object
CacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.tools.epromotion.commands.ChangeStatusRLPromotionCmdImpl
- All Implemented Interfaces:
- ChangeStatusRLPromotionCmd, ECCommand, ECTargetableCommand, RLConstants, TaskCommand
- public class ChangeStatusRLPromotionCmdImpl
- extends TaskCommandImpl
- implements ChangeStatusRLPromotionCmd, RLConstants
This task command changes the status of a rules-based promotion
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
the copyright information |
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 |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- the copyright information
- See Also:
- Constant Field Values
ChangeStatusRLPromotionCmdImpl
public ChangeStatusRLPromotionCmdImpl()
- The ChangeStatusRLPromotionCmdImpl constructor.
getCalcodeId
public java.lang.String getCalcodeId()
- returns calcode_id
-
- Returns:
- java.lang.String
getStatus
public java.lang.Integer getStatus()
- returns status
-
- Returns:
- java.lang.Integer
isReadyToCallExecute
public boolean isReadyToCallExecute()
- Return true if it is ready to call performExecute() method.
-
- Overrides:
- isReadyToCallExecute in class AbstractECTargetableCommand
-
- Returns:
- boolean
performExecute
public void performExecute()
throws ECSystemException,
ECException
- Command execution body
-
- Specified by:
- performExecute in interface ECCommand
- Overrides:
- performExecute in class AbstractECTargetableCommand
-
- Throws:
- ECSystemException
- ECException
setCalcodeId
public void setCalcodeId(java.lang.String newCalcodeId)
- Sets calcode_id
-
- Specified by:
- setCalcodeId in interface ChangeStatusRLPromotionCmd
-
- Parameters:
- newCalcodeId - java.lang.String
setStatus
public void setStatus(java.lang.Integer newStatus)
- sets status
-
- Specified by:
- setStatus in interface ChangeStatusRLPromotionCmd
-
- Parameters:
- newStatus - java.lang.Integer
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.