com.ibm.commerce.rfq.commands

Class RFQResponseCreateCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • RFQResponseCreateCmdImpl

        public RFQResponseCreateCmdImpl()
        constructs an instance of RFQResponseCreateCmdImpl.
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECException
        Create a response Step 1: Create an entry in the rfqrsp table using the TRADING_ID as the RFQRESPONSEID Step 2: Respond FulfillmentTC Step 3: Create Response attachment. Step 4: Respond OrderCommentsTC Step 5: Respond price, quantity and OrderItemPAttributeTC of each product Step 6: Send back success/error message.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException
      • respondPriceAdjustment

        public void respondPriceAdjustment(java.lang.Long resId,
                                           com.ibm.commerce.rfq.utils.RFQResProduct resProduct)
                                    throws ECException
        Respond to the price adjustment of a product
        Parameters:
        resId - response id
        resProduct - response product object
        Throws:
        ECApplicationException
        ECException
      • respondPriceAndQuantity

        public void respondPriceAndQuantity(java.lang.Long resId,
                                            com.ibm.commerce.rfq.utils.RFQResProduct resProduct)
                                     throws ECApplicationException,
                                            ECException
        Respond to the price and quantity of a product
        Parameters:
        resId - response id
        resProduct - response product object
        Throws:
        ECApplicationException
        ECException
      • respondProductAttribute

        public void respondProductAttribute(java.lang.Long respondId,
                                            java.lang.Long rfqRspProdId,
                                            java.util.Vector productAttributeList)
                                     throws ECApplicationException,
                                            ECException
        Respond the OrderPAttributeTC of a product
        Parameters:
        respondId - response id
        rfqRspProdId - response product id
        productAttributeList - response product attributes
        Throws:
        ECApplicationException
        ECException
      • getRspProdId

        public java.lang.Long getRspProdId()
        Returns the response product ID set by respondPriceAndQuantity.
        Returns:
        The response product ID
      • setRspProdId

        public void setRspProdId(java.lang.Long rspProdId)
        Sets the response product ID
        Parameters:
        rspProdId - The response product ID