[KEYCLOAK-1050] - Improve filtering in Event viewer in admin app.

This commit is contained in:
girirajsharma authored and Stian Thorgersen committed 2015-03-09 11:47:08 +01:00
1 parent 6874933724
commit ce33ce2485
8 files changed
+249 -17

No files matched your search

@@ -17,6 +17,10 @@ public class Event {
private String clientId;
private String userId;
private long fromDate;
private long toDate;
private String sessionId;
@@ -58,6 +62,22 @@ public class Event {
this.clientId = clientId;
}
public long getFromDate() {
return fromDate;
}
public void setFromDate(long fromDate) {
this.fromDate = fromDate;
}
public long getToDate() {
return toDate;
}
public void setToDate(long toDate) {
this.toDate = toDate;
}
public String getUserId() {
return userId;
}
@@ -105,6 +125,8 @@ public class Event {
clone.realmId = realmId;
clone.clientId = clientId;
clone.userId = userId;
clone.fromDate = fromDate;
clone.toDate = toDate;
clone.sessionId = sessionId;
clone.ipAddress = ipAddress;
clone.error = error;
@@ -15,6 +15,12 @@ public interface EventQuery {
public EventQuery user(String userId);
public EventQuery dateRange(String fromDate, String toDate);
public EventQuery fromDate(String fromDate);
public EventQuery toDate(String toDate);
public EventQuery ipAddress(String ipAddress);
public EventQuery firstResult(int result);