fr.paris.lutece.portal.business.user.log
Interface IUserLogDAO

All Known Implementing Classes:
UserLogDAO

public interface IUserLogDAO

Author:
lenaini

Method Summary
 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 Detail

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


Copyright © 2009 Mairie de Paris. All Rights Reserved.