org.exoplatform.platform.gadget.services.LoginHistory
Interface LoginHistoryService

All Known Implementing Classes:
LoginHistoryServiceImpl

public interface LoginHistoryService

Created by The eXo Platform SARL Author : Tung Vu Minh tungvm@exoplatform.com Apr 21, 2011 6:19:21 PM


Field Summary
static String ALL_USERS
           
 
Method Summary
 void addLoginHistoryEntry(String userId, long loginTime)
           
 long getLastLogin(String userId)
           
 List<LastLoginBean> getLastLogins(int numLogins, String userIdFilter)
           
 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)
           
 

Field Detail

ALL_USERS

static final String ALL_USERS
See Also:
Constant Field Values
Method Detail

getLastLogin

long getLastLogin(String userId)
                  throws Exception
Throws:
Exception

getLastLogins

List<LastLoginBean> getLastLogins(int numLogins,
                                  String userIdFilter)
                                  throws Exception
Throws:
Exception

addLoginHistoryEntry

void addLoginHistoryEntry(String userId,
                          long loginTime)
                          throws Exception
Throws:
Exception

getLoginHistory

List<LoginHistoryBean> getLoginHistory(String userId,
                                       long fromTime,
                                       long toTime)
                                       throws Exception
Throws:
Exception

getLoginCountPerDaysInWeek

List<LoginCounterBean> getLoginCountPerDaysInWeek(String userId,
                                                  long week)
                                                  throws Exception
Throws:
Exception

getLoginCountPerWeeksInMonths

List<LoginCounterBean> getLoginCountPerWeeksInMonths(String userId,
                                                     long fromMonth,
                                                     int numOfMonths)
                                                     throws Exception
Throws:
Exception

getLoginCountPerMonthsInYear

List<LoginCounterBean> getLoginCountPerMonthsInYear(String userId,
                                                    long year)
                                                    throws Exception
Throws:
Exception


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.