Package org.intermine.api.tracker
Interface Tracker
-
- All Known Implementing Classes:
AbstractTracker
,KeySearchTracker
,ListTracker
,LoginTracker
,QueryTracker
,TemplateTracker
public interface Tracker
Interface to represent a Tracker, an object tracking the users activities in the webapp into the database- Author:
- dbutano
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
createTrackerTable(java.sql.Connection con)
Create the table where the tracker saves datajava.lang.String
getName()
Return the tracker's namevoid
storeTrack(Track track)
Save into the table a Track
-
-
-
Method Detail
-
createTrackerTable
void createTrackerTable(java.sql.Connection con) throws java.lang.Exception
Create the table where the tracker saves data- Parameters:
con
- database connection- Throws:
java.lang.Exception
- when a database error access is verified
-
storeTrack
void storeTrack(Track track)
Save into the table a Track- Parameters:
track
- the object saved into the database representing the user activity
-
getName
java.lang.String getName()
Return the tracker's name- Returns:
- String representing the tracker's name
-
-