public class PricingContextFactory extends GenericService
#PricingTools.getPricingContextFactory()
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
protected java.lang.String |
mPricingContextClassName |
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
PricingContextFactory() |
Modifier and Type | Method and Description |
---|---|
PricingContext |
createPricingContext()
Creates a default PricingContext
|
PricingContext |
createPricingContext(java.util.List pItems,
RepositoryItem pPricingModel,
RepositoryItem pProfile,
java.util.Locale pLocale,
Order pOrder,
RepositoryItem pSite)
Creates a PricingContext.
|
java.lang.String |
getPricingContextClassName() |
void |
setPricingContextClassName(java.lang.String pPricingContextClassName) |
addLogListener, createAdminServlet, doStartService, 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
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public static java.lang.String CLASS_VERSION
protected java.lang.String mPricingContextClassName
public java.lang.String getPricingContextClassName()
public void setPricingContextClassName(java.lang.String pPricingContextClassName)
public PricingContext createPricingContext()
public PricingContext createPricingContext(java.util.List pItems, RepositoryItem pPricingModel, RepositoryItem pProfile, java.util.Locale pLocale, Order pOrder, RepositoryItem pSite)
pItems
- List of CommerceItem or FilteredCommerceItempPricingModel
- RepositoryItem promotion to be processed.pProfile
- RepositoryItem profile for pricingpLocale
- Locale for pricingpOrder
- Order for pricingpSite
- RepositoryItem site for pricing