public class StoreRepriceOrder
extends atg.commerce.order.purchase.RepriceOrder
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
ORDER_MANAGER, PRICE_LIST, PRICING_OP
CHAIN_ID, EXCEPTION, FAILURE, PARAM_OBJECT, PIPELINE_MANAGER, PIPELINE_RESULT, SUCCESS, SUCCESS_WITH_ERRORS
Constructor and Description |
---|
StoreRepriceOrder() |
Modifier and Type | Method and Description |
---|---|
StoreOrderHolder |
getShoppingCart() |
void |
service(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This method calls the super service method to do the reprice operation.
|
void |
setShoppingCart(StoreOrderHolder pShoppingCart) |
copyConfiguration, doStartService, getCommercePropertyManager, getConfiguration, getOrder, getOrderManager, getParamObject, getProfile, getResourceBundle, getResourceBundleName, getTransactionLockFactory, getTransactionManager, getUserPricingModels, setCommercePropertyManager, setConfiguration, setOrder, setOrderManager, setProfile, setTransactionLockFactory, setTransactionManager, setUserPricingModels
getDefaultChainId, getDefaultPipelineManager, getExtraParametersMap, setDefaultChainId, setDefaultPipelineManager, setExtraParametersMap
doDelete, doGet, doPost, doPut, getParameter, getParameters, getServletContext, init, service, service, setParameter
destroy, getServletConfig, getServletInfo, setServletInfo
getAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatistics
addLogListener, createAdminServlet, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService, toString
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public void setShoppingCart(StoreOrderHolder pShoppingCart)
pShoppingCart
- - The shopping cart component.public StoreOrderHolder getShoppingCart()
public void service(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
This method calls the super service method to do the reprice operation.
If the reprice operation encounters a RunProcessException, it writes this exception to the request. This method uses the exception to determine if a concurrent update has occurred, and if so, invalidates the order and invokes the super service method again to reprice with a reloaded/refreshed order.
service
in class atg.commerce.order.purchase.RepriceOrder
pRequest
- - A DynamoHttpServletRequest
valuepResponse
- - A DynamoHttpServletResponse
valuejavax.servlet.ServletException
- if an error occursjava.io.IOException
- if an error occurs