com.ibm.commerce.tools.optools.order.commands

Class CSREmailOrderCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • CSREmailOrderCmdImpl

        public CSREmailOrderCmdImpl()
    • Method Detail

      • getBCC

        public java.lang.String getBCC()
        Gets the BCC recipients.
        Returns:
        The BCC recipients
      • getCC

        public java.lang.String getCC()
        Gets the CC recipients.
        Returns:
        The CC recipients.
      • getMessageType

        public java.lang.String getMessageType()
        Gets the message type name.
        Returns:
        The message type name.
      • getNLS

        public java.util.Hashtable getNLS()
        Gets the NLS messages hashtable.
        Returns:
        The messages hashtable.
      • getOrderId

        public java.lang.String getOrderId()
        Gets the order reference number.
        Returns:
        The order reference number.
      • getRecipients

        public java.lang.String getRecipients()
        Gets the recipients.
        Returns:
        The recipients.
      • getRedirectURL

        public java.lang.String getRedirectURL()
        Gets the redirect url.
        Returns:
        The redirect url.
      • getSender

        public java.lang.String getSender()
        Gets the sender of the email.
        Returns:
        The sender.
      • getSubject

        public java.lang.String getSubject()
        Gets the subject of the email.
        Returns:
        The subject.
      • getXmlFile

        public java.lang.String getXmlFile()
        Gets the xmlFile to return to when the command has completed.
        Returns:
        The xmlFile of the tool widget.
      • performExecute

        public void performExecute()
                            throws ECException
        Business logic of the command to send the message type using the messaging subsystem.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException - if the OrderReceived message can not be composed or sent.
      • setBCC

        public void setBCC(java.lang.String newBCC)
        Sets the BCC recipients of the message.
        Parameters:
        newBCC - The string of BCC recipients email addresses.
      • setCC

        public void setCC(java.lang.String newCC)
        Sets the CC recipients of the message.
        Parameters:
        newCC - The string of CC recipients email addresses.
      • setMessageType

        public void setMessageType(java.lang.String newMessageType)
        Sets the message type name.
        Parameters:
        newMessageType - The message type name.
      • setNLS

        public void setNLS(java.util.Hashtable newNLS)
        Sets the NLS hashtable.
        Parameters:
        newNLS - The hashtable with NLS messages
      • setOrderId

        public void setOrderId(java.lang.String newOrderId)
        Sets the order reference number.
        Parameters:
        newOrderId - The order reference number.
      • setRecipients

        public void setRecipients(java.lang.String newRecipients)
        Sets the recipients of the message.
        Parameters:
        newRecipients - The string of recipients email addresses.
      • setRedirectURL

        public void setRedirectURL(java.lang.String newURL)
        Sets the redirect url.
        Parameters:
        newURL - The redirect url.
      • setSender

        public void setSender(java.lang.String newSender)
        Sets the sender of the message.
        Parameters:
        newSender - The sender used.
      • setSubject

        public void setSubject(java.lang.String newSubject)
        Sets the subject of the message.
        Parameters:
        newSubject - The subject used.
      • setXmlFile

        public void setXmlFile(java.lang.String newXmlFile)
        Sets XML file.
        Parameters:
        newXmlFile - The XML file used.