com.ibm.commerce.tools.optools.order.commands

Interface CSROrderStatusChangeCmd

  • 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:
    CSROrderStatusChangeCmdImpl


    public interface CSROrderStatusChangeCmd
    extends TaskCommand
    Updates the status of the order and its order items.

    Behavior

    • Changes the status of the order and its items to the new status.

    Parameters

    orderIds
    The array of order Ids that are to be changed.
    newStatus
    The status that the orders are changed into. Use method setNewStatus() to set the new status.

    Exception Conditions

    • It will throw exceptions for problems retrieving or saving orders and order items.
    • Field Detail

      • COPYRIGHT

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

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

      • setNewStatus

        void setNewStatus(java.lang.String newStatus)
        Sets the new status
        Parameters:
        newStatus - The new status into which the orders are set.
      • setOrderIds

        void setOrderIds(java.util.Vector orderIds)
        Sets the order IDs that is to be changed into the new order status.
        Parameters:
        orderIds - The order IDs that are to be changed into the new status.