atg.userprofiling
Class ProfilePropertySetter
java.lang.Object
atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.userprofiling.ProfilePropertySetter
- All Implemented Interfaces:
- atg.naming.AbsoluteNameable, NameContextBindingListener, NameContextElement, atg.naming.NameContextParentable, NameResolver, AdminableService, atg.nucleus.Configured, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, java.util.EventListener
- Direct Known Subclasses:
- CatalogProfilePropertySetter, PriceListProfilePropertySetter, SiteProfilePropertySetter
public abstract class ProfilePropertySetter
- extends GenericService
Setter used with the ProfilePropertyServlet.
This setter is responsible for setting properties on the Profile by implementing the setProperties method.
Field Summary |
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
DEFAULT_LOG_TRACE_STATUS |
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 |
CLASS_VERSION
public static java.lang.String CLASS_VERSION
- Class version string
ProfilePropertySetter
public ProfilePropertySetter()
setProperties
public boolean setProperties(Profile pProfile,
DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
throws java.io.IOException,
javax.servlet.ServletException,
RepositoryException
- Method used to set profile properties by the ProfilePropertySetters. Invoked by the ProfilePropertyServlet.
- Parameters:
pProfile
- - Profile to set properties forpRequest
- - Current requestpResponse
- - Current response
- Throws:
java.io.IOException
javax.servlet.ServletException
RepositoryException
setProfileProperty
protected boolean setProfileProperty(Profile pProfile,
java.lang.String pPropertyName,
java.lang.Object pPropertyValue)
- Updates the given property name on the profile if it is not already set to the current value
- Parameters:
pProfile
- - Profile to set the property onpPropertyName
- - Name of the profile property to setpPropertyValue
- - New Value for the profile property
hasProperty
protected boolean hasProperty(java.lang.String pPropertyName,
RepositoryItem pRepositoryItem)
throws RepositoryException
- Checks if item has given property
- Parameters:
pPropertyName
- - property namepRepositoryItem
- - profile
- Returns:
- true if profile has given property
- Throws:
RepositoryException
- if repository exception occur