public class CatalogFilterGetContractUnitPriceCmdImpl extends AbstractGetPriceCmdImpl
To use this command, register the interface name in the command registry similar to the example below.
Interface name | Command |
com.ibm.commerce.price.commands.GetContractUnitPriceCmd |
com.ibm.commerce.price.commands.CatalogFilterGetContractUnitPriceCmdImpl
|
com.ibm.commerce.price.commands.GetProductContractUnitPriceCmd |
com.ibm.commerce.price.commands.CatalogFilterGetContractUnitPriceCmdImpl
|
com.ibm.commerce.price.commands.GetContractSpecialPriceCmd |
com.ibm.commerce.price.commands.CatalogFilterGetContractUnitPriceCmdImpl
|
com.ibm.commerce.price.commands.GetContractUnitPriceCmd+AfterCatalogFilter
|
<Next Implementation of
com.ibm.commerce.price.commands.GetContractUnitPriceCmd > |
com.ibm.commerce.price.commands.GetProductContractUnitPriceCmd+AfterCatalogFilter
|
<Next Implementation of
com.ibm.commerce.price.commands.GetProductContractUnitPriceCmd
> |
com.ibm.commerce.price.commands.GetContractSpecialPriceCmd+AfterCatalogFilter
|
<Next Implementation of
com.ibm.commerce.price.commands.GetContractSpecialPriceCmd > |
Note that this command can be called by other price commands to form a chain.
This command implementation has the following steps:
PriceInputCase.createPriceCases(GetPriceCmdInput)
.
CheckCatalogEntryEntitlementCmd
to discover which
combinations of catalog entry and trading agreement are not valid.
AbstractGetPriceCmdImpl.executeNextInChain(GetPriceCmdInput, String)
with a suffix of "AfterCatalogFilter".
NAME
defaultCommandClassName, NAME
NAME
Constructor and Description |
---|
CatalogFilterGetContractUnitPriceCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
Performs the steps described in the class description.
|
getApplicableTradingIds, getApplicableTradingUnitPrices, getBasePrice, getCatEntryPrices, getOffer, getOfferId, getPrice, getStoreId, getTcId, getTradingId, reset, setCatEntryId, setCatEntryPrices, setCurrency, setErrorMode, setMemberId, setOfferIds, setOrderItemAccessBean, setOrganizationId, setQuantity, setStoreId, setTradingIds, validateParameters
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public CatalogFilterGetContractUnitPriceCmdImpl()
public void performExecute() throws com.ibm.commerce.exception.ECException
performExecute
in interface com.ibm.commerce.command.ECCommand
performExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECException
- If an error occurred while obtaining or executing
CheckCatalogEntryEntitlementCmd
, or while getting a
trading agreement to determine entitlement. This error will
not be thrown if AbstractGetPriceCmdImpl.setErrorMode(boolean)
was set to
false.