public interface OrderCalculateCmd extends ControllerCommand
OrderItemBaseCmdImpl
and OrderItemDeleteCmdImpl
to refresh the order price, charges and freebie items after Add, Update and Delete order item.OrderCalculateCmdImpl
. But in out-of-the-box CMDREG
table,
the implementation of this command is mapped to PromotionEngineOrderCalculateCmdImpl
.OrderCalculate
URL is mapped to this controller command.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
static java.lang.String |
defaultCommandClassName
The default implementation of this command.
|
static java.lang.String |
NAME
The name of this command.
|
Modifier and Type | Method and Description |
---|---|
java.util.HashMap |
getCustomProperties()
This method returns the customer properties.
|
java.lang.Long[] |
getOutOfInventoryCatalogEntryIds()
This method returns the identifiers of CatalogEntries that do not have sufficient inventory,
when ATP inventory is not enabled.
|
void |
setCustomProperties(java.util.HashMap newhshCustomProperties)
This method sets the customer properties.
|
void |
setOrders(OrderAccessBean[] aabOrders)
This method sets the orders to be calculated.
|
void |
setUsageIds(java.lang.Integer[] anUsageIds)
This method sets the calculation usages.
|
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, 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, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
void setOrders(OrderAccessBean[] aabOrders)
aabOrders
- the array of OrderAccessBeans to be calculated.void setUsageIds(java.lang.Integer[] anUsageIds)
anUsageIds
- the array of calculation usage identifiers.java.lang.Long[] getOutOfInventoryCatalogEntryIds()
void setCustomProperties(java.util.HashMap newhshCustomProperties)
newhshCustomProperties
- the customer propertiesjava.util.HashMap getCustomProperties()