com.ibm.commerce.utf.commands

Class ModifyOrderCommentsTCCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, ModifyOrderCommentsTCCmd, 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 ModifyOrderCommentsTCCmdImpl
    extends TaskCommandImpl
    implements ModifyOrderCommentsTCCmd
    Implementation to modify terms and conditions of type "OrderComments".

    This is the default implementation of the ModifyOrderCommentsTCCmd. This command uses the following Helper Class:

    • RFQComments
    • UTFCmdUtil
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

        public java.lang.Long tradingId
        Trading Id.
      • commentsVector

        public java.util.Vector commentsVector
        Comment Vector.
    • Constructor Detail

      • ModifyOrderCommentsTCCmdImpl

        public ModifyOrderCommentsTCCmdImpl()
        ModifyOrderCommentsTCCmdImpl constructor.
    • Method Detail

      • reset

        public void reset()
        Reset the command.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • getCommentsVector

        public java.util.Vector getCommentsVector()
        Retrieves a vector of freeform comments.
        Returns:
        The list of freeform comments that need to be converted into TCs.
      • getTradingId

        public java.lang.Long getTradingId()
        Retrieves the trading agreement ID.
        Returns:
        The ID of the trading agreement.
      • setCommentsVector

        public void setCommentsVector(java.util.Vector newCommentsVector)
        Stores the list of freeform comments that need to be converted into TCs.
        Specified by:
        setCommentsVector in interface ModifyOrderCommentsTCCmd
        Parameters:
        newCommentsVector - The list of freeform comments.
      • setTradingId

        public void setTradingId(java.lang.Long newTradingId)
        Stores the incoming trading agreement ID.
        Specified by:
        setTradingId in interface ModifyOrderCommentsTCCmd
        Parameters:
        newTradingId - The ID of the trading agreement.