|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.userprofiling.ProfilePropertySetter
atg.projects.store.servlet.pipeline.StoreProfilePropertySetter
public class StoreProfilePropertySetter
Update the store profile properties based on values for the current site.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
static java.lang.String |
USER_PREF_LANGUAGE_COOKIE_NAME
|
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 | |
---|---|
StoreProfilePropertySetter()
|
Method Summary | |
---|---|
protected void |
createUserPrefLangCookie(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse,
java.util.Locale pLocale)
This operation creates cookie for user preffered language. |
StorePropertyManager |
getPropertyManager()
Getter method for the propertyManager property. |
boolean |
setProperties(atg.userprofiling.Profile pProfile,
atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Update the store profile properties based on values for the current site |
void |
setPropertyManager(StorePropertyManager pPropertyManager)
|
protected void |
updateProfileLocale(atg.userprofiling.Profile pProfile,
java.util.Locale pLocale)
Updates locale in profile. |
Methods inherited from class atg.userprofiling.ProfilePropertySetter |
---|
hasProperty, setProfileProperty |
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 |
---|
public static final java.lang.String CLASS_VERSION
public static final java.lang.String USER_PREF_LANGUAGE_COOKIE_NAME
Constructor Detail |
---|
public StoreProfilePropertySetter()
Method Detail |
---|
public StorePropertyManager getPropertyManager()
propertyManager
property. This manager will be used
to retrieve profile-related property names.
PropertyManager
to be used.public void setPropertyManager(StorePropertyManager pPropertyManager)
public boolean setProperties(atg.userprofiling.Profile pProfile, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException, atg.repository.RepositoryException
setProperties
in class atg.userprofiling.ProfilePropertySetter
pProfile
- - Profile to set properties forpRequest
- - Current requestpResponse
- - Current response
java.io.IOException
- an error occurred reading data from the request
or writing data to the response.
javax.servlet.ServletException
- an application specific error occurred
processing this request
atg.repository.RepositoryException
- indicates that a severe error occured while performing a Repository taskprotected void createUserPrefLangCookie(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse, java.util.Locale pLocale)
pRequest
- DynamoHttpServletRequest object.pLocale
- User preferred language.protected void updateProfileLocale(atg.userprofiling.Profile pProfile, java.util.Locale pLocale)
pRequest
- DynamoHttpServletRequest object.pLocale
- Profile Locale.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |