public class ProductViewLandingPageHandler
extends atg.svc.clicktoconnect.URIMatchLandingPageHandler
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.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
protected static java.lang.String |
PRODUCT_VIEW_HISTORY_PATH
The path to the ProductViewHistory component
|
mURIMatches, mVirtualContextRootService
mEnvironmentTools, mLandingPage
Constructor and Description |
---|
ProductViewLandingPageHandler() |
Modifier and Type | Method and Description |
---|---|
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) |
generateLandingPage, getURIMatches, getVirtualContextRootService, isFileURIMatch, isURIMatch, setURIMatches, setVirtualContextRootService
getEnvironmentTools, getLandingPage, getReferrerParameter, setEnvironmentTools, setLandingPage
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 static final java.lang.String PRODUCT_VIEW_HISTORY_PATH
public java.lang.String getProductIdParameterName()
public void setProductIdParameterName(java.lang.String pProductIdParameterName)
protected atg.svc.clicktoconnect.LandingPage createLandingPage(atg.svc.clicktoconnect.C2CRequestData pC2CRequestData)
This method also loads the product id as the most recently viewed product so the product view page will display it.
createLandingPage
in class atg.svc.clicktoconnect.URIMatchLandingPageHandler