Interface BaseLogEntryProvider
-
- All Known Implementing Classes:
LogEntryProvider
,MongoDBAuditBackend.MongoDBLogEntryProvider
public interface BaseLogEntryProvider
Minimal interface extracted to be able to share some code inside theAbstractAuditBackend
- Author:
- tiry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description void
addLogEntry(LogEntry entry)
default List<LogEntry>
getLogEntriesFor(String uuid)
Deprecated.since 8.4, usegetLogEntriesFor(String, String)
instead.default List<LogEntry>
getLogEntriesFor(String uuid, String repositoryId)
Deprecated.since 9.3, useAuditBackend
APIs instead.default List<LogEntry>
getLogEntriesFor(String uuid, Map<String,FilterMapEntry> filterMap, boolean doDefaultSort)
Deprecated.since 8.4int
removeEntries(String eventId, String pathPattern)
-
-
-
Method Detail
-
addLogEntry
void addLogEntry(LogEntry entry)
-
getLogEntriesFor
@Deprecated default List<LogEntry> getLogEntriesFor(String uuid, String repositoryId)
Deprecated.since 9.3, useAuditBackend
APIs instead.Returns the logs given a doc uuid and a repository id.- Parameters:
uuid
- the document uuidrepositoryId
- the repository id- Returns:
- a list of log entries
- Since:
- 8.4
-
getLogEntriesFor
@Deprecated default List<LogEntry> getLogEntriesFor(String uuid)
Deprecated.since 8.4, usegetLogEntriesFor(String, String)
instead.Returns the logs given a doc uuid.- Parameters:
uuid
- the document uuid- Returns:
- a list of log entries
- Since:
- 8.4
-
getLogEntriesFor
@Deprecated default List<LogEntry> getLogEntriesFor(String uuid, Map<String,FilterMapEntry> filterMap, boolean doDefaultSort)
Deprecated.since 8.4Returns the logs given a doc uuid, a map of filters and a default sort.- Parameters:
uuid
- the document uuidfilterMap
- the map of filters to applydoDefaultSort
- the default sort to set- Returns:
- a list of log entries
- Since:
- 8.4
-
-