Class UserLogDAO
java.lang.Object
fr.paris.lutece.portal.business.user.log.UserLogDAO
- All Implemented Interfaces:
IUserLogDAO
This class provides Data Access methods for AppUser objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInsert a new record in the table of connectionsintselectLoginErrors(UserLog userLog, int nIntervalMinutes) Calculate the number of connections with a given ip_address by a determinate time
-
Constructor Details
-
UserLogDAO
public UserLogDAO()
-
-
Method Details
-
selectLoginErrors
Calculate the number of connections with a given ip_address by a determinate time- Specified by:
selectLoginErrorsin interfaceIUserLogDAO- Parameters:
userLog- The Log of connectionnIntervalMinutes- The number of minutes since the last connection- Returns:
- int
-
insertLog
Insert a new record in the table of connections- Specified by:
insertLogin interfaceIUserLogDAO- Parameters:
userLog- the UserLog Object
-