Class TrackAbstract

    • 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 id
      java.sql.Timestamp getTimestamp()
      Return the timestamp of the event
      java.lang.String getUserName()
      Return the user name
      void 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
    • Field Detail

      • userName

        protected java.lang.String userName
      • sessionIdentifier

        protected java.lang.String sessionIdentifier
      • timestamp

        protected java.sql.Timestamp timestamp
    • Constructor Detail

      • TrackAbstract

        public TrackAbstract()
    • 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
        Specified by:
        store in interface Track
        Parameters:
        con - database connection
      • 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