com.ibm.commerce.orderitems.commands
Interface CheckAndResetOrderItemPriceFlagCmd
-
- All Superinterfaces:
- com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
- All Known Implementing Classes:
- CheckAndResetOrderItemPriceFlagCmdImpl
public interface CheckAndResetOrderItemPriceFlagCmd extends TaskCommand
This task command is used to check and reset the bit price flag"PRICE_REFRESHED"
for the order items if price is expired. The flagPRICE_REFRESHED
indicates whether the price should be recalculated. If the price is expired, the flag should be reset to 0 and price should be recalculated.
It is usually called by controller commandsOrderItemUpdateCmd
,OrderItemDisplayCmd
andOrderCalculateCmd
before order item price is updated.
The default implementation of this command isCheckAndResetOrderItemPriceFlagCmdImpl
.
-
-
Field Summary
Fields 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 the command.static java.lang.String
NAME
The name of the command.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
setOrderItems(java.util.Vector argVecOrderItemAB)
This method sets the vector of order item access beans whose price flags will be checked and reset.-
Methods inherited from interface com.ibm.websphere.command.CacheableCommand
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
-
Methods inherited from interface com.ibm.websphere.command.TargetableCommand
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
-
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
-
-
-
Field Detail
-
COPYRIGHT
static final java.lang.String COPYRIGHT
The IBM copyright notice field.- See Also:
- Constant Field Values
-
NAME
static final java.lang.String NAME
The name of the command.- See Also:
- Constant Field Values
-
defaultCommandClassName
static final java.lang.String defaultCommandClassName
The default implementation of the command.- See Also:
- Constant Field Values
-
-