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 AuditLoggerInterface for adding audit logs.- Author:
- tiry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidaddLogEntries(List<LogEntry> entries)Adds given log entries.booleanawait(long time, TimeUnit unit)LogEntrybuildEntryFromEvent(Event event)Returns a log entry representation of an event.Set<String>getAuditableEventNames()Returns the list of auditable event names.voidlogEvent(Event event)Deprecated.since 10.10, audit event is now handled with nuxeo-stream, if you want to log events, contribute to NXAuditEventsService#event extension pointvoidlogEvents(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 pointExtendedInfonewExtendedInfo(Serializable value)Create a new ExtendedInfo instanceLogEntrynewLogEntry()Create a new LogEntry instance.
-
-
-
Method Detail
-
getAuditableEventNames
Set<String> getAuditableEventNames()
Returns the list of auditable event names.- Returns:
- list of String representing event names.
-
newLogEntry
LogEntry newLogEntry()
Create a new LogEntry instance.
-
newExtendedInfo
ExtendedInfo newExtendedInfo(Serializable value)
Create a new ExtendedInfo instance
-
addLogEntries
void addLogEntries(List<LogEntry> entries)
Adds given log entries.- Parameters:
entries- the list of log entries.
-
logEvent
@Deprecated void logEvent(Event event)
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 void 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 pointLogs a bundle of events
-
await
boolean await(long time, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException- Since:
- 8.2
-
-