Class ReprepareOrderCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, ReprepareOrderCmd,,,,,,
    Direct Known Subclasses:

    public class ReprepareOrderCmdImpl
    extends TaskCommandImpl
    implements ReprepareOrderCmd
    This is the default implementation of the ReprepareOrderCmd task command.


    • new a OrderProcessingHelper utility object.
    • For each order passed in:
      • Initialize the OrderProcessingHelper object.
      • set the shipping, shipping adjustment, sales tax, shipping tax calculation usages to the OrderProcessingHelper object
      • Call the OrderProcessingHelper.calculateShippingTaxAndTotals(String) to recalculate the specified charges then lock the order.
    See Also:
    Serialized Form
    • Field Detail


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

      • ReprepareOrderCmdImpl

        public ReprepareOrderCmdImpl()
    • Method Detail

      • getOrders

        public java.util.Vector getOrders()
        Gets ids of the orders to be reprepared.
        a vector of order access beans.
      • setOrders

        public void setOrders(java.util.Vector newOrders)
        Sets ids of the orders to be reprepared.
        Specified by:
        setOrders in interface ReprepareOrderCmd
        newOrders - a vector of order access beans.