public class ContentViewedLoggingService extends atg.reporting.datacollection.IdGeneratorLoggingService implements ContentViewedLogging
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
mDataListeners
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
ContentViewedLoggingService()
Constructs an instanceof ContentViewedLoggingService
|
Modifier and Type | Method and Description |
---|---|
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
|
doStartService, getIdBurnFactor, getIdGenerator, getIdSource, getIdSpace, isEnableLogging, nextId, setEnableLogging, setIdBurnFactor, setIdGenerator, setIdSource, setIdSpace
addDataListener, getDataListenerCount, getDataListeners, removeDataListener, sendDataItem
addLogListener, createAdminServlet, 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
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public ContentViewedLoggingService()
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