com.ibm.commerce.rfq.commands

Class RFQItemRemoveCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • RFQItemRemoveCmdImpl

        public RFQItemRemoveCmdImpl()
    • 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
        Submits the RFQ.

        Behaviour

        • Checks if the RFQ is in the draft state.
        • Calls DeleteRFQCatentryRel to remove the item from 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()
        • 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
        • getRfqProdId

          public java.lang.Long getRfqProdId()
          Gets the rfqProdId
          Returns:
          Returns a java.lang.Long
        • setRfqProdId

          public void setRfqProdId(java.lang.Long rfqProdId)
          Sets the rfqProdId
          Parameters:
          rfqProdId - The rfqProdId to set
        • getRfqId

          public java.lang.Long getRfqId()
          Gets the rfqId
          Returns:
          Returns a java.lang.Long
        • setRfqId

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