|
|||||||||
| 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.agent.logging.AgentAuditRecorder
public class AgentAuditRecorder
Base class for creating agent event audit recorders.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
static java.lang.String |
CUSTOMER_PROFILE_ID_PROPERTY_NAME
The name of the property in the audit item that holds the customer profile id |
static java.lang.String |
EVENT_DATE_PROPERTY_NAME
The name of the property in the audit item that holds the event date |
static java.lang.String |
IP_ADDRESS_PROPERTY_NAME
The name of the property in the audit item that holds the ipaddress |
static java.lang.String |
ORGANIZATION_ID_PROPERTY_NAME
The name of the property in the audit item that holds the organization id |
static java.lang.String |
PARENT_SESSION_ID_PROPERTY_NAME
The name of the property in the audit item that holds the parent session id |
static java.lang.String |
PROFILE_ID_PROPERTY_NAME
The name of the property in the audit item that holds the profile id |
static java.lang.String |
SESSION_ID_PROPERTY_NAME
The name of the property in the audit item that holds the session id |
| 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 | |
|---|---|
AgentAuditRecorder()
|
|
| Method Summary | |
|---|---|
void |
addDataItem(java.lang.Object pAgentEvent)
Creates an audit repository item based on the agent event and adds it to the audit repository. |
protected MutableRepositoryItem |
createAgentAuditItem(MutableRepository pAgentAuditRepository,
AgentEvent pAgentEvent)
Creates the mutable audit repository item |
MutableRepository |
getAgentAuditRepository()
|
protected void |
populateBaseProperties(MutableRepository pAgentAuditRepository,
MutableRepositoryItem pAuditItem,
AgentEvent pAgentEvent)
Populates the base properties of the audit repository item from the agent event. |
protected void |
populateCustomProperties(MutableRepository pAgentAuditRepository,
MutableRepositoryItem pAuditItem,
AgentEvent pAgentEvent)
Method that is used to implement handling of custom properties of the audit item. |
void |
setAgentAuditRepository(MutableRepository pAgentAuditRepository)
The repository where the agent audit information is stored |
| 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 |
| Field Detail |
|---|
public static final java.lang.String CLASS_VERSION
public static final java.lang.String PROFILE_ID_PROPERTY_NAME
public static final java.lang.String SESSION_ID_PROPERTY_NAME
public static final java.lang.String PARENT_SESSION_ID_PROPERTY_NAME
public static final java.lang.String CUSTOMER_PROFILE_ID_PROPERTY_NAME
public static final java.lang.String ORGANIZATION_ID_PROPERTY_NAME
public static final java.lang.String IP_ADDRESS_PROPERTY_NAME
public static final java.lang.String EVENT_DATE_PROPERTY_NAME
| Constructor Detail |
|---|
public AgentAuditRecorder()
| Method Detail |
|---|
public void setAgentAuditRepository(MutableRepository pAgentAuditRepository)
pAgentAuditRepository - the repository where the agent audit information is storedpublic MutableRepository getAgentAuditRepository()
protected MutableRepositoryItem createAgentAuditItem(MutableRepository pAgentAuditRepository,
AgentEvent pAgentEvent)
throws RepositoryException
pAgentAuditRepository - the audit repositorypAgentEvent - the agent event the will be recorded in the item
RepositoryException
protected void populateBaseProperties(MutableRepository pAgentAuditRepository,
MutableRepositoryItem pAuditItem,
AgentEvent pAgentEvent)
throws AgentAuditLoggingException
pAuditItem - the audit repository itempAgentEvent - the agent event
AgentAuditLoggingException
protected void populateCustomProperties(MutableRepository pAgentAuditRepository,
MutableRepositoryItem pAuditItem,
AgentEvent pAgentEvent)
throws AgentAuditLoggingException
pAuditItem - pAgentEvent -
AgentAuditLoggingExceptionpublic void addDataItem(java.lang.Object pAgentEvent)
addDataItem in interface DataListenerpAgentAuditRepository - pAgentEvent -
AgentAuditLoggingException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||