getEventsInAuditLog

abstract suspend fun getEventsInAuditLog(context: C, id: ModelID<Any>? = null, after: Instant = Instant.DISTANT_PAST, before: Instant = Instant.DISTANT_FUTURE): Iterable<AuditEntry>

Gets all possible events that are not tied to any specific model instance for a certain actor.

Return

a list of events

Parameters

actor

the actor on whose behalf this operation occurs

clazz

if provided, only void events for state machines that corresponds to that class is returned.

assumeWriteMode

will return events even if the system is currently in read-only mode (e.g. during snapshot)