com.ibm.commerce.orderitems.commands

Interface CheckAndResetOrderItemPriceFlagCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    CheckAndResetOrderItemPriceFlagCmdImpl


    public interface CheckAndResetOrderItemPriceFlagCmd
    extends TaskCommand
    This task command is used to check and reset the bit price flag "PRICE_REFRESHED" for the order items if price is expired. The flag PRICE_REFRESHED indicates whether the price should be recalculated. If the price is expired, the flag should be reset to 0 and price should be recalculated.
    It is usually called by controller commands OrderItemUpdateCmd, OrderItemDisplayCmd and OrderCalculateCmd before order item price is updated.
    The default implementation of this command is CheckAndResetOrderItemPriceFlagCmdImpl.
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String defaultCommandClassName
        The default implementation of the command.
        See Also:
        Constant Field Values
    • Method Detail

      • setOrderItems

        void setOrderItems(java.util.Vector argVecOrderItemAB)
        This method sets the vector of order item access beans whose price flags will be checked and reset.
        Parameters:
        argVecOrderItemAB - the vector of order item access beans.