com.ibm.commerce.emarketing.commands

Class EmailPromotionUpdateTaskCmdImpl

  • java.lang.Object
    • com.ibm.websphere.command.CacheableCommandImpl
    • Field Detail

    • Constructor Detail

      • EmailPromotionUpdateTaskCmdImpl

        public EmailPromotionUpdateTaskCmdImpl()
    • Method Detail

      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Checks to see if the command is ready to execute.
        Overrides:
        isReadyToCallExecute in class com.ibm.commerce.command.AbstractECTargetableCommand
        Returns:
        true super.isReadyToCallExecute() returns true and the e-mail promotion ID, e-mail message ID, member group ID, name and store ID setters have been passed data other than null.
      • performExecute

        public void performExecute()
                            throws com.ibm.commerce.exception.ECException
        Performs the execution of the command.
        Specified by:
        performExecute in interface com.ibm.commerce.command.ECCommand
        Overrides:
        performExecute in class com.ibm.commerce.command.AbstractECTargetableCommand
        Throws:
        com.ibm.commerce.exception.ECException - Thrown when EmailPromotionAccessBean or EmailPromotionMemberGroupRelationAccessBean cannot record data successfully.