public class ContractShippingAdjustmentCalculationCodeCalculateCmdImpl extends CalculationCodeCalculateCmdImpl implements ContractShippingAdjustmentCalculationCodeCalculateCmd
ContractShippingAdjustmentCalculationCodeCalculateCmd
task command.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
ContractShippingAdjustmentCalculationCodeCalculateCmdImpl()
Constructor for ShippingAdjustmentCalculationCodeApplyCmdImpl
|
Modifier and Type | Method and Description |
---|---|
boolean |
catalogSelection(java.lang.Long[] categoryIds,
java.lang.Long categoryId)
This method checks if one category is on one of the paths of the category array including its ancestor.
|
java.math.BigDecimal |
getAdjustmetAmountFromTC(OrderItemAccessBean abOrderItem)
This method returns the adjustment amount from the ShippingTCShippingChargeAdjustment TCs.
|
java.util.ArrayList |
getCataGroupListForCatentry(java.lang.Long catentryId)
This method returns the catalog group list for the specified catentry.
|
void |
performExecute()
Executes the business logic of this command implementation.
|
void |
reset()
This method resets the variables of the command.
|
getValues, getValues, setCode, setItems, setTaxCategoryIds
getCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageId
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, 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
getValues, getValues, setCode, setItems, setTaxCategoryIds
getCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageId
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
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 ContractShippingAdjustmentCalculationCodeCalculateCmdImpl()
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class CalculationCodeCalculateCmdImpl
Command.reset()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class CalculationCodeCalculateCmdImpl
ECException
ECCommand.performExecute()
public boolean catalogSelection(java.lang.Long[] categoryIds, java.lang.Long categoryId) throws ECSystemException
categoryIds
- the category arraycategoryId
- the category wants to be checkedECSystemException
public java.math.BigDecimal getAdjustmetAmountFromTC(OrderItemAccessBean abOrderItem) throws ECException
abOrderItem
- the item of which shipping will be adjusted.ECException
public java.util.ArrayList getCataGroupListForCatentry(java.lang.Long catentryId) throws ECSystemException
catentryId
- catalog entry id.ECSystemException