public class ContentViewedLogEntry
extends atg.reporting.datacollection.LogEntry
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
ContentViewedLogEntry(java.lang.Long pId,
long pTimestamp,
java.lang.Long pRequestId,
java.lang.String pContentId,
boolean pMember)
Constructs a ContentViewedLogEntry
|
ContentViewedLogEntry(java.lang.Long pId,
java.lang.Long pRequestId,
java.lang.String pContentId,
boolean pMember)
Constructs a ContentViewedLogEntry and time stamps it with the current time.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentId()
Returns property ContentId
|
int |
getMemberAsDBValue()
Returns property the value of the property
member
as a useable value in a database. |
java.lang.Long |
getRequestId()
Returns property RequestId
|
boolean |
isMember()
Returns property Member
|
void |
setContentId(java.lang.String pContentId)
Sets property ContentId
|
void |
setMember(boolean pMember)
Sets property Member
|
void |
setRequestId(java.lang.Long pRequestId)
Sets property RequestId
|
java.lang.String |
toString()
Returns String representation of the log entry
|
public ContentViewedLogEntry(java.lang.Long pId, long pTimestamp, java.lang.Long pRequestId, java.lang.String pContentId, boolean pMember)
pId
- the sql table id of the eventpTimestamp
- the time of the eventpRequestId
- the id of the request during which this piece of content was viewedpContentId
- the id of the content requestedpublic ContentViewedLogEntry(java.lang.Long pId, java.lang.Long pRequestId, java.lang.String pContentId, boolean pMember)
pId
- the sql table id of the eventpSessionId
- the dynamo session idpRequestId
- the id of the request during which this piece of content was viewedpContentId
- the id of the content requestedpublic void setRequestId(java.lang.Long pRequestId)
public java.lang.Long getRequestId()
public void setContentId(java.lang.String pContentId)
public java.lang.String getContentId()
public void setMember(boolean pMember)
public boolean isMember()
public int getMemberAsDBValue()
member
as a useable value in a database.member
is true, otherwise 0public java.lang.String toString()
toString
in class atg.reporting.datacollection.LogEntry