com.ibm.commerce.rfq.commands

Class ModifyResponsePAttributeCmdImpl

    • Field Detail

      • COPYRIGHT

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

        public static java.lang.Integer VALUE_CHANGE_FLAG
        Change flag.
    • Constructor Detail

      • ModifyResponsePAttributeCmdImpl

        public ModifyResponsePAttributeCmdImpl()
        ModifyResponsePAttributeCmdImpl constructor.
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECException
        Processes the products and related personalization attributes of an RFQ response This method does the following:
        1. Gets all products
        2. Modifies the product price,quantity,currency and unit for each product
        3. Modifies the product level comments and specifications if they exist
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECApplicationException - if using RFQResponseProductAccessBean fail.or modify item level pattribute fail
        ECSystemException - if System error happen
        ECException
      • setProductVector

        public void setProductVector(java.util.Vector newProductVector)
        Sets RFQ Response product list.
        Specified by:
        setProductVector in interface ModifyResponsePAttributeCmd
        Parameters:
        newProductVector - The RFQ Response product list.
      • setRequestId

        public void setRequestId(java.lang.Long newRequestId)
        Sets RFQ requestId
        Specified by:
        setRequestId in interface ModifyResponsePAttributeCmd
        Parameters:
        newRequestId - The RFQ request ID.
      • setResponseId

        public void setResponseId(java.lang.Long newResponseId)
        Sets RFQ Response id
        Specified by:
        setResponseId in interface ModifyResponsePAttributeCmd
        Parameters:
        newResponseId - The RFQ response ID.