com.ibm.commerce.orderitems.commands
Interface ExtendOrderItemProcessCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
ExtendOrderItemProcessCmdImpl

public interface ExtendOrderItemProcessCmd
extends TaskCommand

Perform any additional processing required for each product or item, just prior to the completion of the calling command. If unsuccessful, it throws an exception. Usage Examples: Keep track of the total number of products and items that the shopper associates with each shipping address and send a catalog to those recipients who exceed a threshold. For foreign shipments, determine whether or not there are any restrictions on exporting the product or item.


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
static java.lang.String defaultCommandClassName
          The default implementation class.
static java.lang.String NAME
          The name of the Command Interface class.
 
Method Summary
 void setDeletedOrderItemIds(java.util.Set asetDeletedOrderItemIds)
          Sets the identfiers of deleted OrderItems.
 void setNewOrderItems(java.util.Map amapNewOrderItems)
          Sets the newly created OrderItems.
 void setRequestProperties( TypedProperty aRequestProperties)
          Pass the parameters from the caller to the task command.
 void setResponseProperties( TypedProperty aResponseProperties)
          Sets the responseProperties object that the calling command has produced.
 void setUpdatedOrderItems(java.util.Map amapUpdatedOrderItems)           Sets the updated OrderItems.
 

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

NAME

public static final java.lang.String NAME
The name of the Command Interface class.
See Also:
Constant Field Values

defaultCommandClassName

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

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperties)
                          throws ECException
Pass the parameters from the caller to the task command.
Parameters:
aRequestProperties - request properties.
Throws:
ECException.
ECException

setResponseProperties

public void setResponseProperties(TypedProperty aResponseProperties)
Sets the responseProperties object that the calling command has produced.
Parameters:
aResponseProperties - the responseProperties object that the calling command has produced.

setNewOrderItems

public void setNewOrderItems(java.util.Map amapNewOrderItems)
Sets the newly created OrderItems.
Parameters:
amapNewOrderItems - the new OrderItems.
  • Key: OrderItem identifier (String).
  • Value: new OrderItem (OrderItemAccessBean).

setUpdatedOrderItems

public void setUpdatedOrderItems(java.util.Map amapUpdatedOrderItems)
Sets the updated OrderItems. The OrderItemAccessBeans contain the updated information from the database after the updates were made.
Parameters:
amapUpdatedOrderItems - the updated OrderItems.
  • Key: OrderItem identifier (String).
  • Value: new OrderItem (OrderItemAccessBean).

setDeletedOrderItemIds

public void setDeletedOrderItemIds(java.util.Set asetDeletedOrderItemIds)
Sets the identfiers of deleted OrderItems.
Parameters:
asetDeletedOrderItemIds - the elements are the (String) identifiers of the deleted OrderItems.