|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.platform.gadget.services.LoginHistory.LoginHistoryRestService
public class LoginHistoryRestService
Created by The eXo Platform SARL Author : Tung Vu Minh tungvm@exoplatform.com Apr 21, 2011 6:19:21 PM
| Nested Class Summary | |
|---|---|
class |
LoginHistoryRestService.MessageBean
|
| Field Summary | |
|---|---|
protected LoginHistoryService |
loginHistoryService
|
| Constructor Summary | |
|---|---|
LoginHistoryRestService(LoginHistoryService loginHistoryService)
|
|
| Method Summary | |
|---|---|
javax.ws.rs.core.Response |
lastlogins(int numItems,
String userIdFilter)
Get last {numItems} login history entries REST service URL: /loginhistory/lastlogins/{numItems}/{userIdFilter} |
javax.ws.rs.core.Response |
loginhistory(String userId,
Long fromTime,
Long toTime)
Get user login history REST service URL: /loginhistory/{userId}/{fromTime}/{toTime} |
javax.ws.rs.core.Response |
monthstats(String userId,
String fromMonth,
int numOfMonths)
Get login count statistic in months REST service URL: /loginhistory/monthstats/{userId}/{fromMonth/{numOfMonth}} |
javax.ws.rs.core.Response |
weekstats(String userId,
String week)
Get login count statistic in a week REST service URL: /loginhistory/weekstats/{userId}/{week} |
javax.ws.rs.core.Response |
yearstats(String userId,
String year)
Get login count statistic in a year REST service URL: /loginhistory/yearstats/{userId}/{year} |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final LoginHistoryService loginHistoryService
| Constructor Detail |
|---|
public LoginHistoryRestService(LoginHistoryService loginHistoryService)
| Method Detail |
|---|
public javax.ws.rs.core.Response loginhistory(String userId,
Long fromTime,
Long toTime)
throws Exception
Exception
public javax.ws.rs.core.Response weekstats(String userId,
String week)
throws Exception
Exception
public javax.ws.rs.core.Response monthstats(String userId,
String fromMonth,
int numOfMonths)
throws Exception
Exception
public javax.ws.rs.core.Response yearstats(String userId,
String year)
throws Exception
Exception
public javax.ws.rs.core.Response lastlogins(int numItems,
String userIdFilter)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||