public interface LoginHistoryStorage
| Modifier and Type | Method and Description |
|---|---|
void |
addLoginHistoryEntry(String userId,
long loginTime) |
long |
getBeforeLastLogin(String userId) |
long |
getLastLogin(String userId) |
List<LastLoginBean> |
getLastLogins(int numLogins,
String userIdFilter) |
Set<String> |
getLastUsersLogin(long fromTime) |
List<LoginCounterBean> |
getLoginCountPerDaysInWeek(String userId,
long week) |
List<LoginCounterBean> |
getLoginCountPerMonthsInYear(String userId,
long year) |
List<LoginCounterBean> |
getLoginCountPerWeeksInMonths(String userId,
long fromMonth,
int numOfMonths) |
List<LoginHistoryBean> |
getLoginHistory(String userId,
long fromTime,
long toTime) |
static final String ALL_USERS
List<LastLoginBean> getLastLogins(int numLogins, String userIdFilter) throws Exception
Exceptionvoid addLoginHistoryEntry(String userId, long loginTime) throws Exception
ExceptionList<LoginHistoryBean> getLoginHistory(String userId, long fromTime, long toTime) throws Exception
ExceptionList<LoginCounterBean> getLoginCountPerDaysInWeek(String userId, long week) throws Exception
ExceptionList<LoginCounterBean> getLoginCountPerWeeksInMonths(String userId, long fromMonth, int numOfMonths) throws Exception
ExceptionList<LoginCounterBean> getLoginCountPerMonthsInYear(String userId, long year) throws Exception
ExceptionCopyright © 2003–2020 eXo Platform SAS. All rights reserved.