|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.reporting.datacollection.LogEntry atg.reporting.datacollection.ContentViewedLogEntry
public class ContentViewedLogEntry
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 |
Methods inherited from class atg.reporting.datacollection.LogEntry |
---|
getId, getTimestamp, getTimestampAsDate, setId, setTimestamp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
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 requestedMethod Detail |
---|
public 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |