com.ibm.commerce.rfq.commands

Class RFQTCAddCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • RFQTCAddCmdImpl

        public RFQTCAddCmdImpl()
    • 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
        Add the TC to the RFQ.

        Behaviour

        • Checks if the RFQ is in the draft state.
        • Use CreateOrderCommentsTC to add the TC to the RFQ.
          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
        • getIsChangeable

          public java.lang.Integer getIsChangeable()
          Gets the isChangeable
          Returns:
          Returns an Integer
        • setIsChangeable

          public void setIsChangeable(java.lang.Integer isChangeable)
          Sets the isChangeable
          Parameters:
          isChangeable - The isChangeable to set
        • getIsRequired

          public java.lang.Integer getIsRequired()
          Gets the isRequired
          Returns:
          Returns an Integer
        • setIsRequired

          public void setIsRequired(java.lang.Integer isRequired)
          Sets the isRequired
          Parameters:
          isRequired - The isRequired to set
        • getTCvalue

          public java.lang.String getTCvalue()
          Gets the tCvalue
          Returns:
          Returns a String
        • setTCvalue

          public void setTCvalue(java.lang.String tCvalue)
          Sets the tCvalue
          Parameters:
          tCvalue - The tCvalue to set