public interface RetrieveTradingsTaskCmd extends TaskCommand
RetrieveTradingsTaskCmdImpl
.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.lang.Long[] |
getTradingAgreements()
This method returns the array of trading agreement identifiers retrieved.
|
void |
setOrderItem(OrderItemAccessBean abOrderItem)
This method sets the order item to retrieve trading agreements for.
|
void |
setPriceRefreshFlag(java.lang.Integer anRefreshFlag)
This method sets the price refresh flag.
|
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 setOrderItem(OrderItemAccessBean abOrderItem)
abOrderItem
- the order item access bean.void setPriceRefreshFlag(java.lang.Integer anRefreshFlag)
STORE.PRICEREFFLAGS
:
0: Default, same as 1 except that it will not save the trading agreement id. 1: This means useCurrentOnly. This uses the price directly referenced by the order items. It fails if they can no longer be used. 2: This means useCurrentOrSearchAgain. This is the same as useCurrentOnly. But instead of failing when they can no longer be used, it searches the ones that were originally searched for the order items. These tradings are saved when the order items were created or updated with new trading agreement id specified. 4: This means alwaysSearchAgain. This option always searches the price that was originally searched when the order items were created or updated with new trading agreement id specified. 8: Before calling price command, sum the quantity for the order items with same catentry. It will get the best price and update the order item's trading agreement id. It will not save the tradingId in the ORDITRD.
anRefreshFlag
- the price refresh flag.java.lang.Long[] getTradingAgreements()