public class PriceListProfilePropertySetter extends ProfilePropertySetter
Commerce specific implementation of the ProfilePropertySetter that sets set the price list properties of a profile from the current site.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
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 |
---|
PriceListProfilePropertySetter() |
Modifier and Type | Method and Description |
---|---|
PricingTools |
getPricingTools()
Retrieves the pricing Tools
|
boolean |
isEnabled() |
void |
setEnabled(boolean pEnabled)
Sets property Enabled
|
protected boolean |
setPriceListProfileProperties(Profile pProfile,
Site pSite)
Sets the price list and sale price list for a profile based on the site
|
void |
setPricingTools(PricingTools pPricingTools)
Sets the pricing Tools
|
boolean |
setProperties(Profile pProfile,
DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Implementation of the ProfilePropertySetter's setProperties method.
|
hasProperty, setProfileProperty
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 boolean isEnabled()
public void setEnabled(boolean pEnabled)
public PricingTools getPricingTools()
public void setPricingTools(PricingTools pPricingTools)
public boolean setProperties(Profile pProfile, DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException, RepositoryException
setProperties
in class ProfilePropertySetter
pProfile
- - Profile to set properties forpRequest
- - Current requestpResponse
- - Current responsejava.io.IOException
javax.servlet.ServletException
RepositoryException
protected boolean setPriceListProfileProperties(Profile pProfile, Site pSite) throws RepositoryException
pProfile
- Profile to set the properties forpSite
- Site to use in getting the price listRepositoryException
PriceListException