|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.commerce.pricing.PricingModelHolder
atg.commerce.csr.pricing.SubmittedOrderPricingModelHolder
public class SubmittedOrderPricingModelHolder
This holder is used when an agent is working on an submitted order. It overrides the initialization process to load its promotions from the order (rather than the profile).
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
protected CSRAgentTools |
mCSRAgentTools
|
| Fields inherited from class atg.nucleus.GenericService |
|---|
SERVICE_INFO_KEY |
| Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
|---|
DEFAULT_LOG_TRACE_STATUS |
| Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
|---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
| Constructor Summary | |
|---|---|
SubmittedOrderPricingModelHolder()
|
|
| Method Summary | |
|---|---|
void |
addPromotion(atg.repository.RepositoryItem pPromotion)
Adds a promotion to the holder. |
CSRAgentTools |
getCSRAgentTools()
|
atg.commerce.order.Order |
getOrder()
Return the Order property. |
atg.commerce.order.OrderHolder |
getShoppingCart()
Returns property ShoppingCart |
void |
initializePricingModels()
Reload the all pricing models for the order |
void |
setCSRAgentTools(CSRAgentTools pCSRAgentTools)
Sets the property CSRAgentTools. |
void |
setOrder(atg.commerce.order.Order pOrder)
Set the Order property. |
void |
setShoppingCart(atg.commerce.order.OrderHolder pShoppingCart)
Sets property ShoppingCart |
| Methods inherited from class atg.commerce.pricing.PricingModelHolder |
|---|
doStartService, getAllPromotions, getItemPricingEngine, getItemPricingModels, getOrderPricingEngine, getOrderPricingModels, getProfile, getPromotionTools, getReinitializeTime, getShippingPricingEngine, getShippingPricingModels, getTaxPricingEngine, getTaxPricingModels, initializeAllPromotions, initializeItemPricingModels, initializeOrderPricingModels, initializeShippingPricingModels, initializeTaxPricingModels, isEnableInit, isPromotionInHolder, setAllPromotions, setEnableInit, setItemPricingEngine, setItemPricingModels, setOrderPricingEngine, setOrderPricingModels, setProfile, setPromotionTools, setReinitializeTime, setShippingPricingEngine, setShippingPricingModels, setTaxPricingEngine, setTaxPricingModels |
| Methods inherited from class atg.nucleus.GenericService |
|---|
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 |
| Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
|---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASS_VERSION
protected CSRAgentTools mCSRAgentTools
| Constructor Detail |
|---|
public SubmittedOrderPricingModelHolder()
| Method Detail |
|---|
public void setShoppingCart(atg.commerce.order.OrderHolder pShoppingCart)
pShoppingCart - an OrderHolder valuepublic atg.commerce.order.OrderHolder getShoppingCart()
OrderHolder valuepublic void setOrder(atg.commerce.order.Order pOrder)
pOrder - an Order valuepublic atg.commerce.order.Order getOrder()
Order valuepublic void setCSRAgentTools(CSRAgentTools pCSRAgentTools)
public CSRAgentTools getCSRAgentTools()
public void initializePricingModels()
initializePricingModels in class atg.commerce.pricing.PricingModelHolderpublic void addPromotion(atg.repository.RepositoryItem pPromotion)
This method can be used to add a promotion to the holder without having to first add it to the profile's active promotions.
pPromotion - the promotion item to add to the holder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||