Class ProcessOrderSubmitEventCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, ProcessOrderSubmitEventCmd,,,,,,
    Direct Known Subclasses:
    GiftCenterProcessOrderSubmitEventCmdImpl, SOIProcessOrderSubmitEventCmdImpl

    public class ProcessOrderSubmitEventCmdImpl
    implements ProcessOrderSubmitEventCmd
    This is the default implementation of the task command ProcessOrderSubmitEventCmd interface.


    • Retrieves the transfer order event from the component configuration file under the configuration group/property TransferOrder/event.
    • If the transfer order event is OrderSubmit:
      • If the store's inventory system is DOM:
        • Calls AbstractProcessOrderSubmitEventCmdImpl.transferOrder() to transfer the order.
        • Calls #decrementInventoryCache() to decrement the inventory cache.
      • Calls {@link #setOrderTransferred()} to mark the order as processing.
    See Also:
    Serialized Form
    • Field Detail


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

        public static final java.lang.String RECURRING_ORDER_TYPE
        The order type for recurring order.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProcessOrderSubmitEventCmdImpl

        public ProcessOrderSubmitEventCmdImpl()
    • Method Detail

      • reset

        public void reset()
        This method should be called after a command has been executed to reset its state variables.
        Specified by:
        reset in interface
        reset in class AbstractECTargetableCommand
      • setOrderId

        public void setOrderId(java.lang.Long enOrderId)
        This method sets the order Id.
        Specified by:
        setOrderId in interface ProcessOrderSubmitEventCmd
        enOrderId - The order id.