com.ibm.commerce.orderitems.commands
Class ExtendOrderItemProcessCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.TaskCommandImpl
                    |
                    +--com.ibm.commerce.orderitems.commands.ExtendOrderItemProcessCmdImpl
All Implemented Interfaces:
ECCommand, ECTargetableCommand, ExtendOrderItemProcessCmd, TaskCommand

public class ExtendOrderItemProcessCmdImpl
extends TaskCommandImpl
implements ExtendOrderItemProcessCmd

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.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.orderitems.commands. ExtendOrderItemProcessCmd
defaultCommandClassName, NAME
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
ExtendOrderItemProcessCmdImpl()
           
 
Method Summary
 void performExecute()
          The main entry point of the command.
 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.
 
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

ExtendOrderItemProcessCmdImpl

public ExtendOrderItemProcessCmdImpl()
Method Detail

performExecute

public void performExecute()
The main entry point of the command. The default implementation is doing nothing.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand

setRequestProperties

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

setResponseProperties

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

setNewOrderItems

public void setNewOrderItems(java.util.Map amapNewOrderItems)
Sets the newly created OrderItems.
Specified by:
setNewOrderItems in interface ExtendOrderItemProcessCmd
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.
Specified by:
setUpdatedOrderItems in interface ExtendOrderItemProcessCmd
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.
Specified by:
setDeletedOrderItemIds in interface ExtendOrderItemProcessCmd
Parameters:
asetDeletedOrderItemIds - the elements are the (String) identifiers of the deleted OrderItems.