atg.commerce.profile
Class CommerceProfileRequestServlet

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.nucleus.TimedOperationService
              extended by atg.servlet.pipeline.PipelineableServletImpl
                  extended by atg.servlet.pipeline.InsertableServletImpl
                      extended by atg.userprofiling.ProfileRequestServlet
                          extended by atg.commerce.profile.CommerceProfileRequestServlet
All Implemented Interfaces:
NameContextBindingListener, NameContextElement, NameResolver, AdminableService, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, InsertableServlet, PipelineableServlet, java.util.EventListener, javax.servlet.Servlet

public class CommerceProfileRequestServlet
extends ProfileRequestServlet

This class is a subclass of the ProfileRequestServlet which performs any commerce specific actions when a user is auto-logged in.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Fields inherited from class atg.userprofiling.ProfileRequestServlet
AUTO_LOGIN_FLAG, LOGOUT_PARAM, SEND_COOKIE_FLAG, sResourceBundle
 
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
CommerceProfileRequestServlet()
           
 
Method Summary
 boolean getLoadOrdersOnAutoLogin()
          Returns property loadOrdersOnAutoLogin
protected  boolean initProfileAfterAutoLogin(Profile pProfile, ProfileRequest pProfileRequest, DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
          Load any shopping carts for the given user after they have gone through auto-login.
 void setLoadOrdersOnAutoLogin(boolean pLoadOrdersOnAutoLogin)
          Sets property loadOrdersOnAutoLogin
 
Methods inherited from class atg.userprofiling.ProfileRequestServlet
addDataListener, allowAutoLogin, allowSendCookie, disableAutoLogin, disableSendCookie, expireProfileCookies, getDataListenerCount, getDataListeners, getNewProfileType, getProfile, getProfilePath, getProfileRequest, getProfileRequestPath, getProfileRequestProcessors, getProfileRequestTools, getProfileTools, initializeNewProfile, initializeProfile, initializeProfileFromRequest, initUserAfterAutoLogin, isAllowAutoLogin, isBuildProfile, isPersistAfterLogout, isPersistentAnonymousProfiles, isSendCookie, isSendCookie, isSendLoginEventForNewPersistentAnonymousProfiles, isVerifyBasicAuthentication, removeDataListener, sendDataItem, sendProfileCookies, service, serviceProfilingRequest, setBuildProfile, setNewProfileType, setPersistAfterLogout, setPersistentAnonymousProfiles, setProfilePath, setProfileRequestPath, setProfileRequestProcessors, setProfileRequestTools, setProfileTools, setSendLoginEventForNewPersistentAnonymousProfiles, setVerifyBasicAuthentication, verifyBasicAuthentication
 
Methods inherited from class atg.servlet.pipeline.InsertableServletImpl
doStartService, getInsertAfterServlet, setInsertAfterServlet
 
Methods inherited from class atg.servlet.pipeline.PipelineableServletImpl
createAdminServlet, destroy, getAdminServlet, getNextServlet, getServletConfig, getServletInfo, init, isUsePathInfo, passRequest, passRequest, service, service, setNextServlet, setServletInfo, setUsePathInfo
 
Methods inherited from class atg.nucleus.TimedOperationService
getAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatistics
 
Methods inherited from class atg.nucleus.GenericService
addLogListener, doStopService, getAbsoluteName, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, 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, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
 
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
vlogDebug, vlogDebug, vlogDebug, vlogDebug, 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
 
Methods inherited from interface atg.servlet.pipeline.PipelineableServlet
getNextServlet, passRequest, setNextServlet
 
Methods inherited from interface javax.servlet.Servlet
destroy, getServletConfig, getServletInfo, init, service
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

CommerceProfileRequestServlet

public CommerceProfileRequestServlet()
Method Detail

getLoadOrdersOnAutoLogin

public boolean getLoadOrdersOnAutoLogin()
Returns property loadOrdersOnAutoLogin

Returns:
returns property loadOrdersOnAutoLogin

setLoadOrdersOnAutoLogin

public void setLoadOrdersOnAutoLogin(boolean pLoadOrdersOnAutoLogin)
Sets property loadOrdersOnAutoLogin

Parameters:
pLoadOrdersOnAutoLogin - the value to set for property loadOrdersOnAutoLogin

initProfileAfterAutoLogin

protected boolean initProfileAfterAutoLogin(Profile pProfile,
                                            ProfileRequest pProfileRequest,
                                            DynamoHttpServletRequest pRequest,
                                            DynamoHttpServletResponse pResponse)
                                     throws java.io.IOException,
                                            javax.servlet.ServletException
Load any shopping carts for the given user after they have gone through auto-login.

Overrides:
initProfileAfterAutoLogin in class ProfileRequestServlet
Returns:
true if the profile was initialized
Throws:
java.io.IOException
javax.servlet.ServletException