com.ibm.commerce.tools.epromotion.commands

Class ChangeStatusRLPromotionCmdImpl

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The copyright information.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ChangeStatusRLPromotionCmdImpl

        public ChangeStatusRLPromotionCmdImpl()
        The ChangeStatusRLPromotionCmdImpl constructor.
    • Method Detail

      • 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.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Overrides:
        isReadyToCallExecute in class AbstractECTargetableCommand
        Returns:
        boolean
      • 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
      • updateCalCodeBean

        public void updateCalCodeBean()
                               throws ECException
        Updates the CALCODE bean.
        Throws:
        ECException - The exception description.
      • updatePXPromotionBean

        public void updatePXPromotionBean()
                                   throws ECException
        Updates the PX_PROMOTION table and CLCDPROMO table.
        Throws:
        ECException - The exception description.