atg.commerce.csr.clicktoconnect

Class ProductViewLandingPageHandler

    • Field Summary

      Fields 
      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
      • 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

      Methods 
      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) 
      • 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
    • Field Detail

      • 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
    • Constructor Detail

      • ProductViewLandingPageHandler

        public ProductViewLandingPageHandler()
    • Method Detail

      • 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