com.ibm.commerce.rfq.commands

Class RFQTCRemoveCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • RFQTCRemoveCmdImpl

        public RFQTCRemoveCmdImpl()
    • 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
        Remove a TC from an RFQ.

        Behaviour

        • Checks if the RFQ is in the draft state.
        • Calls DeleteOrderCommentsTC to remove a 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
        • getTcId

          public java.lang.Long getTcId()
          Gets the tcId
          Returns:
          Returns a java.lang.Long
        • setTcId

          public void setTcId(java.lang.Long tcId)
          Sets the tcId
          Parameters:
          tcId - The tcId to set