Package org.intermine.api.tracker.track
Interface Track
-
- All Known Implementing Classes:
KeySearchTrack
,ListTrack
,LoginTrack
,QueryTrack
,TemplateTrack
,TrackAbstract
public interface Track
Class representing the track- Author:
- dbutano
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object[]
getFormattedTrack()
Return the track formatted into an array of String to be saved in the databasejava.lang.String
getTableName()
Return the table name where the track has to be savedvoid
store(java.sql.Connection con)
Save into the table the track object representing the user activityboolean
validate()
Validate the track before saving into the database
-
-
-
Method Detail
-
validate
boolean validate()
Validate the track before saving into the database- Returns:
- true if the track is valid
-
getFormattedTrack
java.lang.Object[] getFormattedTrack()
Return the track formatted into an array of String to be saved in the database- Returns:
- Object[] an array of Objects
-
store
void store(java.sql.Connection con)
Save into the table the track object representing the user activity- Parameters:
con
- database connection
-
getTableName
java.lang.String getTableName()
Return the table name where the track has to be saved- Returns:
- String the table name
-
-