atg.commerce.csr.clicktoconnect
Class DefaultLandingPageHandler

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.svc.clicktoconnect.LandingPageHandler
              extended by atg.commerce.csr.clicktoconnect.DefaultLandingPageHandler
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 DefaultLandingPageHandler
extends atg.svc.clicktoconnect.LandingPageHandler

Returns the CSC default LandingPage. This will be the cart, order view or scheduled order view depending on the state of the current order.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
protected  atg.svc.clicktoconnect.LandingPage mCartViewLandingPage
           
protected  CSREnvironmentTools mCSREnvironmentTools
           
protected  atg.svc.clicktoconnect.LandingPage mOrderViewLandingPage
           
protected  atg.svc.clicktoconnect.LandingPage mScheduledOrderViewLandingPage
           
 
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
 
Constructor Summary
DefaultLandingPageHandler()
           
 
Method Summary
 atg.svc.clicktoconnect.LandingPage generateLandingPage(atg.svc.clicktoconnect.C2CRequestData pC2CRequestData)
           
 atg.svc.clicktoconnect.LandingPage getCartViewLandingPage()
          Returns the landing page for the cart page
 CSREnvironmentTools getCSREnvironmentTools()
           
 atg.svc.clicktoconnect.LandingPage getOrderViewLandingPage()
          Returns the landing page for viewing an existing order
 atg.svc.clicktoconnect.LandingPage getScheduledOrderViewLandingPage()
          Returns the landing page for the view an existing scheduled order.
 void setCartViewLandingPage(atg.svc.clicktoconnect.LandingPage pCartViewLandingPage)
           
 void setCSREnvironmentTools(CSREnvironmentTools pCSREnvironmentTools)
          Sets the property CSREnvironmentTools.
 void setOrderViewLandingPage(atg.svc.clicktoconnect.LandingPage pOrderViewLandingPage)
           
 void setScheduledOrderViewLandingPage(atg.svc.clicktoconnect.LandingPage pScheduledOrderViewLandingPage)
           
 
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


mCSREnvironmentTools

protected CSREnvironmentTools mCSREnvironmentTools

mCartViewLandingPage

protected atg.svc.clicktoconnect.LandingPage mCartViewLandingPage

mOrderViewLandingPage

protected atg.svc.clicktoconnect.LandingPage mOrderViewLandingPage

mScheduledOrderViewLandingPage

protected atg.svc.clicktoconnect.LandingPage mScheduledOrderViewLandingPage
Constructor Detail

DefaultLandingPageHandler

public DefaultLandingPageHandler()
Method Detail

setCSREnvironmentTools

public void setCSREnvironmentTools(CSREnvironmentTools pCSREnvironmentTools)
Sets the property CSREnvironmentTools.


getCSREnvironmentTools

public CSREnvironmentTools getCSREnvironmentTools()
Returns:
The CSREnvironmentTools component used to manipulate the profile

getCartViewLandingPage

public atg.svc.clicktoconnect.LandingPage getCartViewLandingPage()
Returns the landing page for the cart page

Returns:
LandingPage

setCartViewLandingPage

public void setCartViewLandingPage(atg.svc.clicktoconnect.LandingPage pCartViewLandingPage)

getOrderViewLandingPage

public atg.svc.clicktoconnect.LandingPage getOrderViewLandingPage()
Returns the landing page for viewing an existing order

Returns:
LandingPage

setOrderViewLandingPage

public void setOrderViewLandingPage(atg.svc.clicktoconnect.LandingPage pOrderViewLandingPage)

getScheduledOrderViewLandingPage

public atg.svc.clicktoconnect.LandingPage getScheduledOrderViewLandingPage()
Returns the landing page for the view an existing scheduled order.

Returns:
LandingPage

setScheduledOrderViewLandingPage

public void setScheduledOrderViewLandingPage(atg.svc.clicktoconnect.LandingPage pScheduledOrderViewLandingPage)

generateLandingPage

public atg.svc.clicktoconnect.LandingPage generateLandingPage(atg.svc.clicktoconnect.C2CRequestData pC2CRequestData)
Specified by:
generateLandingPage in class atg.svc.clicktoconnect.LandingPageHandler
Returns:
the cart, order view or scheduled order view depending on the state of the current order.