Interface IUserLogDAO

All Known Implementing Classes:
UserLogDAO

public interface IUserLogDAO
Author:
lenaini
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    insertLog(UserLog userLog)
    Insert a new record in the table of connections
    int
    selectLoginErrors(UserLog userLog, int nIntervalMinutes)
    Calculate the number of connections with a given ip_address by a determinate time
  • Method Details

    • insertLog

      void insertLog(UserLog userLog)
      Insert a new record in the table of connections
      Parameters:
      userLog - the UserLog Object
    • selectLoginErrors

      int selectLoginErrors(UserLog userLog, int nIntervalMinutes)
      Calculate the number of connections with a given ip_address by a determinate time
      Parameters:
      userLog - The Log of connection
      nIntervalMinutes - The number of minutes since the last connection
      Returns:
      int