fr.paris.lutece.portal.business.user.log
Class UserLogDAO

java.lang.Object
  extended by fr.paris.lutece.portal.business.user.log.UserLogDAO
All Implemented Interfaces:
IUserLogDAO

public final class UserLogDAO
extends Object
implements IUserLogDAO

This class provides Data Access methods for AppUser objects


Constructor Summary
UserLogDAO()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserLogDAO

public UserLogDAO()
Method Detail

selectLoginErrors

public int selectLoginErrors(UserLog userLog,
                             int nIntervalMinutes)
Calculate the number of connections with a given ip_address by a determinate time

Specified by:
selectLoginErrors in interface IUserLogDAO
Parameters:
userLog - The Log of connection
nIntervalMinutes - The number of minutes since the last connection
Returns:
int

insertLog

public void insertLog(UserLog userLog)
Insert a new record in the table of connections

Specified by:
insertLog in interface IUserLogDAO
Parameters:
userLog - the UserLog Object


Copyright © 2014 Mairie de Paris. All Rights Reserved.