Package org.nuxeo.ecm.platform.audit.api
Interface AuditLogger
- All Known Subinterfaces:
AuditBackend
,Logs
,LogsRemote
- All Known Implementing Classes:
AbstractAuditBackend
,DefaultAuditBackend
,ESAuditBackend
,MongoDBAuditBackend
public interface AuditLogger
Interface for adding audit logs.
- Author:
- tiry
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLogEntries
(List<LogEntry> entries) Adds given log entries.boolean
buildEntryFromEvent
(Event event) Returns a log entry representation of an event.Returns the list of auditable event names.void
Deprecated.since 10.10, audit event is now handled with nuxeo-stream, if you want to log events, contribute to NXAuditEventsService#event extension pointvoid
logEvents
(EventBundle eventBundle) Deprecated.since 10.10, audit event is now handled with nuxeo-stream, if you want to log events, contribute to NXAuditEventsService#event extension pointnewExtendedInfo
(Serializable value) Create a new ExtendedInfo instanceCreate a new LogEntry instance.
-
Method Details
-
getAuditableEventNames
Returns the list of auditable event names.- Returns:
- list of String representing event names.
-
newLogEntry
LogEntry newLogEntry()Create a new LogEntry instance. -
newExtendedInfo
Create a new ExtendedInfo instance -
addLogEntries
Adds given log entries.- Parameters:
entries
- the list of log entries.
-
logEvent
Deprecated.since 10.10, audit event is now handled with nuxeo-stream, if you want to log events, contribute to NXAuditEventsService#event extension pointLogs an Event. -
logEvents
Deprecated.since 10.10, audit event is now handled with nuxeo-stream, if you want to log events, contribute to NXAuditEventsService#event extension pointLogs a bundle of events -
await
- Throws:
InterruptedException
- Since:
- 8.2
-
buildEntryFromEvent
Returns a log entry representation of an event.- Since:
- 9.3
-