com.ibm.commerce.orderitems.commands

Class OrderItemDisplayCmdImpl

  • All Implemented Interfaces:
    AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, OrderItemDisplayCmd, 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 OrderItemDisplayCmdImpl
    extends ControllerCommandImpl
    implements OrderItemDisplayCmd
    This is the default implementation of the OrderItemDisplayCmd controller command used to Display a list of order items with pending order status.

    Input parameters:

    Name Description
    addressId The address Id. Optional
    orderId The order Id abbreviations. Optional
    outOrderName Names of the name-value pairs for Order Id to be added to the response object. Optional

    Output parameters:

    Name Description
    addressId If addressId is passed in, the usable address related to it will be put in.
    The value for outOrderName[i] The array of order Ids.
    errorOrderItemId The array of orderItem Id there are not enough inventory when checking inventory.

    Behaviour:

    • If the addressId is set, the command only displays order items with this shipping address.
    • For each order item in the list, the command does the following:
      • Check the address and update it if it is a temporary address.
      • Update the price for the orderItems
      • Check inventory for the orderItems
    • View Task
      • If the addressId is set, it calls OrderItemDisplayViewShiptoDsp view task
      • otherwise it calls OrderItemDisplayViewShiptoAssoc view task.
    This command calls the following TaskCommands: This command uses the following AccessBeans:
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • OrderItemDisplayCmdImpl

        public OrderItemDisplayCmdImpl()
        Default constructor