com.ibm.commerce.order.commands

Class OrderRetransferCmdImpl

  • All Implemented Interfaces:
    AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, OrderRetransferCmd, Protectable, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class OrderRetransferCmdImpl
    extends ControllerCommandImpl
    implements OrderRetransferCmd
    This is the default implementation of the OrderRetransferCmd controller command.

    Behavior:

    It is invoked by the WebSphere Commerce scheduler. This class attempts to re-transfer the orders in 'fail to transfer' or 'pending on transfer' status to remote order management system for a given store.
    • It first searches out all the 'fail to transfer' orders. Then it searches out all the expired 'pending on transfer' orders and confirm them with the remote order management system to make sure whether they have already existed in remote order management system. If the pending order already existed in remote order management system, update the order status to 'successfully transferred'. For all the 'fail to transfer' orders and the orders which are still in 'pending on transfer' status, it calls TransferOrderIndependentOfEventCmd task command to re-transfer the order to remote order management system one by one.

    Task command called:

    • TransferOrderIndependentOfEventCmd
    See Also:
    Serialized Form