Package com.io7m.idstore.database.api
Interface IdDatabaseAuditQueriesType
- All Superinterfaces:
IdDatabaseQueriesType
The database queries involving the audit log.
-
Method Summary
Modifier and TypeMethodDescriptionauditEventsSearch
(IdAuditSearchParameters parameters) Retrieve all audit events from the database matching the given parameters.void
Create an audit event.
-
Method Details
-
auditEventsSearch
IdDatabaseAuditEventsSearchType auditEventsSearch(IdAuditSearchParameters parameters) throws IdDatabaseException Retrieve all audit events from the database matching the given parameters.- Parameters:
parameters
- The search parameters- Returns:
- A series of audit events, sorted by time
- Throws:
IdDatabaseException
- On errors
-
auditPut
void auditPut(UUID userId, OffsetDateTime time, String type, Map<String, String> data) throws IdDatabaseExceptionCreate an audit event.- Parameters:
userId
- The user ID of the eventtime
- The event timetype
- The event typedata
- The event data- Throws:
IdDatabaseException
- On errors
-