public interface ResolveOrderItemPriceCmd extends TaskCommand
ResolveOrderItemPriceCmdImpl
.ResolveOrderItemPriceCmdImpl
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.Vector |
getUpdatedOrderItems()
This method returns the order items that are actually re-priced
|
void |
setCurrency(java.lang.String currency)
This method sets the currency that the order items need to be re-priced on
|
void |
setDoPrice(boolean doPrice)
This method sets the flag of doPrice, if false, some of the order items might skip
re-pricing if just refreshed before
|
void |
setForceRefresh(boolean refreshAll)
This method sets the flag forceRefresh, if true, all the order items needs to be refresh
even if it's just refreshed
|
void |
setIsUnitPriceCommand(boolean unitPrice)
This method sets the corresponding Price interface to invoke
|
void |
setOIComponents(java.util.Hashtable oiComps)
This method sets the order item components of a dynamic kit that needs to refresh price.
|
void |
setOrder(OrderAccessBean oab)
This method passes in the Order Access Bean that the order items belong to.
|
void |
setOrderItemConfigurationIdIn(java.util.Map mapConfigurationId)
This method sets the configuration IDs passed in for the order items
|
void |
setOrderItemOfferIdsIn(java.util.Map offer)
This method sets the offer IDs passed in for the order items
|
void |
setOrderItems(java.util.Vector orderItems)
This method sets the order items that needs to be re-priced.
|
void |
setOrderItemTradingIdsIn(java.util.Map trading)
This method sets the trading IDs passed in for the order items
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
void setOrderItemConfigurationIdIn(java.util.Map mapConfigurationId)
mapConfigurationId
- the hash map of the configuration IDs:
<(String)orderItemId, (String)configurationId>void setOrderItems(java.util.Vector orderItems)
orderItems
- the vector of the order item access beansvoid setOrder(OrderAccessBean oab)
oab
- the order access bean to be passed in.void setDoPrice(boolean doPrice)
doPrice
- the boolean value of the flagvoid setOrderItemTradingIdsIn(java.util.Map trading)
trading
- the hash map of the trading IDs:
<(String)orderItemId, (Long[])tradingIds>void setOrderItemOfferIdsIn(java.util.Map offer)
offer
- the hash map of the offer IDs:
<(String)orderItemId, (Long[])offerIds>void setCurrency(java.lang.String currency)
currency
- java.util.Vector getUpdatedOrderItems()
void setIsUnitPriceCommand(boolean unitPrice)
unitPrice
- the boolean value to indicate which interface to invoke
if true, GetContractUnitPriceCmd
is invoked, else
GetContractSpecialPriceCmd
is invokedvoid setForceRefresh(boolean refreshAll)
refreshAll
- the boolean value of the flagvoid setOIComponents(java.util.Hashtable oiComps)
oiComps
- the hashtable of the order item components access beans
<(String)orderItemId, Vector of order item components access beans>