|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.service.datacollection.GenericDataListenerService atg.reporting.datacollection.IdGeneratorLoggingService atg.reporting.datacollection.RequestLoggingService
public class RequestLoggingService
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
static java.lang.String |
REQUEST_ID_ATTRIBUTE_KEY
|
Fields inherited from class atg.service.datacollection.GenericDataListenerService |
---|
mDataListeners |
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 | |
---|---|
RequestLoggingService()
Constructs an instanceof RequestLoggingService |
Method Summary | |
---|---|
int |
getMaxLengthContentName()
Returns property MaxLengthContentName |
java.lang.Long |
getRequestId(javax.servlet.http.HttpServletRequest pRequest)
Returns the request id associated with this request. |
long |
getTotalItemCount()
Returns property TotalItemCount |
boolean |
isEnableContentNameTruncation()
Returns property EnableContentNameTruncation |
java.lang.Long |
logRequest(java.lang.String pSessionId,
java.lang.String pRequestName,
boolean pMember)
Generates a log entry about a request |
void |
setEnableContentNameTruncation(boolean pEnableContentNameTruncation)
Sets property EnableContentNameTruncation |
void |
setMaxLengthContentName(int pMaxLengthContentName)
Sets property MaxLengthContentName |
void |
setRequestId(java.lang.Long pRequestId,
javax.servlet.http.HttpServletRequest pRequest)
Stores the request id associated with this request. |
Methods inherited from class atg.reporting.datacollection.IdGeneratorLoggingService |
---|
doStartService, getIdBurnFactor, getIdGenerator, getIdSource, getIdSpace, isEnableLogging, nextId, setEnableLogging, setIdBurnFactor, setIdGenerator, setIdSource, setIdSpace |
Methods inherited from class atg.service.datacollection.GenericDataListenerService |
---|
addDataListener, getDataListenerCount, getDataListeners, removeDataListener, sendDataItem |
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 java.lang.String CLASS_VERSION
public static final java.lang.String REQUEST_ID_ATTRIBUTE_KEY
Constructor Detail |
---|
public RequestLoggingService()
Method Detail |
---|
public void setEnableContentNameTruncation(boolean pEnableContentNameTruncation)
public boolean isEnableContentNameTruncation()
public void setMaxLengthContentName(int pMaxLengthContentName)
public int getMaxLengthContentName()
public long getTotalItemCount()
public java.lang.Long logRequest(java.lang.String pSessionId, java.lang.String pRequestName, boolean pMember) throws atg.reporting.datacollection.LoggingException
logRequest
in interface RequestLogging
pSessionId
- the id of the new sessionpRequestName
- the "name" of the request (e.g. the URI of a HTTP Request)pMember
- true if the request is coming from a "member"
LoggingException
- if there was a problem while performing the log operationpublic java.lang.Long getRequestId(javax.servlet.http.HttpServletRequest pRequest) throws atg.reporting.datacollection.LoggingException
getRequestId
in interface RequestLogging
pRequest
- the request object associated with the current user
LoggingException
- if there was a problem while performing the log operationContentViewedLogging.logContentViewed
public void setRequestId(java.lang.Long pRequestId, javax.servlet.http.HttpServletRequest pRequest) throws atg.reporting.datacollection.LoggingException
setRequestId
in interface RequestLogging
pRequestId
- the request idpRequest
- the request object associated with the current user
LoggingException
- if there was a problem while performing the log operationContentViewedLogging.logContentViewed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |