com.ibm.commerce.order.commands

Class OrderNotifyCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, OrderNotifyCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class OrderNotifyCmdImpl
    extends TaskCommandImpl
    implements OrderNotifyCmd
    Sends order notification message.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • OrderNotifyCmdImpl

        public OrderNotifyCmdImpl()
        Constructor.
    • Method Detail

      • getMessageSubjectParms

        public java.lang.Object[] getMessageSubjectParms()
        Get parameters for notification message subject
        Returns:
        message subject parameters.
      • getNotificationTemplateId

        public java.lang.Integer getNotificationTemplateId()
        Get notification template id.
        Returns:
        notification template id.
      • getOrder

        public OrderAccessBean getOrder()
        Get the order id for which the notification is requested.
        Returns:
        order.
      • getRecipients

        public java.util.Vector getRecipients()
        Get the recipients email addresses (vector of Strings).
        Returns:
        recipients.
      • isNotificationEnabled

        public boolean isNotificationEnabled()
        Check if notification is enabled.
        Returns:
        true if notification enabled, false otherwise.
      • setMessageSubjectParms

        public void setMessageSubjectParms(java.lang.Object[] newMessageSubjectParms)
        Set parameters for notification message subject
        Specified by:
        setMessageSubjectParms in interface OrderNotifyCmd
        Parameters:
        newMessageSubjectParms - message subject parameters.
      • setNotificationEnabled

        public void setNotificationEnabled(boolean newNotificationEnabled)
        Enable or disable order notification.
        Specified by:
        setNotificationEnabled in interface OrderNotifyCmd
        Parameters:
        newNotificationEnabled - notification enabled parameter.
      • setNotificationTemplateId

        public void setNotificationTemplateId(java.lang.Integer newNotificationTemplateId)
        Set notification template id.
        Specified by:
        setNotificationTemplateId in interface OrderNotifyCmd
        Parameters:
        newNotificationTemplateId - notification template id.
      • setOrder

        public void setOrder(OrderAccessBean newOrder)
        Set the order id for which the notification is requested.
        Specified by:
        setOrder in interface OrderNotifyCmd
        Parameters:
        newOrder - order.
      • setRecipients

        public void setRecipients(java.util.Vector newRecipients)
        Set the recipients email addresses (vector of Strings).
        Specified by:
        setRecipients in interface OrderNotifyCmd
        Parameters:
        newRecipients - recipients.