public class ExtOrderCopyCmdImpl extends TaskCommandImpl implements ExtOrderCopyCmd
ExtOrderCopyCmd
task command interface.
OrderAccessBean
OrderItemAccessBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
ExtOrderCopyCmdImpl() |
Modifier and Type | Method and Description |
---|---|
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 identifiers 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.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
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.
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.
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.