com.ibm.commerce.order.commands

Class ExtOrderCopyCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • ExtOrderCopyCmdImpl

        public ExtOrderCopyCmdImpl()
    • Method Detail

      • setOrderInfoFrom

        public void setOrderInfoFrom(OrderAccessBean aabOrderInfoFrom)
        Sets the Order from which the Order level info is copied.
        Specified by:
        setOrderInfoFrom in interface ExtOrderCopyCmd
        Parameters:
        aabOrderInfoFrom - the Order from which the Order level info is copied.
      • setPayInfoFrom

        public void setPayInfoFrom(OrderAccessBean aabPayInfoFrom)
        Sets the Order from which the payment information is copied.
        Specified by:
        setPayInfoFrom in interface ExtOrderCopyCmd
        Parameters:
        aabPayInfoFrom - the Order from which the payment information is copied.
      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperties)
        Sets the requestProperties object for this command.
        Specified by:
        setRequestProperties in interface ExtOrderCopyCmd
        Parameters:
        aRequestProperties - the request properties.
      • setResponseProperties

        public void setResponseProperties(TypedProperty aResponseProperties)
        Sets the responseProperties object that the calling command has produced.
        Specified by:
        setResponseProperties in interface ExtOrderCopyCmd
        Parameters:
        aResponseProperties - the responseProperties object that the calling command has produced.
      • setToOrder

        public void setToOrder(OrderAccessBean aabToOrder)
        Sets the target order.
        Specified by:
        setToOrder in interface ExtOrderCopyCmd
        Parameters:
        aabToOrder - the Order that has been created or updated by the calling command.
      • setNewOrderItems

        public void setNewOrderItems(java.util.HashMap ahshNewOrderItems)
        Sets the new OrderItems.

        The key (that is, enumeration group) can be used to correlate a new OrderItem with a source (that is copied) OrderItem.

        A new OrderItem may be created from input parameters only (that is, not copied from a source OrderItem). In such cases, the new OrderItem's enumeration group will not be found in the copiedOrderItems HashMap.
        Specified by:
        setNewOrderItems in interface ExtOrderCopyCmd
        Parameters:
        ahshNewOrderItems - the new OrderItems.
      • Key: enumeration group (Integer).
      • Value: new OrderItem (OrderItemAccessBean).
      • setCopiedOrderItems

        public void setCopiedOrderItems(java.util.HashMap ahshCopiedOrderItems)
        Sets the copied OrderItems.

        The key (that is enumeration group) can be used to correlate a new OrderItem with a source (that is copied) OrderItem.

        A new OrderItem may be created from input parameters only (that is, not copied from a source OrderItem). In such cases, the new OrderItem's enumeration group will not be found in the copiedOrderItems HashMap.

        The OrderItemAccessBeans may reference OrderItems that have since been deleted. Use the Set provided by ExtOrderCopyCmd.setDeletedOrderItemIds(Set) to determine if an OrderItemAccessBean has been deleted.

        The OrderItemAccessBeans contain information obtained from the database before any modifications were made. Use OrderItemAccessBean#refreshCopyHelper() to obtain the updated OrderItemAccessBean information.
        Specified by:
        setCopiedOrderItems in interface ExtOrderCopyCmd
        Parameters:
        ahshCopiedOrderItems - the copied OrderItems.
      • Key: enumeration group (Integer).
      • Value: copied OrderItem (OrderItemAccessBean).
      • setUpdatedOrderItems

        public void setUpdatedOrderItems(java.util.HashMap ahshUpdatedOrderItems)
        Sets the updated OrderItems.

        The OrderItemAccessBeans may reference OrderItems that have since been deleted. Use the Set provided by ExtOrderCopyCmd.setDeletedOrderItemIds(Set) to determine if an OrderItemAccessBean has been deleted.

        The OrderItemAccessBeans contain information obtained from the database before any modifications were made. Use OrderItemAccessBean#refreshCopyHelper() to obtain the updated OrderItemAccessBean information.
        Specified by:
        setUpdatedOrderItems in interface ExtOrderCopyCmd
        Parameters:
        ahshUpdatedOrderItems - the updated OrderItems.
      • Key: enumeration group (Integer).
      • Value: updated OrderItem (OrderItemAccessBean).
      • setDeletedOrderItemIds

        public void setDeletedOrderItemIds(java.util.Set asetDeletedOrderItemIds)
        Sets the identifiers of deleted OrderItems.
        Specified by:
        setDeletedOrderItemIds in interface ExtOrderCopyCmd
        Parameters:
        asetDeletedOrderItemIds - the elements are the (String) identifiers of the deleted OrderItems.