public class CheckAndResetOrderItemPriceFlagCmdImpl extends TaskCommandImpl implements CheckAndResetOrderItemPriceFlagCmd
CheckAndResetOrderItemPriceFlagCmd
task command.
"PRICE_REFRESHED"
for the order items if price is expired.
The flag PRICE_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.
PRICE_REFRESHED
will be reset to zero.
STORE.PRICEREFFLAG
is 8, it first groups the order items with the same catentryId
.
If one of the order items for the catentryId
has been expired or its binary price flag PREPAREFLAGS_PRICE_REFRESHED
is 0.
It will reset the binary price flag PREPAREFLAGS_PRICE_REFRESHED
for all the order items in the group with same catentryId
.
STORE.PRICEREFFLAG
is not 8. For each order item, check whether the order item has been expired. If so,
resets the binary price flag PREPAREFLAGS_PRICE_REFRESHED
for the order item.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
CheckAndResetOrderItemPriceFlagCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
getOrderItems()
This method gets the vector of order item access beans whose price flags will be checked and reset.
|
void |
performExecute()
Contains the actual business logic of the command.
|
void |
setOrderItems(java.util.Vector argVecOrderItemAB)
This method sets the vector of order item access beans whose price flags will be checked and reset.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
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
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public CheckAndResetOrderItemPriceFlagCmdImpl()
public void setOrderItems(java.util.Vector argVecOrderItemAB)
setOrderItems
in interface CheckAndResetOrderItemPriceFlagCmd
argVecOrderItemAB
- the vector of order item access beans.public java.util.Vector getOrderItems()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException