atg.reporting.datacollection
Class UserEventLogEntry

java.lang.Object
  extended by atg.reporting.datacollection.LogEntry
      extended by atg.reporting.datacollection.SessionScopedLogEntry
          extended by atg.reporting.datacollection.UserEventLogEntry

public class UserEventLogEntry
extends SessionScopedLogEntry


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
UserEventLogEntry(java.lang.Long pId, long pTimestamp, java.lang.String pSessionId, boolean pMember, java.lang.Integer pEventType, java.lang.String pProfileId)
          Constructs a UserEventLogEntry
UserEventLogEntry(java.lang.Long pId, java.lang.String pSessionId, boolean pMember, java.lang.Integer pEventType, java.lang.String pProfileId)
          Constructs a UserEventLogEntry and time stamps it with the current time.
 
Method Summary
 java.lang.Integer getEventType()
          Returns property EventType
 java.lang.String getProfileId()
          Returns property ProfileId
 void setEventType(java.lang.Integer pEventType)
          Sets property EventType
 void setProfileId(java.lang.String pProfileId)
          Sets property ProfileId
 java.lang.String toString()
          Returns String representation of the log entry
 
Methods inherited from class atg.reporting.datacollection.SessionScopedLogEntry
getMemberAsDBValue, getSessionId, isMember, setMember, setSessionId
 
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

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

UserEventLogEntry

public UserEventLogEntry(java.lang.Long pId,
                         long pTimestamp,
                         java.lang.String pSessionId,
                         boolean pMember,
                         java.lang.Integer pEventType,
                         java.lang.String pProfileId)
Constructs a UserEventLogEntry

Parameters:
pId - the sql table id of the event
pTimestamp - the time of the event
pSessionId - the dynamo session id
pMember - true if the action is coming from a "member"
pEventType - the id of the event type
pProfileId - the profile id of the user causing the event

UserEventLogEntry

public UserEventLogEntry(java.lang.Long pId,
                         java.lang.String pSessionId,
                         boolean pMember,
                         java.lang.Integer pEventType,
                         java.lang.String pProfileId)
Constructs a UserEventLogEntry and time stamps it with the current time.

Parameters:
pId - the sql table id of the event
pTimestamp - the time of the event
pSessionId - the dynamo session id
pMember - true if the action is coming from a "member"
pEventType - the id of the event type
pProfileId - the profile id of the user causing the event
Method Detail

setEventType

public void setEventType(java.lang.Integer pEventType)
Sets property EventType


getEventType

public java.lang.Integer getEventType()
Returns property EventType


setProfileId

public void setProfileId(java.lang.String pProfileId)
Sets property ProfileId


getProfileId

public java.lang.String getProfileId()
Returns property ProfileId


toString

public java.lang.String toString()
Returns String representation of the log entry

Overrides:
toString in class atg.reporting.datacollection.LogEntry