com.ibm.commerce.order.commands

Class OrderCommentRecordContrlCmdImpl

See Also:
Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • OrderCommentRecordContrlCmdImpl

        public OrderCommentRecordContrlCmdImpl()
    • Method Detail

      • callOrderCommentsNotifyCmd

        public void callOrderCommentsNotifyCmd(java.lang.Long orderId)
                                        throws ECException
        The method calls CSROrderCommentsNotifyCmd command to send comment to a specified email address.
        Parameters:
        orderId - The order ID.
        Throws:
        ECException - if the comment can not be sent.
      • setOrderchangeReasonId

        public void setOrderchangeReasonId(java.lang.Integer[] arrOrderChangeReason)
        This method sets the order change reason.
        Specified by:
        setOrderchangeReasonId in interface OrderCommentRecordContrlCmd
        Parameters:
        arrOrderChangeReason - the order change reason Ids.
      • setComments

        public void setComments(java.lang.String[] arrComments)
        This method sets the comments for the changed Order.
        Specified by:
        setComments in interface OrderCommentRecordContrlCmd
        Parameters:
        arrComments - the comments.
      • getComments

        public java.lang.String[] getComments()
        This method gets the order comments.
        Returns:
        order comments.
      • setBusinesssChannelId

        public void setBusinesssChannelId(java.lang.Integer[] arrBusinessChannelId)
        This method sets the channel id from which the order change comments come.
        Specified by:
        setBusinesssChannelId in interface OrderCommentRecordContrlCmd
        Parameters:
        arrBusinessChannelId - channel Id.
      • setCsrId

        public void setCsrId(java.lang.Long[] arrCSRId)
        This method sets the customer service representative Id array.
        Specified by:
        setCsrId in interface OrderCommentRecordContrlCmd
        Parameters:
        arrCSRId - this is the array of customer service representative Id
      • setField1

        public void setField1(java.lang.Integer[] arrField1)
        This method sets the Field1 array.
        Specified by:
        setField1 in interface OrderCommentRecordContrlCmd
        Parameters:
        arrField1 - array of field1.
      • setField2

        public void setField2(java.lang.String[] arrField2)
        This method sets the Field2 array.
        Specified by:
        setField2 in interface OrderCommentRecordContrlCmd
        Parameters:
        arrField2 - array of Field2.
      • setField3

        public void setField3(java.sql.Timestamp[] arrField3)
        This method sets the Field3 array.
        Specified by:
        setField3 in interface OrderCommentRecordContrlCmd
        Parameters:
        arrField3 - array of Field3.
      • setOrderId

        public void setOrderId(java.lang.Long argOrderId)
        This method sets the order id from which the order change comments come.
        Specified by:
        setOrderId in interface OrderCommentRecordContrlCmd
        Parameters:
        argOrderId - the order Id.
      • setOrderVersion

        public void setOrderVersion(java.lang.Short argOrderVersion)
        This method sets the order version number which the order change comments are against.
        Specified by:
        setOrderVersion in interface OrderCommentRecordContrlCmd
        Parameters:
        argOrderVersion - order version number.
      • getOrderId

        public java.lang.Long getOrderId()
        This method gets the order Id.
        Returns:
        Order Id.
      • setSubject

        public void setSubject(java.lang.String[] argSubject)
        This method sets the subjects of the email.
        Specified by:
        setSubject in interface OrderCommentRecordContrlCmd
        Parameters:
        argSubject - subjects of the email.
      • reset

        public void reset()
        This method resets the command for reusing.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
        See Also:
        Command.reset()
      • getIsNotifyShopper

        public java.lang.String[] getIsNotifyShopper()
        This method gets the notifyShopper parameters
        Returns:
        if notify shopper is needed
      • getReceiversEmailAddress

        public java.lang.String[] getReceiversEmailAddress()
        Returns:
        String[]
      • setIsNotifyShopper

        public void setIsNotifyShopper(java.lang.String[] strings)
        This method sets if send email to shopper.
        Specified by:
        setIsNotifyShopper in interface OrderCommentRecordContrlCmd
        Parameters:
        strings - if sent email to shopper.
      • setReceiversEmailAddress

        public void setReceiversEmailAddress(java.lang.String[] strings)
        This method sets if send email to shopper.
        Specified by:
        setReceiversEmailAddress in interface OrderCommentRecordContrlCmd
        Parameters:
        strings - if sent email to shopper.