Interface AuditBackend<L extends LogEntry>
- Type Parameters:
L
- to give the log entry type for the newAuditBackend
interface that defines a new entry type.
- All Superinterfaces:
AuditAdmin
,AuditLogger<L>
,AuditReader<L>
,Logs<L>
- All Known Subinterfaces:
AuditBackend
- All Known Implementing Classes:
AbstractAuditBackend
,AbstractAuditBackend
,DefaultAuditBackend
,MemAuditBackend
,MongoDBAuditBackend
,OpenSearchAuditBackend
,SQLAuditBackend
@Deprecated(since="2025.0",
forRemoval=true)
public interface AuditBackend<L extends LogEntry>
extends Logs<L>
Deprecated, for removal: This API element is subject to removal in a future version.
Audit Backend SPI
- Author:
- tiry
-
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated, for removal: This API element is subject to removal in a future version.since 2025.0, not needed since introduction ofAuditBackendFactory
void
Deprecated, for removal: This API element is subject to removal in a future version.since 2025.0, not needed since introduction ofAuditBackendFactory
void
Deprecated, for removal: This API element is subject to removal in a future version.since 2025.0, not needed since introduction ofAuditBackendFactory
void
restore
(AuditStorage auditStorage, int batchSize, int keepAlive) Deprecated, for removal: This API element is subject to removal in a future version.Restore the backend from the givenAuditStorage
Methods inherited from interface org.nuxeo.ecm.platform.audit.api.AuditAdmin
getEventsCount, syncLogCreationEntries
Methods inherited from interface org.nuxeo.ecm.platform.audit.api.AuditLogger
addLogEntries, await, buildEntryFromEvent, getAuditableEventNames, newExtendedInfo, newLogEntry
Methods inherited from interface org.nuxeo.ecm.platform.audit.api.AuditReader
getLatestLogId, getLogEntriesAfter, getLogEntriesFor, getLogEntryByID, nativeQuery, nativeQuery, nativeQueryLogs, queryLogs, queryLogs, queryLogsByPage, queryLogsByPage, queryLogsByPage, queryLogsByPage
-
Method Details
-
getApplicationStartedOrder
Deprecated, for removal: This API element is subject to removal in a future version.since 2025.0, not needed since introduction ofAuditBackendFactory
-
onApplicationStarted
Deprecated, for removal: This API element is subject to removal in a future version.since 2025.0, not needed since introduction ofAuditBackendFactory
-
onApplicationStopped
Deprecated, for removal: This API element is subject to removal in a future version.since 2025.0, not needed since introduction ofAuditBackendFactory
- Since:
- 9.2
-
restore
Deprecated, for removal: This API element is subject to removal in a future version.Restore the backend from the givenAuditStorage
- Parameters:
auditStorage
- the audit storagebatchSize
- the batch sizekeepAlive
- the keep alive duration- Since:
- 9.3
-
AuditBackend
instead