atg.commerce.csr.logging
Class PropertyUpdateRecorder

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.agent.logging.AgentAuditRecorder
              extended by atg.agent.logging.ConfigurableAgentAuditRecorder
                  extended by atg.commerce.csr.logging.PropertyUpdateRecorder
All Implemented Interfaces:
atg.naming.AbsoluteNameable, atg.naming.NameContextBindingListener, atg.naming.NameContextElement, atg.naming.NameContextParentable, atg.naming.NameResolver, atg.nucleus.AdminableService, atg.nucleus.Configured, 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, atg.service.datacollection.DataListener, java.util.EventListener

public class PropertyUpdateRecorder
extends atg.agent.logging.ConfigurableAgentAuditRecorder

This recorder extends ConfigurableAgentAuditRecorder to add the ability to process an event with a list of PropertyUpdates


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
protected  atg.userprofiling.ProfileTools mProfileTools
           
static java.lang.String NEW_VALUE_PROPERTY_NAME
          The name of the property in the profile update item that holds the new value
static java.lang.String OLD_VALUE_PROPERTY_NAME
          The name of the property in the profile update item that holds the old value
static java.lang.String OWNER_PROPERTY_NAME
          The name of the property in the profile update item that holds the owner
static java.lang.String PROPERTY_UPDATE_ITEM_TYPE
           
static java.lang.String UPDATED_PROPERTY_PROPERTY_NAME
          The name of the property in the profile update item that holds the property name
 
Fields inherited from class atg.agent.logging.AgentAuditRecorder
CUSTOMER_PROFILE_ID_PROPERTY_NAME, EVENT_DATE_PROPERTY_NAME, IP_ADDRESS_PROPERTY_NAME, ORGANIZATION_ID_PROPERTY_NAME, PARENT_SESSION_ID_PROPERTY_NAME, PROFILE_ID_PROPERTY_NAME, SESSION_ID_PROPERTY_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
PropertyUpdateRecorder()
           
 
Method Summary
 atg.userprofiling.ProfileTools getProfileTools()
           
protected  void populateCustomProperties(atg.repository.MutableRepository pAgentAuditRepository, atg.repository.MutableRepositoryItem pAuditItem, atg.agent.events.AgentEvent pAgentEvent)
          Calls the super method to populate any properties of the base logging item, then calls populatePropertyUpdates
protected  void populatePropertyUpdates(atg.repository.MutableRepository pAgentAuditRepository, atg.repository.MutableRepositoryItem pAuditItem, PropertyUpdateEvent pAgentEvent)
           
 void setProfileTools(atg.userprofiling.ProfileTools pProfileTools)
          Sets the property ProfileTools.
 
Methods inherited from class atg.agent.logging.ConfigurableAgentAuditRecorder
getCustomProperties, setCustomProperties
 
Methods inherited from class atg.agent.logging.AgentAuditRecorder
addDataItem, createAgentAuditItem, getAgentAuditRepository, populateBaseProperties, setAgentAuditRepository
 
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 final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values

UPDATED_PROPERTY_PROPERTY_NAME

public static final java.lang.String UPDATED_PROPERTY_PROPERTY_NAME
The name of the property in the profile update item that holds the property name

See Also:
Constant Field Values

OLD_VALUE_PROPERTY_NAME

public static final java.lang.String OLD_VALUE_PROPERTY_NAME
The name of the property in the profile update item that holds the old value

See Also:
Constant Field Values

NEW_VALUE_PROPERTY_NAME

public static final java.lang.String NEW_VALUE_PROPERTY_NAME
The name of the property in the profile update item that holds the new value

See Also:
Constant Field Values

OWNER_PROPERTY_NAME

public static final java.lang.String OWNER_PROPERTY_NAME
The name of the property in the profile update item that holds the owner

See Also:
Constant Field Values

PROPERTY_UPDATE_ITEM_TYPE

public static final java.lang.String PROPERTY_UPDATE_ITEM_TYPE
See Also:
Constant Field Values

mProfileTools

protected atg.userprofiling.ProfileTools mProfileTools
Constructor Detail

PropertyUpdateRecorder

public PropertyUpdateRecorder()
Method Detail

setProfileTools

public void setProfileTools(atg.userprofiling.ProfileTools pProfileTools)
Sets the property ProfileTools.


getProfileTools

public atg.userprofiling.ProfileTools getProfileTools()
Returns:
The value of the property ProfileTools.

populateCustomProperties

protected void populateCustomProperties(atg.repository.MutableRepository pAgentAuditRepository,
                                        atg.repository.MutableRepositoryItem pAuditItem,
                                        atg.agent.events.AgentEvent pAgentEvent)
                                 throws atg.agent.logging.AgentAuditLoggingException
Calls the super method to populate any properties of the base logging item, then calls populatePropertyUpdates

Overrides:
populateCustomProperties in class atg.agent.logging.ConfigurableAgentAuditRecorder
Throws:
atg.agent.logging.AgentAuditLoggingException

populatePropertyUpdates

protected void populatePropertyUpdates(atg.repository.MutableRepository pAgentAuditRepository,
                                       atg.repository.MutableRepositoryItem pAuditItem,
                                       PropertyUpdateEvent pAgentEvent)
                                throws atg.agent.logging.AgentAuditLoggingException
Throws:
atg.agent.logging.AgentAuditLoggingException