atg.commerce.csr.clicktoconnect
Class ProductViewLandingPageHandler
java.lang.Object
atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.svc.clicktoconnect.LandingPageHandler
atg.svc.clicktoconnect.URIMatchLandingPageHandler
atg.commerce.csr.clicktoconnect.ProductViewLandingPageHandler
- All Implemented Interfaces:
- atg.naming.NameContextBindingListener, atg.naming.NameContextElement, atg.naming.NameResolver, atg.nucleus.AdminableService, atg.nucleus.logging.ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, atg.nucleus.logging.VariableArgumentApplicationLogging, atg.nucleus.naming.ComponentNameResolver, atg.nucleus.Service, atg.nucleus.ServiceListener, java.util.EventListener
public class ProductViewLandingPageHandler
- extends atg.svc.clicktoconnect.URIMatchLandingPageHandler
Returns a LandingPage
for the product view.
Before the configured LandingPage is returned, the ProductViewHistory
component is modified to add the productId as the most recently viewed
product.
Fields inherited from class atg.svc.clicktoconnect.URIMatchLandingPageHandler |
mURIMatches, mVirtualContextRootService |
Fields inherited from class atg.svc.clicktoconnect.LandingPageHandler |
mEnvironmentTools, mLandingPage |
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 |
Method Summary |
protected atg.svc.clicktoconnect.LandingPage |
createLandingPage(atg.svc.clicktoconnect.C2CRequestData pC2CRequestData)
Extends the base behavior to conditionally return the configured
LandingPage for the product view panel if the product id
can be found on the referrer url. |
java.lang.String |
getProductIdParameterName()
Returns the parameter name of the product id in the referrer
url |
void |
setProductIdParameterName(java.lang.String pProductIdParameterName)
|
Methods inherited from class atg.svc.clicktoconnect.URIMatchLandingPageHandler |
generateLandingPage, getURIMatches, getVirtualContextRootService, isFileURIMatch, isURIMatch, setURIMatches, setVirtualContextRootService |
Methods inherited from class atg.svc.clicktoconnect.LandingPageHandler |
getEnvironmentTools, getLandingPage, getReferrerParameter, setEnvironmentTools, setLandingPage |
Methods inherited from class atg.nucleus.GenericService |
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 |
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 |
CLASS_VERSION
public static java.lang.String CLASS_VERSION
- Class version string
PRODUCT_VIEW_HISTORY_PATH
protected static final java.lang.String PRODUCT_VIEW_HISTORY_PATH
- The path to the ProductViewHistory component
- See Also:
- Constant Field Values
ProductViewLandingPageHandler
public ProductViewLandingPageHandler()
getProductIdParameterName
public java.lang.String getProductIdParameterName()
- Returns the parameter name of the product id in the referrer
url
- Returns:
- String
setProductIdParameterName
public void setProductIdParameterName(java.lang.String pProductIdParameterName)
createLandingPage
protected atg.svc.clicktoconnect.LandingPage createLandingPage(atg.svc.clicktoconnect.C2CRequestData pC2CRequestData)
- Extends the base behavior to conditionally return the configured
LandingPage for the product view panel if the product id
can be found on the referrer url.
This method also loads the product id as the most recently viewed
product so the product view page will display it.
- Overrides:
createLandingPage
in class atg.svc.clicktoconnect.URIMatchLandingPageHandler