com.ibm.commerce.rfq.commands

Class RFQResponseProductAcceptCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • RFQResponseProductAcceptCmdImpl

        public RFQResponseProductAcceptCmdImpl()
    • 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
        Accept the RFQ Product in a response

        Behaviour

        • Check if the RFQ response can take partial acception.
        • Checks if the RFQ is in the close state.
        • Mark the product as accepted in RFQRSPEVAL table
        • Mark the response as WON
          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()
          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
        • getResId

          public java.lang.Long getResId()
          Returns the resId.
          Returns:
          java.lang.Long
        • getRfqResProdIds

          public java.lang.Long[] getRfqResProdIds()
          Returns the rfqResProdIds.
          Returns:
          java.lang.Long[]
        • setResId

          public void setResId(java.lang.Long resId)
          Sets the resId.
          Parameters:
          resId - The resId to set
        • setRfqResProdIds

          public void setRfqResProdIds(java.lang.Long[] rfqResProdIds)
          Sets the rfqResProdIds.
          Parameters:
          rfqResProdIds - The rfqResProdId to set