public class JpaEventQuery extends Object implements EventQuery
| Constructor and Description |
|---|
JpaEventQuery(javax.persistence.EntityManager em) |
| Modifier and Type | Method and Description |
|---|---|
EventQuery |
client(String clientId) |
EventQuery |
firstResult(int firstResult) |
EventQuery |
fromDate(Date fromDate) |
List<Event> |
getResultList() |
EventQuery |
ipAddress(String ipAddress) |
EventQuery |
maxResults(int maxResults) |
EventQuery |
realm(String realmId) |
EventQuery |
toDate(Date toDate) |
EventQuery |
type(EventType... types) |
EventQuery |
user(String userId) |
public EventQuery type(EventType... types)
type in interface EventQuerypublic EventQuery realm(String realmId)
realm in interface EventQuerypublic EventQuery client(String clientId)
client in interface EventQuerypublic EventQuery user(String userId)
user in interface EventQuerypublic EventQuery fromDate(Date fromDate)
fromDate in interface EventQuerypublic EventQuery toDate(Date toDate)
toDate in interface EventQuerypublic EventQuery ipAddress(String ipAddress)
ipAddress in interface EventQuerypublic EventQuery firstResult(int firstResult)
firstResult in interface EventQuerypublic EventQuery maxResults(int maxResults)
maxResults in interface EventQuerypublic List<Event> getResultList()
getResultList in interface EventQueryCopyright © 2016 JBoss by Red Hat. All rights reserved.