com.ibm.commerce.rfq.commands

Class ModifyResponseFulfillmentTCCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • ModifyResponseFulfillmentTCCmdImpl

        public ModifyResponseFulfillmentTCCmdImpl()
        ModifyResponseFulfillmentTCCmdImpl constructor comment.
    • Method Detail

      • getFfmcenterObj

        public java.util.Hashtable getFfmcenterObj()
        Gets RFQ Response fulfillment center information
        Returns:
        java.util.Hashtable
      • performExecute

        public void performExecute()
                            throws ECException
        Process the RFQ response level fulfillment center
        This method does the following:
        • Gets the response level fulfillment center information.
        • Converts the fulfillment center into class RFQResFulfillmentTC
        • If the ffmcenterId is null
          1. If the TCid < 0, do nothing
          2. If the TCid exists(>0), delete the old response
        • If the ffmcenterId not null
          1. If the TCid < 0 , create response TCs and RfqResponseTCRelation
          2. If the TCid exists(>0), update the old response TCs
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException - if the input arguments are incorrect or the process of TCs updating fails
      • setFfmcenterObj

        public void setFfmcenterObj(java.util.Hashtable newFfmcenterObj)
        Sets RFQ response fulfillment center information
        Specified by:
        setFfmcenterObj in interface ModifyResponseFulfillmentTCCmd
        Parameters:
        newFfmcenterObj - java.util.Hashtable