public interface AdminEventQuery
| Modifier and Type | Method and Description |
|---|---|
AdminEventQuery |
authClient(String clientId)
Search by authenticated client
|
AdminEventQuery |
authIpAddress(String ipAddress)
Search by request ip address
|
AdminEventQuery |
authRealm(String realmId)
Search by authentication realm
|
AdminEventQuery |
authUser(String userId)
Search by authenticated user
|
AdminEventQuery |
firstResult(int first)
Used for pagination
|
AdminEventQuery |
fromTime(Date fromTime)
Search by events after the specified time
|
default List<AdminEvent> |
getResultList()
Deprecated.
Use
getResultStream instead. |
Stream<AdminEvent> |
getResultStream()
Executes the query and returns the results as a stream.
|
AdminEventQuery |
maxResults(int max)
Use for pagination
|
AdminEventQuery |
operation(OperationType... operations)
Search by operation type
|
AdminEventQuery |
realm(String realmId)
Search by resource realm
|
AdminEventQuery |
resourcePath(String resourcePath)
Search by resource path.
|
AdminEventQuery |
resourceType(ResourceType... resourceTypes)
Search by
ResourceType. |
AdminEventQuery |
toTime(Date toTime)
Search by events before the specified time
|
AdminEventQuery realm(String realmId)
realmId - realm idAdminEventQuery for method chainingAdminEventQuery authRealm(String realmId)
realmId - realm nameAdminEventQuery for method chainingAdminEventQuery authClient(String clientId)
clientId - client uuidAdminEventQuery for method chainingAdminEventQuery authUser(String userId)
userId - user uuidAdminEventQuery for method chainingAdminEventQuery authIpAddress(String ipAddress)
ipAddress - AdminEventQuery for method chainingAdminEventQuery operation(OperationType... operations)
operations - this for method chainingAdminEventQuery resourceType(ResourceType... resourceTypes)
ResourceType.resourceTypes - this for method chainingAdminEventQuery resourcePath(String resourcePath)
*. For example:
resourcePath - this for method chainingAdminEventQuery fromTime(Date fromTime)
fromTime - from datethis for method chainingAdminEventQuery toTime(Date toTime)
toTime - to datethis for method chainingAdminEventQuery firstResult(int first)
first - first result to returnthis for method chainingAdminEventQuery maxResults(int max)
max - the maximum results to returnthis for method chaining@Deprecated default List<AdminEvent> getResultList()
getResultStream instead.Stream<AdminEvent> getResultStream()
null.Copyright © 2021 JBoss by Red Hat. All rights reserved.