public class ExternalOrderCalculateCmdImpl extends PromotionEngineOrderCalculateCmdImpl implements OrderCalculateCmd
OrderCalculateCmd
controller command. Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
ExternalOrderCalculateCmdImpl()
Constructor for ExternalOrderCalculateCmdImpl.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.order.facade.server.external.ExternalOrderFacadeClient |
getExOrderFacadeClient()
This method returns
ExternalOrderFacadeClient |
java.util.Hashtable |
getOrdersMap()
This method returns the map of the orders.
|
void |
performExecute()
Executes the main business logic of the command implementation.
|
void |
reset()
This method resets instance variables to their initial values.
|
void |
setExOrderFacadeClient(com.ibm.commerce.order.facade.server.external.ExternalOrderFacadeClient exOrderFacadeClient)
This method sets the
ExternalOrderFacadeClient |
void |
setOrders(OrderAccessBean[] aabOrders)
This method sets the order specified to be processed by this command.
|
void |
setOrdersMap(java.util.Hashtable hshOrders)
This method sets the map of the orders
Sets the ihshOrders.
|
void |
setRequestProperties(TypedProperty aRequestProperties)
This method sets the request properties of this command.
|
void |
validateParameters()
This method resolves the orders to be processed from the request.
|
getCustomProperties, getOutOfInventoryCatalogEntryIds, getResources, setCustomProperties, setUsageIds
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
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
getCustomProperties, getOutOfInventoryCatalogEntryIds, setCustomProperties, setUsageIds
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public ExternalOrderCalculateCmdImpl()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class PromotionEngineOrderCalculateCmdImpl
ECException
ECCommand#performExecute()
public void setOrders(OrderAccessBean[] aabOrders)
setOrders
in interface OrderCalculateCmd
setOrders
in class PromotionEngineOrderCalculateCmdImpl
aabOrders
- the Orders.
OrderCalculateCmd.setOrders(OrderAccessBean[])
public java.util.Hashtable getOrdersMap()
public void setOrdersMap(java.util.Hashtable hshOrders)
hshOrders
- The ihshOrders to set.public void setRequestProperties(TypedProperty aRequestProperties) throws ECException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class PromotionEngineOrderCalculateCmdImpl
aRequestProperties
- the request properties.
ECException
- ControllerCommand#setRequestProperties(TypedProperty)
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class PromotionEngineOrderCalculateCmdImpl
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class PromotionEngineOrderCalculateCmdImpl
ECException
ECCommand#validateParameters()
public com.ibm.commerce.order.facade.server.external.ExternalOrderFacadeClient getExOrderFacadeClient()
ExternalOrderFacadeClient
public void setExOrderFacadeClient(com.ibm.commerce.order.facade.server.external.ExternalOrderFacadeClient exOrderFacadeClient)
ExternalOrderFacadeClient
exOrderFacadeClient
- The ExternalOrderFacadeClient