public class CSROrderAdjustmentUpdateCmdImpl extends ToolsControllerCommandImpl implements CSROrderAdjustmentUpdateCmd
CSROrderAdjustmentUpdateCmd
command.
This command calls the following command(s):
This command uses the following AccessBean(s):
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
ERRTASK_NAME
Error handling view name for this command.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
CSROrderAdjustmentUpdateCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getFirstManuAdjust()
Returns manual adjustment for first order.
|
java.lang.String |
getFirstOrderCouponIds()
Returns the string of coupon IDs used in the first order.
|
java.lang.String |
getFirstOrderId()
Returns first order ID.
|
java.math.BigDecimal |
getFirstShip()
Returns the shipping charge for first order.
|
java.util.Hashtable |
getNLS()
Returns NLS properties.
|
CommandContext |
getOrgCmdContext()
Returns original command context.
|
java.lang.Integer |
getOrgLangId()
Returns original language ID.
|
java.util.Locale |
getOrgLocale()
Returns original Locale.
|
TypedProperty |
getOrgReqProperties()
Returns original request properties.
|
java.lang.String |
getRedirectURL()
Gets the URL to be redirected to.
|
AccessVector |
getResources()
Gets the access vector accessed by this command.
|
java.math.BigDecimal |
getSecondManuAdjust()
Returns manual adjustment for second order.
|
java.lang.String |
getSecondOrderCouponIds()
Returns the string of coupon IDs used in the second order.
|
java.lang.String |
getSecondOrderId()
Returns second order ID.
|
java.math.BigDecimal |
getSecondShip()
Returns the shipping charge for second order.
|
java.lang.String |
getShopperId()
Returns shopper ID.
|
boolean |
isFirstDirtyBit()
Returns true if any adjustment field in first order has been changed.
|
boolean |
isFirstShippingOverride()
Returns true if shipping charge field in first order has been overridden.
|
boolean |
isSecondDirtyBit()
Returns true if any adjustment field in second order has been changed.
|
boolean |
isSecondShippingOverride()
Returns true if shipping charge field in second order has been overridden.
|
void |
performExecute()
Performs the execution for updating the order level CSR adjustments, eCoupons, and overrides the
shipping charges for the order(s)
|
void |
setFirstOrderCouponIds(java.lang.String newFirstOrderCouponIds)
Sets the list of coupons used in the first order
|
void |
setRedirectURL(java.lang.String newRedirectURL)
Sets the redirect URL
|
void |
setSecondOrderCouponIds(java.lang.String newSecondOrderCouponIds)
Sets the string having the coupon IDs of the coupons used in the second order
|
void |
validateParameters()
Gets XMLObject from the GUI Notebook or Wizard and get ready to parse it.
|
getViewInputProperties, setRequestProperties
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
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
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, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public static java.lang.String ERRTASK_NAME
public java.math.BigDecimal getFirstManuAdjust()
public java.lang.String getFirstOrderCouponIds()
public java.lang.String getFirstOrderId()
public java.math.BigDecimal getFirstShip()
public java.util.Hashtable getNLS()
public CommandContext getOrgCmdContext()
public java.lang.Integer getOrgLangId()
public java.util.Locale getOrgLocale()
public TypedProperty getOrgReqProperties()
public java.lang.String getRedirectURL()
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
- If the resource can not be retrieved.public java.math.BigDecimal getSecondManuAdjust()
public java.lang.String getSecondOrderCouponIds()
public java.lang.String getSecondOrderId()
public java.math.BigDecimal getSecondShip()
public java.lang.String getShopperId()
public boolean isFirstDirtyBit()
public boolean isFirstShippingOverride()
public boolean isSecondDirtyBit()
public boolean isSecondShippingOverride()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- If the order adjustments cannot be updatedpublic void setFirstOrderCouponIds(java.lang.String newFirstOrderCouponIds)
newFirstOrderCouponIds
- IDs of coupons used in the first orderpublic void setRedirectURL(java.lang.String newRedirectURL)
newRedirectURL
- The redirect URLpublic void setSecondOrderCouponIds(java.lang.String newSecondOrderCouponIds)
newSecondOrderCouponIds
- IDs of coupons used in the second orderpublic void validateParameters() throws ECApplicationException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECApplicationException
- If the XML does not contain the required parameters