Package org.intermine.api.tracker.track
Class TrackAbstract
- java.lang.Object
-
- org.intermine.api.tracker.track.TrackAbstract
-
- All Implemented Interfaces:
Track
- Direct Known Subclasses:
KeySearchTrack
,ListTrack
,LoginTrack
,QueryTrack
,TemplateTrack
public abstract class TrackAbstract extends java.lang.Object implements Track
Class representing the track- Author:
- dbutano
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
sessionIdentifier
protected java.sql.Timestamp
timestamp
protected java.lang.String
userName
-
Constructor Summary
Constructors Constructor Description TrackAbstract()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getSessionIdentifier()
Return the session idjava.sql.Timestamp
getTimestamp()
Return the timestamp of the eventjava.lang.String
getUserName()
Return the user namevoid
store(java.sql.Connection con)
Save into the table the track object representing the user activity-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.intermine.api.tracker.track.Track
getFormattedTrack, getTableName, validate
-
-
-
-
Method Detail
-
store
public void store(java.sql.Connection con)
Description copied from interface:Track
Save into the table the track object representing the user activity
-
getTimestamp
public java.sql.Timestamp getTimestamp()
Return the timestamp of the event- Returns:
- Timestamp the timestamp
-
getUserName
public java.lang.String getUserName()
Return the user name- Returns:
- String user name
-
getSessionIdentifier
public java.lang.String getSessionIdentifier()
Return the session id- Returns:
- String session id
-
-