java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.order.commands.ExtOrderCopyCmdImpl
Empty default implementation of the
ExtOrderCopyCmd
task command interface.
This command uses the following AccessBeans:
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.order.commands. ExtOrderCopyCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
ExtOrderCopyCmdImpl() |
Method Summary | |
---|---|
void |
performExecute() Executes the main business logic of the command. |
void |
setCopiedOrderItems(java.util.HashMap ahshCopiedOrderItems) Sets the copied OrderItems. |
void |
setDeletedOrderItemIds(java.util.Set asetDeletedOrderItemIds) Sets the identfiers of deleted OrderItems. |
void |
setNewOrderItems(java.util.HashMap ahshNewOrderItems) Sets the new OrderItems. |
void |
setOrderInfoFrom(
OrderAccessBean aabOrderInfoFrom) Sets the Order from which the Order level info is copied. |
void |
setPayInfoFrom(
OrderAccessBean aabPayInfoFrom) Sets the Order from which the payment information is copied. |
void |
setRequestProperties(
TypedProperty aRequestProperties) Sets the requestProperties object for this command. |
void |
setResponseProperties(
TypedProperty aResponseProperties) Sets the responseProperties object that the calling command has produced. |
void |
setToOrder(
OrderAccessBean aabToOrder) Sets the target order. |
void |
setUpdatedOrderItems(java.util.HashMap ahshUpdatedOrderItems) 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
Constructor Detail |
---|
public ExtOrderCopyCmdImpl()
Method Detail |
---|
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
public void setOrderInfoFrom(OrderAccessBean aabOrderInfoFrom)
setOrderInfoFrom
in interface
ExtOrderCopyCmd
aabOrderInfoFrom
- the Order from which the Order level info
is copied.public void setPayInfoFrom(OrderAccessBean aabPayInfoFrom)
setPayInfoFrom
in interface
ExtOrderCopyCmd
aabPayInfoFrom
- the Order from which the payment information
is copied.public void setRequestProperties(TypedProperty aRequestProperties)
setRequestProperties
in interface
ExtOrderCopyCmd
aRequestProperties
- the request
properties.public void setResponseProperties(TypedProperty aResponseProperties)
setResponseProperties
in interface
ExtOrderCopyCmd
aResponseProperties
- the responseProperties object that the
calling command has produced.public void setToOrder(OrderAccessBean aabToOrder)
setToOrder
in interface
ExtOrderCopyCmd
aabToOrder
- the Order that has been created or updated by the
calling command.public void setNewOrderItems(java.util.HashMap ahshNewOrderItems)
setNewOrderItems
in interface
ExtOrderCopyCmd
ahshNewOrderItems
- the new OrderItems.
public void setCopiedOrderItems(java.util.HashMap ahshCopiedOrderItems)
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.
setCopiedOrderItems
in interface
ExtOrderCopyCmd
ahshCopiedOrderItems
- the copied OrderItems.
public void setUpdatedOrderItems(java.util.HashMap ahshUpdatedOrderItems)
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.
setUpdatedOrderItems
in interface
ExtOrderCopyCmd
ahshUpdatedOrderItems
- the updated OrderItems.
public void setDeletedOrderItemIds(java.util.Set asetDeletedOrderItemIds)
setDeletedOrderItemIds
in interface
ExtOrderCopyCmd
asetDeletedOrderItemIds
- the elements are the (String)
identifiers of the deleted OrderItems.