Class UserLogHome
- java.lang.Object
-
- fr.paris.lutece.portal.business.user.log.UserLogHome
-
public final class UserLogHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for UserLog objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddUserLog(UserLog userLog)Insert a new record in the table of connectionsstatic intgetLoginErrors(UserLog userLog, int nIntervalMinutes)Calculate the number of connections with a given ip_address by a determinate time
-
-
-
Method Detail
-
addUserLog
public static void addUserLog(UserLog userLog)
Insert a new record in the table of connections- Parameters:
userLog- the UserLog object
-
getLoginErrors
public static int getLoginErrors(UserLog userLog, int nIntervalMinutes)
Calculate the number of connections with a given ip_address by a determinate time- Parameters:
userLog- the UserLog objectnIntervalMinutes- The number of minutes of properties file- Returns:
- int the count of errors of login
-
-