com.ibm.commerce.rfq.commands

Class RFQTCUpdateCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • RFQTCUpdateCmdImpl

        public RFQTCUpdateCmdImpl()
    • Method Detail

      • reset

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

        public void performExecute()
                            throws ECException
        Update TC in an RFQ.

        Behaviour

        • Checks if the RFQ is in the draft state.
        • Calls DeleteOrderCommentsTC to delete the old TC.
        • Calls CreateOrderCommentsTC to add the updated TC.
          Specified by:
          performExecute in interface ECCommand
          Specified by:
          performExecute in interface com.ibm.websphere.command.TargetableCommand
          Overrides:
          performExecute in class AbstractECTargetableCommand
          Throws:
          ECException.
          ECException
          See Also:
          ECCommand#performExecute()
        • getRFQId

          public java.lang.Long getRFQId()
          Returns the RFQ Id.
          Returns:
          The RFQ identifier.
        • setErrorContent

          public void setErrorContent(java.util.Hashtable newErrorContent)
          Copies the incoming hashtable into a member variable.
          Parameters:
          newErrorContent - The incoming hashtable containing errorcodes.
        • getErrorContent

          public java.util.Hashtable getErrorContent()
          Gets the errorContent
          Returns:
          Returns a java.util.Hashtable
        • getTCs

          public java.util.Vector getTCs()
          Gets the tCs
          Returns:
          Returns a java.util.Vector
        • setTCs

          public void setTCs(java.util.Vector tCs)
          Sets the tCs
          Parameters:
          tCs - The tCs to set