|
|||||||||
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.ContentViewedLoggingService
public class ContentViewedLoggingService
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
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 | |
---|---|
ContentViewedLoggingService()
Constructs an instanceof ContentViewedLoggingService |
Method Summary | |
---|---|
int |
getMaxLengthContentName()
Returns property MaxLengthContentName |
long |
getTotalItemCount()
Returns property TotalItemCount |
boolean |
isEnableContentNameTruncation()
Returns property EnableContentNameTruncation |
java.lang.Long |
logContentViewed(java.lang.Long pRequestId,
java.lang.String pContentId,
boolean pMember)
Generates a log entry indicating that a piece of content was viewed |
void |
setEnableContentNameTruncation(boolean pEnableContentNameTruncation)
Sets property EnableContentNameTruncation |
void |
setMaxLengthContentName(int pMaxLengthContentName)
Sets property MaxLengthContentName |
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
Constructor Detail |
---|
public ContentViewedLoggingService()
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 logContentViewed(java.lang.Long pRequestId, java.lang.String pContentId, boolean pMember) throws atg.reporting.datacollection.LoggingException
logContentViewed
in interface ContentViewedLogging
pRequestId
- the id of the request when this content was viewedpContentId
- the id of the content viewedpMember
- true if the action is coming from a "member"
LoggingException
- if there was a problem while performing the log operationRequestLogging
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |