public class GetCachedEntitledPriceCmdImpl extends AbstractGetEntitledPriceCmdImpl
If the command is successfully getting the price, it will return the best price.
If unsuccessful with any exceptions, the command throws the ECApplicationException
specifying an Error
Message (ERR_RETRIEVE_PRICE).
If failed to retrieve price from price memory cache, it returns null value price.
Behaviour
A catalog entry ID is required, and also the c could provide quantity or currency.
Exception Conditions
If ErrorMode is false, these errors will be ignored and a null value price will be passed back to the caller.
AccessBeans
:
CatalogEntryAccessBean
NAME
NAME
defaultCommandClassName, NAME
defaultCommandClassName, NAME
Constructor and Description |
---|
GetCachedEntitledPriceCmdImpl() |
getApplicableTradingIds, getApplicableTradingUnitPrices, getBasePrice, getCatEntryId, getCatEntryPrices, getCurrency, getOffer, getOfferId, getPrice, getQuantity, getStoreId, getTcId, getTradingId, performExecute, 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