atg.commerce.csr.ticketing
Class TicketingPropertyUpdateRecorder

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.commerce.csr.ticketing.TicketingActivityRecorder
              extended by atg.commerce.csr.ticketing.TicketingPropertyUpdateRecorder
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, java.util.EventListener

public class TicketingPropertyUpdateRecorder
extends TicketingActivityRecorder

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


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
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 UPDATE_TYPE_PROPERT_NAME
          The name of the property in the property update item descriptor that holds the updated 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.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
TicketingPropertyUpdateRecorder()
           
 
Method Summary
protected  void populateCustomProperties(atg.repository.MutableRepository pTicketingRepository, atg.repository.MutableRepositoryItem pActivityItem, 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 pTicketingRepository, atg.repository.MutableRepositoryItem pActivityItem, atg.agent.events.AgentEvent pAgentEvent)
           
 
Methods inherited from class atg.commerce.csr.ticketing.TicketingActivityRecorder
addHeading, associateOrder, createActivityItem, getApplicationName, getCSRAgentTools, getCustomProperties, getHeadingPropertyName, getInternalProfileRepository, getOrderItemDescriptorName, getOrderRepository, getOrdersPropertyName, getTicketingManager, getUserItemDescriptorName, isSaveTransientOrderActivities, logEvent, setApplicationName, setCSRAgentTools, setCustomProperties, setHeadingPropertyName, setInternalProfileRepository, setOrderItemDescriptorName, setOrderRepository, setOrdersPropertyName, setSaveTransientOrderActivities, setTicketingManager, setUserItemDescriptorName, shouldSaveTicket
 
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

UPDATE_TYPE_PROPERT_NAME

public static final java.lang.String UPDATE_TYPE_PROPERT_NAME
The name of the property in the property update item descriptor that holds the updated type

See Also:
Constant Field Values

PROPERTY_UPDATE_ITEM_TYPE

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

TicketingPropertyUpdateRecorder

public TicketingPropertyUpdateRecorder()
Method Detail

populateCustomProperties

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

Overrides:
populateCustomProperties in class TicketingActivityRecorder
Throws:
atg.ticketing.TicketingException

populatePropertyUpdates

protected void populatePropertyUpdates(atg.repository.MutableRepository pTicketingRepository,
                                       atg.repository.MutableRepositoryItem pActivityItem,
                                       atg.agent.events.AgentEvent pAgentEvent)
                                throws atg.ticketing.TicketingException
Throws:
atg.ticketing.TicketingException